RE: adjkerntz in a jail
Just remove it from the crontab. You don't need it in the jail. Regards, Ruben -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Joshua Groboski Sent: August 04, 2006 3:51 PM To: freebsd-questions@freebsd.org Subject: adjkerntz in a jail Hello, I found your question on freebsd.org: Hello, I'm running apache in a jail on 6.0. Cron is sending me output like: adjkerntz[33405]: sysctl(put_wallclock): Operation not permitted Is this entry needed in a jail's crontab to run adjkerntz and if so what setting do i have to alter on the host system to make it work? Thanks. Dave. I am wondering if you got it answered and if you would share the solution with me. I am not very familiar with jail, but I've taken over a server that is using it. Needless to say, the reason I'm on this quest is to stop the fifty or so emails per day. -- Joshua Groboski Production Manager jWeb New Media Design http://www.jwebmedia.com phone: 636-928-3162 mobile: 314-853-8970 email: [EMAIL PROTECTED] -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.10.5/407 - Release Date: 08/03/2006 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: HELP! Filesystem EMPTY after upgrade from 4.11 to 6.1
Hi Sven, How was the disk labeled originally? Is it possible that /usr/home did not reside on a dedicated slice and when you newfs'd /usr you wiped /usr/home ? Regards, Ruben -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sven Hazejager Sent: June 21, 2006 10:07 PM To: freebsd-questions@freebsd.org; [EMAIL PROTECTED] Subject: HELP! Filesystem EMPTY after upgrade from 4.11 to 6.1 Hi all! I have quite a big problem here I've upgraded my FreeBSD 4.11 to 6.1. Basically, I did a newfs of / and /usr and reinstalled from scratch. That worked. Rebooted in 6.1 single user mode, mounted /, /usr and /usr/home. The latter I did not touch and I need to save that partition. /usr/home had all the files it needed to have. PROBLEM: mount said soft-updates were not set on /usr/home. So I did umount /usr/home, tunefs -n enable /usr/home, mount /usr/home again... EMPTY What has gone wrong? I did fsck (in read-only), no problems, rebooted the system, did tunefs -n disable, still no luck. I really need those files guys... Please help urgently. Many thanks, Sven Hazejager ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.9.2/370 - Release Date: 06/20/2006 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.9.2/370 - Release Date: 06/20/2006 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: hi
Have you configured sendmail yet? Take a look in /var/log/maillog and see what it says. Just as a wild guess I'm assuming you're not running a mailserver on the local machine which means you have to tell sendmail where to submit the messages, you can do this in /etc/mail. Good luck, Ruben -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chezangla, Engineer, DrukNet Sent: April 21, 2006 12:06 PM To: freebsd-questions@freebsd.org Subject: hi I'm using: freeBSD-5.x PHP-5.x Mysql-4.x Apache-2.x I want to use php mail() to send mails using php script. I have configure in /usr/local/etc/php.ini the sendmail_path as sendmail_path=/usr/sbin/sendmail -t -i when i send email, the mail is sent, i.e if(mail()) returns true. But I don't receive the mail at all, at the given receipent address. what could be wrong, any ohter configurations to be made?, plez help me. regd. cheza +++ Get a free DrukNet e-mail account and stay in touch http://www.druknet.bt ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.385 / Virus Database: 268.4.4/320 - Release Date: 04/20/2006 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.385 / Virus Database: 268.4.4/320 - Release Date: 04/20/2006 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: hi
1. read the readme in /etc/mail 2. follow the instructions in /etc/mail/README (hint: it's instruction set 1, the line beginning with: Designate an alternative host for the submission agent to contact...) 3. make sure the mail server you are submitting to accepts relay from your system Good luck, Ruben -Original Message- From: Chezangla, Engineer, DrukNet [mailto:[EMAIL PROTECTED] Sent: April 21, 2006 12:47 PM To: [EMAIL PROTECTED] Subject: Re: hi hi, this is what says the /var/log maillog: Apr 21 18:44:00 tswf sm-mta[1754]: k3LCi0fX001754: from=[EMAIL PROTECTED], size=592, class=0, nrcpts=1, msgid=200604211244.k3LCi0ef0 [EMAIL PROTECTED], proto=ESMTP, daemon=IPv4, relay=localhost.druknet.bt [127.0.0.1] Apr 21 18:44:00 tswf sendmail[1743]: k3LCi0ef001743: to=operator, ctladdr=operator (2/5), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=3 0295, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (k3LCi0fX001754 Message accepted for delivery) Apr 21 18:44:00 tswf sm-mta[1755]: k3LCi0fX001754: to=root, ctladdr=[EMAIL PROTECTED] (2/5), delay=00:00:00, xdelay=00:00:00, mailer= as us said yes m not running mailserver on the local machine. so to tell sendmail submit the message to my mail server, which file in /etc/mail should i modify or how to modify, plez give me the whole steps please. I have spent lot of time trying to figure out what is wrong , but couldn't, so ur help at this stage is highly appreciated. che. On Fri, 21 Apr 2006 12:25:43 +0200 Ruben Bloemgarten [EMAIL PROTECTED] wrote: Have you configured sendmail yet? Take a look in /var/log/maillog and see what it says. Just as a wild guess I'm assuming you're not running a mailserver on the local machine which means you have to tell sendmail where to submit the messages, you can do this in /etc/mail. Good luck, Ruben -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chezangla, Engineer, DrukNet Sent: April 21, 2006 12:06 PM To: freebsd-questions@freebsd.org Subject: hi I'm using: freeBSD-5.x PHP-5.x Mysql-4.x Apache-2.x I want to use php mail() to send mails using php script. I have configure in /usr/local/etc/php.ini the sendmail_path as sendmail_path=/usr/sbin/sendmail -t -i when i send email, the mail is sent, i.e if(mail()) returns true. But I don't receive the mail at all, at the given receipent address. what could be wrong, any ohter configurations to be made?, plez help me. regd. cheza +++ Get a free DrukNet e-mail account and stay in touch http://www.druknet.bt ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.385 / Virus Database: 268.4.4/320 - Release Date: 04/20/2006 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.385 / Virus Database: 268.4.4/320 - Release Date: 04/20/2006 +++ Get a free DrukNet e-mail account and stay in touch http://www.druknet.bt -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.385 / Virus Database: 268.4.4/320 - Release Date: 04/20/2006 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.385 / Virus Database: 268.4.4/320 - Release Date: 04/20/2006 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: stupid question - disk mirroring
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/raid.html -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Wojciech Puchar Sent: March 22, 2006 3:50 PM To: freebsd-questions@freebsd.org Subject: stupid question - disk mirroring what is right/best/simplest way to configure mirrored disk system? there was raid driver in NetBSD, but how in FreeBSD. possibility of booting from this set is important. thank you (please point to RTFM) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.385 / Virus Database: 268.2.6/287 - Release Date: 03/21/2006 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.385 / Virus Database: 268.2.6/287 - Release Date: 03/21/2006 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
panic on 5.4 SMP kernel when jailed apache is used heavily
Hi all, I upgraded a 5.3 system to 5.4 both with SMP kernels, I'm running 6 jails on a dual xeon 1.26 hp rackmount. When apache (both 1.3 and 2.0) is being used heavily the system panics. With a 5.4 GENERIC kernel or a 5.3 SMP kernel this behaviour does not happen and the system is stable. Does anyone have an idea ? Or should I post this to bugs ? Regards, Ruben 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 #0: Sun May 8 10:21:06 UTC 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC ACPI APIC Table: PTLTDAPIC Timecounter i8254 frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) III CPU family 1266MHz (1266.72-MHz 686-class CPU) Origin = GenuineIntel Id = 0x6b1 Stepping = 1 Features=0x383fbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA, CMOV,PAT,PSE36,MMX,FXSR,SSE real memory = 2147418112 (2047 MB) avail memory = 2095943680 (1998 MB) MADT: Forcing active-low polarity and level trigger for SCI ioapic0 Version 1.1 irqs 0-15 on motherboard ioapic1 Version 1.1 irqs 16-31 on motherboard npx0: math processor on motherboard npx0: INT 16 interface acpi0: HP HWPC225 on motherboard acpi0: Power Button (fixed) unknown: I/O range not supported can't fetch resources for \\_SB_.PCI0.ISA_.SIO_.LPT_ - AE_AML_INVALID_RESOURCE_TYPE Timecounter ACPI-safe frequency 3579545 Hz quality 1000 acpi_timer0: 32-bit timer at 3.579545MHz port 0x1208-0x120b on acpi0 cpu0: ACPI CPU on acpi0 pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0 pci0: ACPI PCI bus on pcib0 fxp0: Intel 82559 Pro/100 Ethernet port 0x1800-0x183f mem 0xfb10-0xfb1f,0xfb001000-0xfb001fff irq 22 at device 2.0 on pci0 miibus0: MII bus on fxp0 inphy0: i82555 10/100 media interface on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp0: Ethernet address: 00:30:6e:11:b8:de pci0: display, VGA at device 7.0 (no driver attached) fxp1: Intel 82559 Pro/100 Ethernet port 0x1840-0x187f mem 0xfb20-0xfb2f,0xfb003000-0xfb003fff irq 23 at device 8.0 on pci0 miibus1: MII bus on fxp1 inphy1: i82555 10/100 media interface on miibus1 inphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp1: Ethernet address: 00:30:6e:11:b8:df isab0: PCI-ISA bridge port 0x1040-0x104f at device 15.0 on pci0 isa0: ISA bus on isab0 atapci0: ServerWorks ROSB4 UDMA33 controller port 0x1880-0x188f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 15.1 on pci0 ata0: channel #0 on atapci0 ata1: channel #1 on atapci0 ohci0: OHCI (generic) USB controller mem 0xfb004000-0xfb004fff irq 9 at device 15.2 on pci0 usb0: OHCI version 1.0, legacy support usb0: OHCI (generic) USB controller on ohci0 usb0: USB revision 1.0 uhub0: (0x1166) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 4 ports with 4 removable, self powered pcib1: ACPI Host-PCI bridge on acpi0 pci1: ACPI PCI bus on pcib1 pcib2: PCI-PCI bridge at device 2.0 on pci1 pci2: PCI bus on pcib2 amr0: LSILogic MegaRAID 1.51 mem 0xfd40-0xfd7f irq 16 at device 2.1 on pci1 amr0: HP NetRaid 3si Firmware C.02.03, BIOS B.02.03, 16MB RAM sym0: 1010-33 port 0x2000-0x20ff mem 0xfd00-0xfd001fff,0xfd002000-0xfd0023ff irq 24 at device 5.0 on pci1 sym0: Symbios NVRAM, ID 7, Fast-80, LVD, parity checking sym0: open drain IRQ line driver, using on-chip SRAM sym0: using LOAD/STORE-based firmware. sym0: handling phase mismatch from SCRIPTS. sym1: 1010-33 port 0x2400-0x24ff mem 0xfd004000-0xfd005fff,0xfd002400-0xfd0027ff irq 25 at device 5.1 on pci1 sym1: Symbios NVRAM, ID 7, Fast-80, LVD, parity checking sym1: open drain IRQ line driver, using on-chip SRAM sym1: using LOAD/STORE-based firmware. sym1: handling phase mismatch from SCRIPTS. atkbdc0: Keyboard controller (i8042) port 0x64,0x60 irq 1 on acpi0 atkbd0: AT Keyboard irq 1 on atkbdc0 kbd0 at atkbd0 sio0: 16550A-compatible COM port port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A ppc0: Standard parallel printer port port 0x378-0x37f on acpi0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode ppbus0: Parallel port bus on ppc0 plip0: PLIP network interface on ppbus0 lpt0: Printer on ppbus0 lpt0: Polled port ppi0: Parallel I/O on ppbus0 fdc0: floppy drive controller port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0 fd0: 1440-KB 3.5 drive on fdc0 drive 0 orm0: ISA Option ROMs at iomem 0xcb000-0xcbfff,0xca800-0xcafff,0xc-0xca7ff on isa0 pmtimer0 on isa0 sc0: System console at flags 0x100 on isa0 sc0: VGA 16 virtual consoles, flags=0x300 sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0 Timecounter TSC frequency 1266717775 Hz quality 800 Timecounters tick every 10.000 msec acd0: CDROM CD-224E/1.5A at ata0-master PIO4 Waiting 15 seconds
RE: panic on 5.4 SMP kernel when jailed apache is used heavily
Hi Tamouh, As I said, thanks for the reply, I will try this. I am slightly apprehensive though as this is supposed to address a bug in PAE, not SMP per se. Do you or anyone have any ideas about this ? Regards, Ruben -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tamouh H. Sent: January 21, 2006 4:18 PM To: freebsd-questions@freebsd.org Subject: RE: panic on 5.4 SMP kernel when jailed apache is used heavily Hi all, I upgraded a 5.3 system to 5.4 both with SMP kernels, I'm running 6 jails on a dual xeon 1.26 hp rackmount. When apache (both 1.3 and 2.0) is being used heavily the system panics. With a 5.4 GENERIC kernel or a 5.3 SMP kernel this behaviour does not happen and the system is stable. Does anyone have an idea ? Or should I post this to bugs ? Regards, Ruben Most likely you need to update the src and recompile: http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/i386/i386/pmap.c.diff?r1=1.494 .2.9r2=1.494.2.10f=h The link above is where the problem occurs once you enable SMP Kernel you'll receive Fatal Trap Error. This has been discussed at: http://groups.google.com/group/list.freebsd.questions/browse_thread/thread/7 57e3350f8847edd/15c076d8db0eba64?lnk=stq=tamouh+freebsd+5.4+kernelrnum=2#1 5c076d8db0eba64 Good luck! Tamouh ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Internal Virus Database is out-of-date. Checked by AVG Free Edition. Version: 7.1.371 / Virus Database: 267.14.18/230 - Release Date: 01/14/2006 -- Internal Virus Database is out-of-date. Checked by AVG Free Edition. Version: 7.1.371 / Virus Database: 267.14.18/230 - Release Date: 01/14/2006 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Can't mount existing data disk after upgrade (disklabel gone)
Joe, If you did not touch ad4 the disklabel it should still have been there, but I presume that you have destroyed it by now. Did you make any kind of backup ? such as a dump of the filesystem ? How did you try to mount ad4s1a ? ( I am assuming you tried to mount the 'partition' and not the slice (ad4s1) or the device (ad4)). Why are you changing the offset of ad4s1a from 16 to 2097215 ? Is there another partition on there somewhere or do you just not want to use that part of your disk ? Also, you scan_ffs ad4 instead of ad4s1 which is what you should be interested in. The size differences are normal because there's a difference between ad4 ad4s1 and ad4s1a. You want to write the correct disklabel to ad4s1 and then mount ad4s1a. You're 'a' partition extends past the size of the disk (c) because a(584002180)+offset(2097215)= 586099395 c:( 586099332) (by 63) If you can correctly replicate the exact disklabel you should be able to access your data. Otherwise, chalk it up to experience. I hope this helps. Ruben -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Joe S Sent: January 20, 2006 6:18 PM To: freebsd-questions@freebsd.org Cc: Joe S Subject: Can't mount existing data disk after upgrade (disklabel gone) First of all, I have learned something VERY important about FreeBSD. SAVE your DISKLABELS! I have 2 drives in my home file server. One 80GB drive (ad0) for the OS and one 300 GB drive for my data. A few days ago, I performed a clean install of FreeBSD 6.0 on the 1st drive (ad0). After the install I tried to mount ad4, but could not. I read somewhere that I was supposed to save my disklabels. DOH! I did not do this, nor have I ever read about this in the FreeBSD handbook. After reading through the handbook and googling, I found a tool called scan_ffs that can help me recreate my disklabels by scanning my drive for partitions. Great! Here is the output of scan_ffs on ad4: [EMAIL PROTECTED] scan_ffs -l /dev/ad4 X: 584002180 2097215 4.2BSD 2048 16384 0 # /data Good. That is my /data partition. Its UFS2, created in FBSD 5.4. Next, I tried editing the disklabel. It starts out like this: # /dev/ad4s1: 8 partitions: #size offsetfstype [fsize bsize bps/cpg] a: 586099316 16unused0 0 c: 5860993320unused0 0 I changed it to this: # /dev/ad4s1: 8 partitions: #size offsetfstype [fsize bsize bps/cpg] a: 584002180 2097215 4.2BSD 2048 16384 0 # /data c: 5860993320unused0 0 But, I get this error: partition a: partition extends past end of unit re-edit the label? [y]: Here is the output of bsdlabel. Notice the different sizes: [EMAIL PROTECTED] bsdlabel -r ad4 # /dev/ad4: 8 partitions: #size offsetfstype [fsize bsize bps/cpg] a: 586114688 16unused0 0 c: 5861147040unused0 0 [EMAIL PROTECTED] bsdlabel -r ad4s1 # /dev/ad4s1: 8 partitions: #size offsetfstype [fsize bsize bps/cpg] a: 586099316 16unused0 0 c: 5860993320unused0 0 [EMAIL PROTECTED] [EMAIL PROTECTED] bsdlabel -r ad4s1a # /dev/ad4s1a: 8 partitions: #size offsetfstype [fsize bsize bps/cpg] a: 586099300 16unused0 0 c: 5860993160unused0 0 When I try to mount /dev/ad4s1a to /data, I get this error: coruscant# mount /dev/ad4s1a /mnt mount: /dev/ad4s1a on /mnt: incorrect super block How can I properly re-create the disklabel? It seems this is what I need to do in order to get to my data. Any help would be greatly appreciated. -joe PS Here is my 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 6.0-SECURITY #0: Mon Dec 19 23:46:33 UTC 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC ACPI APIC Table: INTEL D865PERL Timecounter i8254 frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) 4 CPU 2.40GHz (2394.01-MHz 686-class CPU) Origin = GenuineIntel Id = 0xf29 Stepping = 9 Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA ,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE Features2=0x4400CNTX-ID,b14 real memory = 1072889856 (1023 MB) avail memory = 1040945152 (992 MB) ioapic0 Version 2.0 irqs 0-23 on motherboard npx0: [FAST] npx0: math processor on motherboard npx0: INT 16 interface acpi0: INTEL D865PERL on motherboard acpi0: Power Button (fixed) pci_link0: ACPI PCI Link LNKA irq 11 on acpi0 pci_link1: ACPI PCI Link LNKB irq 3 on acpi0 pci_link2: ACPI PCI Link LNKC irq 10 on acpi0 pci_link3: ACPI PCI Link LNKD irq 5 on acpi0 pci_link4: ACPI PCI Link LNKE irq 0 on acpi0 pci_link5: ACPI PCI Link LNKF irq 0 on acpi0
RE: Multiple IP in jail?
If you use nat in conjuction with jails there is no need to add multiple ip's to the jails to be able to reach apache on multiple ip's, although I agree that it would be nice to be able to assign multiple ip's to a jail. Anyone ? Regards, Ruben -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Petr Murmak Sent: January 14, 2006 7:11 PM To: freebsd-questions@freebsd.org Subject: Multiple IP in jail? Hi! Is it possible to assign multiple IP to one jail on FreeBSD 6.0-STABLE? I want to use in jail apache for which i really need more than one IP. I found some patches for 5.0 but they are more than 2 years old without maintaining, so I didn't tried them. Petr ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.371 / Virus Database: 267.14.17/229 - Release Date: 01/13/2006 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.371 / Virus Database: 267.14.17/229 - Release Date: 01/13/2006 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Setting up a FreeBSD gateway
1. I assume you are running some kind of NAT ? 2. allow udp/tcp traffic out on port 53 to the dns servers you want to use. This will pass the dns requests through the gateway. If you want to use the gateway as a dns forwarder, you need to install something to do this. A third alternative is to setup your own dns server on this machine using something like bind or djbdns. Regards, Ruben http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/firewalls.html http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-dns.html http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-routing.ht ml these pages should tell you what you need to know. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brian Bobowski Sent: January 04, 2006 6:44 PM To: FreeBSD User Questions List Subject: Setting up a FreeBSD gateway OK, I've tried searching through man pages and such, but I've got kind of lost here. I have one machine that's acting as a gateway for my home PC, in addition to running a few local servers. I know I shouldn't do that, but the traffic is low and I just don't have room for more computers in my room, anyway. At any rate... I think I've got the packet-forwarding aspect set up OK; I compiled a kernel with the options I found in the docs on the matter. However, I don't know how to set up DNS. Specifically, I want to either pass all DNS requests through the gateway, or have the gateway run a local DNS that queries my ISP's DNS in turn. Can anyone point me to some steps on how to set that up? A bit of user-friendly instruction on using ipfw would be nice, too; I think I'd be able to figure it out in time, but if someone can spare a few moments to point out where I can find instructions on e.g. passing traffic on certain ports through to the other machine, handling others, and blocking the rest, it'd be appreciated. It's specifically the forwarding part that has me a bit mystified. Please reply off-list. TIA, -BB ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.371 / Virus Database: 267.14.12/220 - Release Date: 01/03/2006 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.371 / Virus Database: 267.14.12/220 - Release Date: 01/03/2006 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Users unknown in jail, what to do?
Hi Gabor, I figured as much. A tip: install your base tools first, things like freebsd-update, portupgrade, webmin, etc. configure those and then tar the /path/to/jail directory. That will give you a nice clean system to fall back on and replicate whenever you need a new jail, and save you a lot of time. Regards, Ruben -Original Message- From: Kövesdán Gábor [mailto:[EMAIL PROTECTED] Sent: January 01, 2006 10:42 PM To: [EMAIL PROTECTED] Subject: Re: Users unknown in jail, what to do? Hello, thanks. Actually, I just did a make installworld DESTDIR=/path/to/jail, I didn't follow the steps in jail(8) exactly and that was the problem. I should have done a make distribution DESTDIR=/path/to/jail from /usr/src/etc. Thanks, Gabor Ruben Bloemgarten wrote: Hi Gabor, Did you install the jail following the instructions of the man page ? Which version of FBSD are you running ? Assuming that u are running the jail command from root, you don't have to specify the user. Regards, Ruben -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kövesdán Gábor Sent: December 30, 2005 10:36 PM To: freebsd-questions@FreeBSD.ORG Subject: Users unknown in jail, what to do? Hello, I've set up a jail and started it with: jail -u root /path/to/jail hostname ip /bin/sh When I tried to install a port inside the jail I got an error message that I don't have the mtree files. I don't know why those files haven't been built but I copied it from the host system to the jail. Now I get: mtree: line 6: unknown user root *** Error code 1 I copied passwd, master.passwd, group, nsswitch.conf files, too, but I get the same. Could somebody tell me how can I solve this? -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.371 / Virus Database: 267.14.9/217 - Release Date: 12/30/2005 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.371 / Virus Database: 267.14.9/217 - Release Date: 12/30/2005 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: sendmail-submit and envelope-from
Hi all, A pity nobody came up with any ideas, oh well. I decided to just change to php syntax instead ( I'd still really like to now what was different in the 'working' setup though). It now reads ? mail('[EMAIL PROTECTED]', 'test', 'hello world!', 'null', '-f [EMAIL PROTECTED]') or die('error'); ? The submit is still very slow, it takes approximately 3 seconds per mail. Hmmm, I suppose I'll just have to delve into that wonderfull world called sendmail even deeper. Unless, unless, maybe someone does have a pointer or two ?? Anyway, thanks. (not being sarcastic here) Regards, Ruben -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ruben Bloemgarten Sent: December 28, 2005 4:35 PM To: [EMAIL PROTECTED] Subject: sendmail-submit and envelope-from Hi all, I hope someone could help me out with the following : On 5.4 I'm running a few jails, one of which is running the mail::toaster incarnation of qmail. All is well. From another jail I want to use a php script to generate mailings rewriting the envelope-from: ? mail('[EMAIL PROTECTED]', 'test', 'hello world!', 'From: [EMAIL PROTECTED]') or die('error'); ? This does work on a different system, not running on jails with a non ports compile of qmail (not installed by me). The main difference here being that on the 'working system', the mail-sendmail wrapper is used instead of sendmail. So I went and tested the same script on the qmail jail, which has the same 'problem' as sendmail does from the other jail. So something seems to have been changed on this setup to allow this behaviour (I assume having 'From', rewrite both return address and the envelope-from). I can't for the life of me figure out what. Oh, and unrelated but also annoying is the submit from the different jails to the qmail jail is a bit slow. Any pointers anyone ? Thanks, Ruben ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-isp To unsubscribe, send any mail to [EMAIL PROTECTED] -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.371 / Virus Database: 267.14.8/215 - Release Date: 12/27/2005 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.371 / Virus Database: 267.14.8/215 - Release Date: 12/27/2005 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: syslog in jail on 6.0
Hi Dave, Could you send your rc.conf from your mainsystem and jail, syslog.conf from the jail. Also, how did you generate the jail and what is it's purpose ? Regards, Ruben -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Sent: December 30, 2005 8:20 PM To: freebsd-questions@freebsd.org Subject: syslog in jail on 6.0 Hello, I've got two jail issues on 6.0. My first problem is when i start the jail via /etc/rc.d/jail start i get this message from the jail startup: syslogd child pid PIDNUM exited with return code 1 and i don't get jail logging. I've got syslog running on the hostsystem and in the jail both logging to their respected logging locations. My second issue is it appears devfs in the jail isn't being mounted. In my host system's rc.conf file i have a jail devfs mount line, but i have to manually mount devfs before i start the jail. Any ideas? Thanks. Dave. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.371 / Virus Database: 267.14.9/216 - Release Date: 12/29/2005 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.371 / Virus Database: 267.14.9/216 - Release Date: 12/29/2005 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Users unknown in jail, what to do?
Hi Gabor, Did you install the jail following the instructions of the man page ? Which version of FBSD are you running ? Assuming that u are running the jail command from root, you don't have to specify the user. Regards, Ruben -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kövesdán Gábor Sent: December 30, 2005 10:36 PM To: freebsd-questions@FreeBSD.ORG Subject: Users unknown in jail, what to do? Hello, I've set up a jail and started it with: jail -u root /path/to/jail hostname ip /bin/sh When I tried to install a port inside the jail I got an error message that I don't have the mtree files. I don't know why those files haven't been built but I copied it from the host system to the jail. Now I get: mtree: line 6: unknown user root *** Error code 1 I copied passwd, master.passwd, group, nsswitch.conf files, too, but I get the same. Could somebody tell me how can I solve this? Thanks in advance, Gabor Kovesdan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.371 / Virus Database: 267.14.9/216 - Release Date: 12/29/2005 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.371 / Virus Database: 267.14.9/216 - Release Date: 12/29/2005 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: ipnat -CF -f /etc/ipnat.rules
Hi Caleb, Add ipfs_enable=YES. Regards, Ruben -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of caleb Sent: December 31, 2005 3:16 AM To: freebsd-questions@freebsd.org Subject: ipnat -CF -f /etc/ipnat.rules Hi everyone, I have just put together a router/firewall using 5.4 RELEASE and IPFILTER. Everything is working fine except I have to manually flush the NAT table every time the router boots. below is my rc.conf and ipnat.rules, I have used rc.conf to start everything at boot; /* rc.conf */ gateway_enable=YES sshd_enable=YES ifconfig_rl1=inet 10.0.0.1 netmask 255.255.255.0 ifconfig_rl0=inet 192.168.0.1 netmask 255.255.255.0 hostname=tweak ipfilter_enable=YES ipfilter_rules=/etc/ipf.rules ipmon_enable=YES ipmon_flags=-Ds ipnat_enable=YES ipnat_rules=/etc/ipnat.rules ppp_enable=YES ppp_mode=ddial ppp_nat=NO ppp_profile=netspace ppp_user=root /* ipnat.rules */ map tun0 192.168.0.0/24 - 0/32 Is there something I am missing? I do not think it is ipf, as I have configured it to allow everything in and out. Could you please CC me if you decide to help. Thankyou, caleb -- There is no spoon ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.371 / Virus Database: 267.14.9/216 - Release Date: 12/29/2005 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.371 / Virus Database: 267.14.9/216 - Release Date: 12/29/2005 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
sendmail-submit and envelope-from
Hi all, I hope someone could help me out with the following : On 5.4 I'm running a few jails, one of which is running the mail::toaster incarnation of qmail. All is well. From another jail I want to use a php script to generate mailings rewriting the envelope-from: ? mail('[EMAIL PROTECTED]', 'test', 'hello world!', 'From: [EMAIL PROTECTED]') or die('error'); ? This does work on a different system, not running on jails with a non ports compile of qmail (not installed by me). The main difference here being that on the 'working system', the mail-sendmail wrapper is used instead of sendmail. So I went and tested the same script on the qmail jail, which has the same 'problem' as sendmail does from the other jail. So something seems to have been changed on this setup to allow this behaviour (I assume having 'From', rewrite both return address and the envelope-from). I can't for the life of me figure out what. Oh, and unrelated but also annoying is the submit from the different jails to the qmail jail is a bit slow. Any pointers anyone ? Thanks, Ruben ( I already sent this to isp-freebsd, but I'm guessing questions might also have some answers) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Help
1. make sure you have the ports tree and internet connectivity and forget your cd. Should you not have internet connectivity, make sure you have the package from the ports tree (http://cvsweb.freebsd.org/ports/sysutils/webmin/webmin.tar.gz?tarball=1) and place this in /usr/ports/distfiles. 2. # cd /usr/ports/sysutils/webmin 3. # make install clean Webmin has now been installed 4. # cd /usr/local/lib/webmin 5. # ./setup.sh 6. follow the instructions and your done. Webmin has now been configured. 7. read http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports.html Maybe point 7 should be point 1. Regards, Ruben -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of mamaj m Sent: December 25, 2005 2:34 PM To: [EMAIL PROTECTED] Subject: Help Hi, Please answer my question This is the first time i use Freebsd So i want to configare the webmin on my server , i download the webmin on a cd how can i configure the webmin on my Freebsd server Many Thanks _ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.371 / Virus Database: 267.14.7/214 - Release Date: 12/23/2005 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.371 / Virus Database: 267.14.7/214 - Release Date: 12/23/2005 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Connecting to internet.
Chris, http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/config-network-set up.html and http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/configtuning-confi gfiles.html Do try to take a *slightly* closer look next time, preferably before you post a question. Thanks. Regards, Ruben -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chris Saunders Sent: December 22, 2005 4:18 AM To: freebsd-questions@freebsd.org Subject: Connecting to internet. Just installed FreeBSD and it seems everything went fine. I have also recently installed Slackware Linux and it seems to have automatically set itself up to connect to the internet. I have had a look in the FreeBSD Handbook (not too deeply), but didn't see a section on getting connected. I'm hoping that someone could either give me either a method or a direction in the documentation. Regards Chris Saunders ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.371 / Virus Database: 267.14.2/208 - Release Date: 12/20/2005 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.371 / Virus Database: 267.14.2/208 - Release Date: 12/20/2005 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: nslookup strangeness
Hi Douglas, If you are using dns relay on your gateway why would you want to use named ? Also, it might be an idea to put the dns server ( i.e. the gateway) in your resolv.conf. Furthermore, neither your hosts ip4 ip (192.168.3.1) nor your non existant ip6 ip (:::) should be able to be resolved, unless you've set this up specifically yourself. In short, your 'error' message is more message than error. Regards, Ruben -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: December 20, 2005 6:37 PM To: freebsd-questions@FreeBSD.ORG Subject: nslookup strangeness I was using nslookup because of its convenient syntax to do some stuff. My workstation communicates via a gateway which also severs as its name server. I get the following: nslookup *** Can't find server name for address 192.168.3.1: Non-existent host/domain *** Can't find server name for address ::: No response from server *** Default servers are not available However dig works fine as does regular use of DNS. /etc/resolv.conf: nameserver 192.168.3.1 I started and stopped named and was able to use nslookup for a while. My question for the list is where I might look to find an indication of the error. there is nothing in /var/log/messages or all.log. Sockstat shows named listening on 192.168.3.1. Except for an occasional abnormally long response using ssh DNS also works normally. Thanks for any ideas. _ Douglas Denault http://www.safeport.com [EMAIL PROTECTED] Voice: 301-469-8766 Fax: 301-469-0601 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.371 / Virus Database: 267.14.1/207 - Release Date: 12/19/2005 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.371 / Virus Database: 267.14.1/207 - Release Date: 12/19/2005 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Running sendmail w/o FQDN
It seems that you are trying to run samba and ssh both from inetd and independantly. Hence the bind:already in use. This is not sendmail related. Do you want to use sendmail as an mua or as an mta ? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Doug Hawkins Sent: December 16, 2005 1:21 AM To: freebsd-questions@freebsd.org Subject: Running sendmail w/o FQDN I am also having problems with sendmail configuration on my machine. I suppose it's all related to the fact that I don't have a fully qualified domain name (FQDN), but I have not been able to find a simple method to allow sendmail to operate as the local message manager without having a FQDN -- and not complain about it. I've skimmed the 180k '/usr/share/sendmail/cf/README' and 'man sendmail' and a few .cf files. There must be a simple way to have a development' machine that's on a private LAN which has internet access and DNS via a router, but is not allocated an FQDN. When I wasn't running 'inetd' everything was fine, but I'd like those services (ftp, Samba's swat, etc.) to be available to the other LAN machines. I also get the 'sendmail sleeping' message when the machine is booting because it can't find its FQDN. Can anyone help? Thanks, Doug I get this in my message log every 10 minutes: {Date} {hostname} inetd[PID]: netbios-ns/udp: bind: Address already in use {Date} {hostname} inetd[PID]: ssh/tcp: bind: Address already in use {Date} {hostname} inetd[PID]: ssh/tcp: bind: Address already in use Networking and Services part of my /etc/rc.conf: ifconfig_rl0=DHCP # Handled by my ADSL router/modem hostname=beastie sendmail_enable=NO inetd_enable=YES nfs_client_enable=YES nfs_server_enable=YES ntpdate_enable=YES ntpdate_flags=-b tk1.ihug.co.nz router_enable=NO rpc_lockd_enable=YES rpc_statd_enable=YES rpcbind_enable=YES sshd_enable=YES usbd_enable=YES dictd_enable=YES mysql_enable=YES mysql_dbdir=/bsd5/var/db/mysql samba_enable=YES apache_enable=YES gdm_enable=YES ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.371 / Virus Database: 267.13.13/200 - Release Date: 12/14/2005 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.371 / Virus Database: 267.13.13/200 - Release Date: 12/14/2005 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: resolve appends domain section of hostname to non-existent domains
It is, combined with a wildcard in dns. Thanks for the input. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lowell Gilbert Sent: December 12, 2005 3:47 PM To: [EMAIL PROTECTED] Cc: freebsd-questions@freebsd.org Subject: Re: resolve appends domain section of hostname to non-existent domains Ruben Bloemgarten [EMAIL PROTECTED] writes: Hi all, Could anyone let me know what's misconfigured here: When I ping from say server2 # ping jkhdsfkhdsafhjsahfdhksa.com I get the following reply : PING jkhdsfkhdsafhjsahfdhksa.com.mydomain2.com (ip.of.server.1): 56 data bytes 64 bytes from ip.of.server.1: icmp_seq=0 ttl=64 time=0.594 ms 64 bytes from ip.of.server.1: icmp_seq=1 ttl=64 time=0.427 ms The same happens from server1; it appends it's domain name to the incorrect domain # ping jkhdsfkhdsafhjsahfdhksa.com PING jkhdsfkhdsafhjsahfdhksa.com.mydomain1.com (ip.of.server.1): 56 data bytes 64 bytes from ip.of.server.1: icmp_seq=0 ttl=64 time=0.594 ms 64 bytes from ip.of.server.1: icmp_seq=1 ttl=64 time=0.427 ms Server2 is running multiple jails behind ipf/ipnat on 5.4-Release. Server1 is not running jails or ipf/nat. on 5.2.1-Current Server1 responds on both systems, which are in the same subnet at the same colo. A dig from both systems does reply correctly, stating that jkhdsfkhdsafhjsahfdhksa.com does not exist. Which leads me to feel that it would most probably be hosts file related. As the hosts file on both systems are not doing anything weird i.e.: Server2: ip.natted.lan server2 server2.mydomain2.com server2.mydomain2.com. Server1: ip.static.wan server1 server1.mydomain1.com server2.mydomain2.com. Although, as dns has already taken place (on existing domains it does resolve correctly), it would seem that something is happening after hosts-dns- (not using nis). Isn't this just the search parameter for resolv.conf(5)? -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.371 / Virus Database: 267.13.13/197 - Release Date: 12/09/2005 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.371 / Virus Database: 267.13.13/197 - Release Date: 12/09/2005 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
resolve appends domain section of hostname to non-existent domains
Hi all, Could anyone let me know what's misconfigured here: When I ping from say server2 # ping jkhdsfkhdsafhjsahfdhksa.com I get the following reply : PING jkhdsfkhdsafhjsahfdhksa.com.mydomain2.com (ip.of.server.1): 56 data bytes 64 bytes from ip.of.server.1: icmp_seq=0 ttl=64 time=0.594 ms 64 bytes from ip.of.server.1: icmp_seq=1 ttl=64 time=0.427 ms The same happens from server1; it appends it's domain name to the incorrect domain # ping jkhdsfkhdsafhjsahfdhksa.com PING jkhdsfkhdsafhjsahfdhksa.com.mydomain1.com (ip.of.server.1): 56 data bytes 64 bytes from ip.of.server.1: icmp_seq=0 ttl=64 time=0.594 ms 64 bytes from ip.of.server.1: icmp_seq=1 ttl=64 time=0.427 ms Server2 is running multiple jails behind ipf/ipnat on 5.4-Release. Server1 is not running jails or ipf/nat. on 5.2.1-Current Server1 responds on both systems, which are in the same subnet at the same colo. A dig from both systems does reply correctly, stating that jkhdsfkhdsafhjsahfdhksa.com does not exist. Which leads me to feel that it would most probably be hosts file related. As the hosts file on both systems are not doing anything weird i.e.: Server2: ip.natted.lan server2 server2.mydomain2.com server2.mydomain2.com. Server1: ip.static.wan server1 server1.mydomain1.com server2.mydomain2.com. Although, as dns has already taken place (on existing domains it does resolve correctly), it would seem that something is happening after hosts-dns- (not using nis). So I'm pretty much at a loss here. Any help is very much appriciated. Regards, Ruben ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: not rebooting on panic 5.4
Hi all, I spoke too soon. I could really use some help here. The situation is this : I have a 5.4-release HP LP1000R(SMP kernel daemonology.net) machine running 6 jails, 4 of which are currently in use, running full jails with 1.mysql 2.apache/php 3.qmail (mailtoaster 4.08) and 4. nagios. Approximately once every 12 hours the box panics without rebooting. This behaviour started after having moved +- 100 websites over from a different system. when it does not panic, the load on the system rarely exceeds 10%. Ofcourse I would prefer to figure out when the panics occur but at time my my priority is to have the machine at least reboot automatically. Regards, Ruben -Original Message- From: Ruben Bloemgarten [mailto:[EMAIL PROTECTED] Sent: December 07, 2005 8:10 PM To: [EMAIL PROTECTED]; freebsd-questions@freebsd.org Subject: RE: not rebooting on panic 5.4 Never mind, swap=ram. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ruben Bloemgarten Sent: December 07, 2005 4:18 PM To: freebsd-questions@freebsd.org Subject: not rebooting on panic 5.4 Hi all, I was hoping someone could tell me how to enable 5.4 to reboot automagically on panics. It just hanging there isn't helping. Thanks, Ruben ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.362 / Virus Database: 267.13.12/192 - Release Date: 12/05/2005 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.362 / Virus Database: 267.13.12/192 - Release Date: 12/05/2005 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.362 / Virus Database: 267.13.12/192 - Release Date: 12/05/2005 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.362 / Virus Database: 267.13.12/192 - Release Date: 12/05/2005 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
not rebooting on panic 5.4
Hi all, I was hoping someone could tell me how to enable 5.4 to reboot automagically on panics. It just hanging there isn't helping. Thanks, Ruben ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: not rebooting on panic 5.4
Never mind, swap=ram. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ruben Bloemgarten Sent: December 07, 2005 4:18 PM To: freebsd-questions@freebsd.org Subject: not rebooting on panic 5.4 Hi all, I was hoping someone could tell me how to enable 5.4 to reboot automagically on panics. It just hanging there isn't helping. Thanks, Ruben ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.362 / Virus Database: 267.13.12/192 - Release Date: 12/05/2005 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.362 / Virus Database: 267.13.12/192 - Release Date: 12/05/2005 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: /dev/mem /dev/kmem jails and using netstat -r and snmp
Hi Lowell, I absolutely agree with you in regards to jail security, this would effectively break jail security. My main reason for using jails is not security however, but manageability and expandability. By now I've figured out how to make mem and kmem available to a specicic jail. As with all *nix related problems it was painfully simple once understood. I have managed to enable most NMS functionality I want from inside the jail without having to resort to this ruleset. I did want to have the option available for development and testing reasons to be able to differentiate between what I'm doing wrong and what is just an inherent restriction of properly deployed jails. For a fully functional NMS solution running from inside a jail, using very anal access restrictions from the firewall on the mainhost, I'm not sure yet whether or not I'm actually troubled by the security NoNo access to privileged devices generates. Anyway, thanks for your insight. Sometimes all we need is just someone to talk to. By the way I am very interested in what everyone's thoughts are in regards to jail functionality, as in security vs. the VirtualServer aspect and in which scenario one outweighs the other. Regards, Ruben -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lowell Gilbert Sent: September 10, 2005 2:57 PM To: [EMAIL PROTECTED] Cc: freebsd-questions@freebsd.org Subject: Re: /dev/mem /dev/kmem jails and using netstat -r and snmp Ruben Bloemgarten [EMAIL PROTECTED] writes: I seem to be a bit stuck here. I seem to need access to /dev/mem and /dev/kmem from inside a jail . Specifically to be able to use netstat ?r and snmp in jailed environments. I?m running FBSD 5.4-RELEASE. Could anyone help me shed some light on this problem ? Thanks. Making kmem available in a jail seems like it can't be the right answer to anything. Kind of contradicts the point, I would think. I don't see an easy way around this. Furthermore, there are different approaches depending on why you are trying to do this. If you want system statistics inside of a jail for remote monitoring, consider whether that is the best approach; after all, network management *is* a fundamentally privileged operation. One way to do it would be to feed the statistics into the jail from outside of it; this way, the privileged operation is separated from the network-accessible code, and not dependent on it in any way. Good luck. -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.10.20/95 - Release Date: 09/09/2005 -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.10.20/95 - Release Date: 09/09/2005 -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.10.20/95 - Release Date: 09/09/2005 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
/dev/mem /dev/kmem jails and using netstat -r and snmp
Hi all, I seem to be a bit stuck here. I seem to need access to /dev/mem and /dev/kmem from inside a jail . Specifically to be able to use netstat –r and snmp in jailed environments. I’m running FBSD 5.4-RELEASE. Could anyone help me shed some light on this problem ? Thanks. Regards, Ruben -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.10.19/93 - Release Date: 09/08/2005 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: portsnap and updates using cron
Hi there, To run portsnap and/or freebsd update as a cron job use : #portsnap cron *NOT fetch Regards, Ruben -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of martin hudec Sent: August 31, 2005 6:30 PM To: freebsd-questions@freebsd.org Subject: Re: portsnap and updates using cron Hello, On Thu, Sep 01, 2005 at 02:07:57AM +1000 or thereabouts, Norberto Meijome wrote: man ktrace man kdump in a nutshell: ktrace shows the kernel calls that a process is executing. It creates a dump file which you can view with kdump. similar (better actually) than strace and whatever other ?trace found in linux. Hmmm, thanks for info, this kstuff is really much much better than strace :). Never heard of that, but now I am pretty impressed. Thanks. then it seems it's a portsnap problem and not cron...get it working in your normal shell first and then focus on automating it. (btw, what's wrong with (cd /usr/ports/ ; make update) , or a cvsup cmd line?) Portsnap is working pretty well in normal shell. I was using cvsup before portsnap, but now, as portsnap is being part of base system I am considering to switch to it on all our production servers. I am also going to give a try to make update in /usr/ports. Thank you! -- martin hudec * 421 907 303 393 * [EMAIL PROTECTED] * http://www.aeternal.net Nothing travels faster than the speed of light with the possible exception of bad news, which obeys its own special laws. Douglas Adams, The Hitchhiker's Guide to the Galaxy -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.10.17/85 - Release Date: 08/30/2005 -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.10.17/85 - Release Date: 08/30/2005 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: See what raid arrays are?
Hi Matt, I quote : What raid hardware? In general, with hardware RAID (PCI cards and the like), the component physical disks of a logical array are hidden from the OS to keep you from accessing them directly and destroying the array, and to simplify the presentation of the array to the OS. -- Doug White| FreeBSD: The Power to Serve [EMAIL PROTECTED] | www.FreeBSD.org However, you could see if # camcontrol devlist -v gives a little more information. Regards, Ruben -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matt Juszczak Sent: August 26, 2005 11:40 PM To: freebsd-questions@freebsd.org Subject: See what raid arrays are? Hi all, I was wondering if there is a way to see the RAID setup of a freebsd machine without rebooting it. I Know I've got 5 drives in the system, and I know that da0 is 36 gig, da1 is 140 gig, and da2 is 18 gig, but I dont know how the five drives play out among those arrays. I'm PRETTY sure (pretty sure!) that da0 is a raid 1 and da1 is a raid 1 and da2 is just a stand alone 18 gig drive, but I'd love to know for sure. dmesg doesn't say much, probably because this is hardware raid so the system itself only sees one drive even if there is more. was wondering if there's a way to go above that restriction. Thanks! -Matt ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.10.15/82 - Release Date: 08/25/2005 -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.10.15/82 - Release Date: 08/25/2005 -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.10.16/83 - Release Date: 08/26/2005 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: FreeBSD Gateway problems
Hi Tim, Which of the firewalls do you want to use and if you want to use both what do you want the functionality to be? If you can send your rc.conf,ipf.conf and ipnat.conf I could check out the ipf part and see if I find anything. Obviously Glen's experience with ipfw is more extensive than mine so he would most likely be of more help on that front. It would however of great help to know what you're trying to accomplish. Regards, Ruben -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tim Holmes Sent: August 15, 2005 10:47 AM To: freebsd-questions@freebsd.org Subject: FreeBSD Gateway problems For years I've used a FreeBSD as my gateway. Well I haven't had a high speed connection for 3 years now, and I've just gotten it back. Since then I've reloaded the machine from 4.3 to 5.3. I thought I had it all set up so when I did get connection, I could make a quick edit to my rc.conf and I'd be ready to go. Well turns out I was way off. The machine has no problems geting an IP from the cable modem, and I can get anywhere I want from that machine directly. (I'm currently ssh'd to the router machine to send email, use w3m to find How-Tos) But it won't pass traffic from the rest of the network. Here are the settings in my rc.conf: gateway_enable=YES # Enable as Lan gateway # firewall_enable=YES natd_enable=YES natd_interface=xl0 natd_flags=-f /etc/natd.conf ipmon_enable=YES ipmon_flags=-Ds The firewall_enable is disable now because when it's turned on, I can't actually get out from directly on the machine. At this point I just want it to do the routing and then I can work on building a firewall afterwards. Before I did the update and rebuilt the kernel yesterday, I had these options in rc.conf # ipnat_enable=YES# Start ipnat function # ipnat_rules=/etc/ipnat.rules# rules definition file for ipnat # ipfilter_enable=YES # Start ipf firewall # ipfilter_rules=/etc/ipf.rules # loads rules definition text file Well all these other How-Tos I found on FreeBSDDiary.org told me all I needed was gateway_enable=YES and firewall_enable=YES. Also to add these two options to the kernel: options IPFILTER options IPDIVERT But that wasn't working. Another mentioned I needed defaultrouter=192.168.2.254, but that's not doing it either. It wasn't actually running nat, and I'd get errors if I tried to start. Here's the message I saw at boot after a new kernel. 1: unexpected keyword (any) - from /sbin/ipf: /etc/ipf.rules: parse error (-1), quitting /etc/rc: WARNING: NO IPNAT RULES After following some other How-Tos I tried running ipfw, but I keep getting an error message that won't return any helpful searches from Google. # ipnat -f /etc/ipnat.conf ioctl(SIOCGNATS): Operation not permitted # ipfw -f flush ipfw: setsockopt(IP_FW_FLUSH): Protocol not available # ipf -FA -f /etc/ipf.rules ioctl(SIOCIPFFL): Operation not permitted # ipfw add divert natd all from any to any via xl0 ipfw: getsockopt(IP_FW_ADD): Protocol not available None of those error messages will give me anything to go. So I'm at a lose here. Can anybody point me to How-To, or share their rc.conf edits to make this work? I know this was a little long, but thanks in advance for the help. tdh -- +- \./ | Tim Holmes -- [EMAIL PROTECTED]: [EMAIL PROTECTED] (0Y0) | UIN: 17021091 -- AIM: tdh004 -ooO--(_)--Ooo--+- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.10.9/72 - Release Date: 08/14/2005 -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.10.9/72 - Release Date: 08/14/2005 -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.10.9/72 - Release Date: 08/14/2005 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Mounting on da0s1c or da0s1d?
Hi Joachim, From the bsdlabel man page : # size offsetfstype [fsize bsize bps/cpg] a:8192004.2BSD 1024 819216 b: 1681920 swap c: 11739300unused0 0 # rawpart,don't edit as you can see c is the raw part, leave it alone. Check out http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-steps.html and http://www.freebsd.org/cgi/man.cgi?query=bsdlabelapropos=0sektion=0manpat h=FreeBSD+5.4-RELEASE+and+Portsformat=html for more information Bye now, Ruben -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Joachim Dagerot Sent: August 14, 2005 11:16 PM To: [EMAIL PROTECTED] Subject: Mounting on da0s1c or da0s1d? From my Vinum period I recall that mounting should be done on d, not c or whatever it was. Today I'm running a hardware IDE RAID and though I read the handbook I can't find any recommendation on where to mount. Any help is appreciated. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.10.8/71 - Release Date: 08/12/2005 -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.10.8/71 - Release Date: 08/12/2005 -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.10.8/71 - Release Date: 08/12/2005 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: How to recover data? - Formatted, Fdisk'd, and disklabeled ad1, now ad0 with FreeBSD is messed up
That is the slice you made. This is fine. No p about the bios thing. Good luck with the rest of your FBSD trial and tribulations. Ruben -Original Message- From: Mark Kane [mailto:[EMAIL PROTECTED] Sent: August 08, 2005 5:29 PM To: [EMAIL PROTECTED] Subject: Re: How to recover data? - Formatted, Fdisk'd, and disklabeled ad1, now ad0 with FreeBSD is messed up Ruben Bloemgarten wrote: Best guess is that your booting from ad1 not ad0, check your bios. Unbelievable. I guess when I used the PowerMax utility or something, the boot order got switched around. I haven't been in the BIOS since the machine's initial setup. Very sorry I wasted everyone's time with such a silly thing! Just to make sure though that I'm on the right track and that was it, this is what df -h looks like now: Filesystem SizeUsed Avail Capacity Mounted on /dev/ad0s1a248M 58M170M25%/ devfs 1.0K1.0K 0B 100%/dev /dev/ad0s1e248M 22K228M 0%/tmp /dev/ad0s1f145G128G6.1G95%/usr /dev/ad0s1d248M 26M202M11%/var /dev/ad1s1d 55G4.0K 51G 0%/60GB For that, I mounted /dev/ad1s1d like you said before. Basically my question is if it should be on d like that, since the handbook says: Partition d used to have a special meaning associated with it, although that is now gone. To this day, some tools may operate oddly if told to work on partition d, so sysinstall will not normally create partition d. It also says: sysinstall's Label editor favors the e partition for non-root, non-swap partitions. Within the Label editor, create a single file system by typing C. I created this though sysinstall, and the only ad1 things showing in /dev are: ad1s1 ad1s1c ad1s1d I apologize if this is getting off topic, but I just want to be certain I have everything in order to proceed. Thanks again! -Mark -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.10.2/65 - Release Date: 08/07/2005 -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.10.2/65 - Release Date: 08/07/2005 -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.10.2/65 - Release Date: 08/07/2005 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: How to recover data? - Formatted, Fdisk'd, and disklabeled ad1, now ad0 with FreeBSD is messed up
Hi Mark, On disk ad1 you have one slice ad1s1 which has one partition ad1s1d, mount this # mount /dev/ad1s1d /mnt Now check the size of the partition : #df -h If the size of this partition is equal to the size of your drive you just used the entire drive for that one partition. If it's not you did not finish labeling the remainder of the slice I'm assuming that FBSD is installed on your other disk ad0 where you have one slice ad0s1 and 5 partitions a,b,d,e,f, which I assume are /, swap, var, usr and home respectively. You cannot mount a slice directly. A c partition is generated automatically and contains the entire slice. This is not to be accessed directly. .snap is a directory created for the dump/restore utility the mksnap_fs in particular. It is used for live snapshots of the file system. It should be there and if that's all there is . . . that's all there is. Now, for a total picture, I hope, it seems that you installed FBSD on ad0s1* and newfs'd/disklabel ad1s1* hoping to later mount this and get y'r data on there. If FBSD is not booting I assume you did not install any type of boot manager. The big mystery to me here is this : you say you 1. you backed up the content of you 60 GB NTFS drive to your 160GB drive (which I therefore assume to be ad0) 2. installed FBSD on you 160GB drive (still ad0) 3. newfs'd your 60GB drive ( ad1) Euuuh, where is your data Anyway, I hope this might have cleared things up, if not try : http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install.html Good luck, Ruben -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mark Kane Sent: August 08, 2005 4:54 AM To: Gary W. Swearingen Cc: freebsd-questions@freebsd.org Subject: Re: How to recover data? - Formatted, Fdisk'd, and disklabeled ad1, now ad0 with FreeBSD is messed up Gary W. Swearingen wrote: Mark Kane [EMAIL PROTECTED] writes: This morning, I came back to format the 60GB drive. I formatted it and ran it through fdisk and disklabel. Whenever I do What does I formatted it mean? That means that I used the PowerMax utility to zero fill the 60GB drive after I got all my data off of it and put it to the 160GB drive. I wanted to start completely clean, hoping that would maximize performance since it had been in NTFS and completely fragmented for several years (unable to defrag because it was so full, etc). I wonder if you really used fdisk and disklabel, or used sysinstall; I used sysinstall to do this. I said that in the subject to just be clear on the operations I did. I did this exact same process yesterday with my 80GB drive that was having the DMA errors. I got a reply from the list on that issue saying to try another drive (since I have 4 drives in NTFS that I'm trying to convert to UFS for use with FreeBSD). This 60GB was another of the 4 drives I was going to try to see if I would get any DMA errors...but unfortunately I didn't get that far ye. It sounds like you let sysinstall replace your ad0 MBR and maybe re-label an ad0 primary partition. I'm sure you'll let me know if I'm wrong. Well when I was in the fdisk and disklabel sections of sysinstall, I specifically saw ad1 at the top, showing that I was modifying ad1 (the 60GB drive). When I first went in to the disklabel editor, nothing was showing there since I had just fdisk'd it through the fdisk screen. If the existing labels were there (like /, /home, /var, etc), I wouldn't have proceeded. I did a c to create a new filesystem, told it how big, etc, and then w to write it. It went OK, and I exited out of the label editor and rebooted. I found the FreeBSD 5.4 install CD and booted to the FixIt live filesystem. I tried to look for my ad0 data, and I only saw /dev/ad0 and /dev/ad0s1. I mounted /dev/ad0s1, and it's my root (/) partition from before. I don't see any ad0s2, ad0s3, ad0s4, etc. As for ad1, I see ad1s1, ad1s1c, and ad1s1d. ad1s1 gives Operation Not Permitted when I try to mount it. ad1s1c and ad1s1d just show .snap/ directories when I mount and ls them. You say you mounted ad0s1 and tried to mount ad0s1. AFAIK, you can't mount those. Did you mean ..s1a? Once in the FixIt CD, I did a `ls /dev`. It shows the following: ad0 ad0s1 ad0s1a ad0s1b ad0s1c ad0s1e ad0s1f ad1 ad1s1 ad1s1c ad1s1d I try to mount one of the slices like this: `mount /dev/ad0s1 /mount` I `ls /mount` and get what appeared to be my old / directory. Then, when I do a `ls` on /dev after mounting, I only see ad0s1, not the rest on ad0. I don't know if it would help for us to know what you had and what you did and what you now have, but I can tell you that what you told us left me with many questions. I'm one to explain things in full and complete detail, but I didn't want to type out a huge thing that would be too much for someone to read. But here is the long version: Starting out, I have 4 hard drives all in NTFS format from when this machine ran
RE: Migrating FreeBsd installation to another hard drive
Hi there, I had to do something similar i.e. change RAID levels, there is no need to install anything. Just use the fixit CD. Here is my procedure : Ofcourse you'll have to change disk[slice] names to what suits you. NOTE: I used tar for the /usr slice as I had some size constraints and therefore needed some compression ( I could have piped the dump to gzip ofcourse, but didn't). In my opinion dumprestore is the best procedure. But dd works as well. Regards, Ruben 1. boot from CD 2. goto fixit CD 3. create new mount point -- # mkdir /new_mnt 4. mount external drive /new_mnt -- # mount /dev/da0s1 /new_mnt 5. mount / on /mnt # mount /dev/ar0s1a /mnt 6. backup fstab and bsdlabel -- # cp /mnt/etc/fstab /new_mnt/fstab.BAK # bsdlabel ar0s1 /new_mnt/bsdlabel.BAK 7. dump / -- # umount /mnt # dump -0au -C 32 -f /new_mnt/root_dump /dev/ar0s1a 8. dump /var -- # dump -0au -C 32 -f /new_mnt/var_dump /dev/ar0s1e 9. tar /usr ( or only those subsystems which contain userdata (dbase,mail,etc) -- # mount /dev/ar0s1f /mnt # cd /mnt # tar czf /new_mnt/usr_tar.tar.gz ./ 10.unmount all mounted filesystems -- # umount /mnt # umount /new_mnt 11. exit fixit and boot CD 12. power down 13. replace disks 14. boot to RAID config tool 15. set array to RAID0 16. reboot to CD 17. exit to FIXIT 18. erase current disklabel create new label with one slice -- # dd if=/dev/zero of=/dev/ar0 bs=512 count=32 # fdisk -BI /dev/ar0 # dd if=/dev/zero of=/dev/ar0s1 bs=512 count=32 # bsdlabel -w -B da0s1 19. read disklabel note c partition value 20. mount external disk edit saved slice (step 6) 21. write edited label to disk 22. -- # bsdlabel -R /dev/ar0s1 /new_mnt 23. -- # newfs /dev/ar0s1[a,d,e,f) 24. -- # mount /dev/ar0s1d /tmp 25. -- # export TMPDIR=/tmp 26. mount restore / -- # mount /dev/ar0s1a /mnt # cd /mnt # restore rf [PATHNAME_TO_root_dump] 27. umounting / and mount restore /var -- # cd .. # umount /mnt # mount /dev/ar0s1e /mnt # cd /mnt # restore rf [PATHNAME_TO_var_dump] 28. extracting usr_tar.tar.gz into /usr -- # cd .. # umount /mnt # mount /dev/ar0s1f /mnt # cd /mnt # tar xzvf [PATHNAME_TO_usrtar] ./ 29. umount all open filesystems -- # umount /tmp # umount /mnt # umount /new_mnt 30. exit single user mode and startup -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chris Roos Sent: July 06, 2005 6:11 PM To: freebsd-questions@freebsd.org Subject: Migrating FreeBsd installation to another hard drive Hi, I've recently had the job of moving a FreeBsd installation to another hard drive. After quite a lot of reading I got round to following this article[1] using a VMWare FreeBsd instance. In brief the article uses dump and restore to move the data from one mounted partition to another in single user mode. It also suggests that before you do this, you perform a minimum install on the destination disk to ensure that it boots fine. First time round, I did the minimum install and then followed the steps (minus the MAKEDEV step as I'm running 5.3R) to backup the data to the destination. This all worked fine. Second time round, I didn't do a minimum install, rather I just set-up the slice and partitions on the destination using sysinstall, and then did the dump/restore. On booting from the destination disk this time, nothing happened. I reasoned that it was because I had no boot manager installed and so went ahead and used boot0cfg -B to install the FreeBsd boot manager. The disk now boots; however, I would prefer to use the equivalent of the 'Standard - Install a standard MBR (no boot manager)' option from sysinstall as FreeBsd is the only OS on the disk and so I don't need the option of booting to it or anything else. I'm guessing that I would use fdisk to do this but if so am not entirely sure how. In addition, is this safe to perform on a disk with data or would I need to go through the dump/restore process again? One final question is whether the dump/restore process is the best approach in this instance? I have read about using dd but am not entirely sure whether this would do what I need? Thanks in advance for any help, Chris [1] http://bsdvault.net/sections.php?op=viewarticleartid=121 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.323 / Virus Database: 267.8.9/42 - Release Date: 07/06/2005 -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.323 / Virus Database: 267.8.9/42 - Release Date: 07/06/2005 -- No virus found in this outgoing message. Checked by AVG Anti-Virus.
RE: stat running as www weirdness - genarting INCOMING traffic
After I stopped being lazy ( my sincere apologies) and a little backtracking I realized I had been seriously compromised. A cronjob had been installed in /var/tmp/httpd.cron This contained the following disturbing files : drwxr-xr-x 3 www wheel 512B Jun 23 23:30 ../ -rw-r--r-- 1 www wheel 327M Jun 22 09:46 my.summer.of.love.2005.italian.md.ts.xvid-mcf.avi drwxr-xr-x 4 www wheel 1.0K Jun 22 06:31 ./ -rw-r--r-- 1 www wheel 482M Jun 21 22:39 My.SuMMer.Of.LoVe.2005.iTaLiaN.MD.TS.XviD-MCF.avi -rw-r--r-- 1 www wheel 1.1K Jun 21 07:08 Infodll.state -rw-r--r-- 1 www wheel 1.1K Jun 21 07:05 Infodll.state~ -rw-r--r-- 1 www wheel 0B Jun 19 16:54 PROFONDO_BLU_.avi -rw-r--r-- 1 www wheel 6.0K Jun 16 01:05 README.txt -rw-r--r-- 1 www wheel 1.5K Jun 12 21:46 httpd.cron -rwxr-xr-x 1 www wheel 207K Jun 10 18:52 stat* drwxr-xr-x 2 www wheel 512B Jun 10 18:52 obj/ -rwxr-xr-x 1 www wheel 59.8K Jun 10 18:51 convertxdccfile* -rw-r--r-- 1 www wheel 4.2K Jun 10 18:51 Makefile drwxr-xr-x 2 www wheel 512B Jun 10 18:51 src/ -r--r--r-- 1 www wheel 22.6K Jan 17 00:17 sample.config -r--r--r-- 1 www wheel 15.6K Jan 17 00:17 COPYING -r--r--r-- 1 www wheel 23.0K Jan 17 00:17 WHATSNEW -r--r--r-- 1 www wheel 4.0K Jan 17 00:17 Makefile.config -r-xr-xr-x 1 www wheel 28.5K Jan 17 00:17 Configure* -r-xr-xr-x 1 www wheel 857B Jan 17 00:17 iroffer.cron* -r-xr-xr-x 1 www wheel 942B Jan 17 00:17 dynip.sh* -r--r--r-- 1 www wheel 5.0K Jan 17 00:17 README -rw-r--r-- 1 www wheel15B Jan 17 00:17 .cset_number Iroffer had been installed http://iroffer.org/ The cronjob did the following : more httpd.cron ### Logging # #pidfile Infodll.pid #logfile Infodll.log logstats no logrotate weekly statefile Infodll.state ### Connessione # connectionmethod direct server 66.225.223.54 server 66.225.223.54 6669 server 66.225.223.54 6667 channel #Eternity -key otis channel #Eternity.staff -key otis user_realname ETE user_modes +ix loginname ETE tcprangestart 4000 #usenatip 195.41.47.74 ### Slot e Code ## slotsmax 15 queuesize 25 nickserv_pass beatat maxtransfersperperson 1 maxqueueditemsperperson 1 restrictlist yes restrictsend yes #restrictprivlist yes # Headline creditline ^C14\ \^C15^B Staff f0r #Eternity ^C14\\^B^C headline ^C14\ \^C15^B Staff f0r #Eternity ^C14\\^B^C # Adminhost e download ### adminhost [EMAIL PROTECTED] adminhost [EMAIL PROTECTED] adminhost [EMAIL PROTECTED] uploadhost [EMAIL PROTECTED] downloadhost [EMAIL PROTECTED] downloadhost [EMAIL PROTECTED] #firewall yes hideos yes # QUI VA ADMINPASS ## adminpass pYiNmgVwHKZHE ## ### RUNTIME ADDED ### filedir /var/tmp/cron/httpd uploaddir /var/tmp/cron/httpd user_nick ETE|DivX-01 Using dynip to advertise my box . Aaaargh ! Thanks for the help anyway. Regards, Ruben -Original Message- From: Chuck Swiger [mailto:[EMAIL PROTECTED] Sent: June 23, 2005 7:26 PM To: [EMAIL PROTECTED] Cc: FreeBSD-questions@FreeBSD.org Subject: Re: stat running as www weirdness - genarting INCOMING traffic Ruben Bloemgarten wrote: I’m seeing weirdness of stat opening up port 4000+ and generating/receiving enormous amounts of incoming traffic i.e. 400Gb over a 24hour time period.Does this sound familiar to anyone ? Thanks for any brain usage not my own. Insufficient data. From which port(s) to which port(s), and are the IP addresses on the other side the same or a random range (which would imply your machine has been hacked and is scanning outwards). Showing a tcpdump of a few example connections would be really useful. -- -Chuck -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.323 / Virus Database: 267.7.11/26 - Release Date: 06/22/2005 -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.323 / Virus Database: 267.7.11/26 - Release Date: 06/22/2005 -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.323 / Virus Database: 267.7.11/26 - Release Date: 06/22/2005 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
stat running as www weirdness - genarting INCOMING traffic
Hi all, I’m seeing weirdness of stat opening up port 4000+ and generating/receiving enormous amounts of incoming traffic i.e. 400Gb over a 24hour time period.Does this sound familiar to anyone ? Thanks for any brain usage not my own. Regards, Ruben “Life is like a box of metaphores, there’s one for every occasion” -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.323 / Virus Database: 267.7.10/25 - Release Date: 06/21/2005 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Managing updates in jails
Hi Mark, What I find a lot easier is to use freebsd-update for the base system updates and, after having mount_nullfs'd /usr/ports from the host system onto the jailed systems, portsnap and portupgrade. - host system : freebsd-update/portsnap/portupgrade Jailed system : freebsd-update/portupgrade All in all in takes about 20-40 minutes to update all systems host+5Jails. Good luck, Ruben -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mark Bucciarelli Sent: May 13, 2005 7:46 PM To: FreeBSD-questions@FreeBSD.org Subject: Managing updates in jails I'm a recent convert to FreeBSD, mainly because of the jail functionality. I am trying to figure out a good system for keeping jails updated and am running against my lack of experience with the compile-from-source approach as well as the different startup scripts. I have pretty much settled on the idea of creating a template or base jail, updating that, then creating a tarball that I can extract over any other jail I need to update. I figure I won't have more than six jails and the complexity of hardlinks and/or unionfs/nullfs for me is not worth the saved disk space. Currently, I have been making buildworld, make buildkernel, etc on the host, then repeating the process inside the template jail. The host is just going to run sshd and ntpd, the template will be apache+mysql+php. A couple questions: - is there a correct way to reuse the makekernel and makeworld done on the host system for the template jail? for example, using DESTDIR and/or NOREBUILD? (I tried DESTDIR initially to install vim into the template jail, but when I ran vim inside the jail, it wouldn't start b/c it was missing a library. So I back tracked and installed the entire ports tree inside the jail and built stuff from there.) It takes around three hours to rebuild everything once, so this will be a limiting factor on how fast I can patch the system (unless I invest in another, faster machine just for compiling). - what directories in the template jail do i need to tar when applying an upgrade to other jails? just /usr and some selected pieces of /etc? - i need to support multiple ip's per jail. i found a patch that applies (pretty much--some wierdness in netinet6) against 5.4, but would like to use the existing rc.conf to manage startup. where would i look to modify the jail startup command to pass multiple ips? - what do people do with the mount command inside a jail--just delete it? are there other commands you take out? Thanks for any pointers, I think a section on jails would be a good addition to the handbook. Regards, m ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.11.9 - Release Date: 05/12/2005 -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.11.9 - Release Date: 05/12/2005 -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.11.12 - Release Date: 05/17/2005 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
php/apache/ssl core dumps
Hi all, Im trying to get Apache to work with both ssl and php. However, when ssl apache and php are installed and the php module is set to be loaded into apache, apache core dumps (11). Im using the latest ports tree. Also Ive tried any number of combinations of mod_php, php-extensions, apache13-mod_ssl, apache13-ssl, apache then openssl etc etc. This problem has been discussed before but none of the solutions seem to be working. Could anyone help ? Thanks, Ruben -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.11.10 - Release Date: 05/13/2005 -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.11.10 - Release Date: 05/13/2005 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
calculating/timing dump/restore
Hi all, I would like to time a dump/restore operation without actually sitting next to my box with a stopwatch. Specifically restore as dump already indicates the time it took. Can anybody help me out here? Thanks, Ruben ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FW: help please? corrupted hard disc - invalid super block.
It looks like you wrote the disklabel for the slice to the disk or vice-versa. If you check /dev there probably isn't a /dev/ad5s* there. Try mounting /dev/ad5e instead of /dev/ad5s1e. To verify, do a bsdlabel ad5s1 to see if you have a disklabel for the slice. Otherwise you could : 1.backup you disklabel #bsdlabel /dev/ad5e PATHdisklabel.BAK 2. write a correct disklabel for /dev/ad5s1 #bsdlabel -w -B ad5s1 3. Edit your disklabel to be correct : a. note the size values of #bsdlabel ad5s1 b. make another backup of your saved disklabel c. edit one of the backups and change the size value to the value you got from #bsdlabel ad5s1 d. write your edited disklabel to ad5s1 #bsdlabel -R ad5s1 PATHdisklabel.BAK This *should* return no errors. 4. try to mount ad5s1 Now this is all based on them hope that you don't have to erase the bad/sliceless disklabel on da5. Good luck, Ruben -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rob Sent: Monday, June 28, 2004 11:08 AM To: [EMAIL PROTECTED] Subject: help please? corrupted hard disc - invalid super block. Hi! I have a hard disc that I think must have been set up wrong initially... It was however working fine, but at some point filled up to capacity, wherapon the next reboot it failed to mount. System is 4.8-RELEASE, Generic Kernel. Currently the disc shows: luggage# mount -r /dev/ad5s1e /mnt mount: /dev/ad5s1e on /mnt: incorrect super block luggage# disklabel -r ad5 # /dev/ad5c: type: ESDI disk: ad5s1 label: flags: bytes/sector: 512 sectors/track: 63 tracks/cylinder: 255 sectors/cylinder: 16065 cylinders: 14593 sectors/unit: 234441585 rpm: 3600 interleave: 1 trackskew: 0 cylinderskew: 0 headswitch: 0 # milliseconds track-to-track seek: 0 # milliseconds drivedata: 0 8 partitions: #size offsetfstype [fsize bsize bps/cpg] c: 2344364820unused0 0# (Cyl.0 - 14592*) e: 23443648204.2BSD16384 16384 300 # (Cyl.0 - 14592*) Warning, partition c doesn't cover the whole unit! Warning, An incorrect partition c may cause problems for standard system utilities luggage# fsck /dev/ad5s1e Can't open /dev/ad5s1e: Invalid argument luggage# fsck -b 32 /dev/ad5s1e Alternate super block location: 32 Can't open /dev/ad5s1e: Invalid argument luggage# file -s /dev/ad5s1e /dev/ad5s1e: can't read `/dev/ad5s1e' (Invalid argument). At this point I am stuck ... most of the Invalid Super Block messages I can find when searching relate to cd-roms. If I could mount the disc even read-only, I could copy the data off. Can anybody give me any clues on where to go from here? Thanks in advance, Rob ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
md5 of a filesystem / verifying filesystem integrity after dump/restore operation
Hi all, Does someone know how to reliably run a checksum of sorts on a filesystem, to be able to verify filesystem integrity after a restore from dump level 0 has occurred? Thanks, Ruben ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: kdm and startkde
Show us your ~/.xinit ! for kdm/xdm/gdm, - check your hostname. Try to run xdm, gdm and kdm manually and let us know if there is any difference between them. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brett Wiggins Sent: Thursday, June 17, 2004 8:50 AM To: [EMAIL PROTECTED] Subject: kdm and startkde hello, I am having some problems with startkde and kdm. When I run startkde i get the following outpit; xset: unable to open dispaly xsetroot: unable to open display '' startkde: starting up... ksplash cannot connect to X server kdeinit: Aborting. $DISPLAY is not set Warning: connect() failed: : no such file or directory ksmserver : cannot connect to X server startkde: shutting down Warning: connect() failed: : no such file or directory Error : Can't contact kdeinit! startkde: Running shutdown scripts startkde: done When I run startx kde runs fine. When I edit /etc/ttys to enable a graphical login, kdm runs but nothing happens when I log in. The login screen is just reloaded. Any help would be great. Brett ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
identifying single drives on hardware RAID0
Hi all, Probably a dumb question here : but I want to identify a specific drive in RAID0 config, but only the logical drive is reported dmesg. Is this even possible ? Thanks in advance, Ruben ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: more kdm questions
Forgot to cc the list -Original Message- From: Ruben Bloemgarten [mailto:[EMAIL PROTECTED] Sent: Friday, June 18, 2004 8:13 PM To: 'Brett Wiggins' Subject: RE: more kdm questions # vi /etc/rc.conf Add hostname=yourhostname to the file Reboot will make the change permanent. For a temprary hostname : #hostname yourhostname To verify if the hostname was set : #hostname The hostname is not related to X nor xdm/gdm/kdm, but is a system parameter. Many applications will not function properly or at all without the machine knowing who it is. Xdm/kdm/gdm are amongst those appz that won't work without the hostname. Also, I always take the xinitrc template from /usr/X11R6/lib/X11/xinit, copy it to my home directory and modify at will. Good luck. -Original Message- From: Brett Wiggins [mailto:[EMAIL PROTECTED] Sent: Friday, June 18, 2004 6:21 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: more kdm questions hello again, Did you set the hostname ? This is going to sound like a stupid question but how do I set the hostname? I searched the archive for 'kdm hostname' and found nothing. Thanks again Brett hello (again), I am still having some problems with kdm, I have searched (again) the archives and the handbook. Below are the steps I took, files I edited during setup. After I installed the X window system and KDE I created the file ~/.xinitrc which contains; exec startkde after I created the file I could use startx to run KDE. I then setup KDM by editing the file /usr/X11R6/lib/X11/xdm/Xsession. I added the following to the file; case $# in 1) case $1 in kde) exec /usr/local/bin/startkde ;; failsafe) exec xtem -geometry 80x24-0-0 ;; esac esac Finally I added the following to /usr/X11R6/lib/X11/xdm/Xsetup_0; /usr/local/bin/kdmdesktop KDM loads but when I log in nothing happens, I just end up back at the login screen. This is all the info I can think of. If I missed any please let me know. Thanks again Brett ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: more kdm questions
You don't need do this to get kdm working. Only if you want it to start at boot. I suggest you do this when you get kdm working properly, not before. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Friday, June 18, 2004 8:01 PM To: [EMAIL PROTECTED] Subject: Re: more kdm questions Hi: Did you remember to change the line in /etc/ttys From: ttyv8 /usr/X11R6/bin/xdm -nodaemon xterm off secure To: ttyv8 /usr/X11R6/bin/kdm -nodaemon xterm on secure You can look at section 5.6.2 in the FreeBSD Handbook for more details. Also if you have any other troubles, then you may want to askk at the Kde FreeBSD site http://freebsd.kde.org/. Those pople are quite freindly and helpful. -- Original message from Bill Moran : -- Brett Wiggins wrote: Did you set the hostname ? This is going to sound like a stupid question but how do I set the hostname? I searched the archive for 'kdm hostname' and found nothing. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]