From owner-freebsd-questions@FreeBSD.ORG Mon Apr 14 17:20:02 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 951631065670 for ; Mon, 14 Apr 2008 17:20:02 +0000 (UTC) (envelope-from frank@esperance-linux.co.uk) Received: from mailout.zetnet.co.uk (mailout.zetnet.co.uk [194.247.47.231]) by mx1.freebsd.org (Postfix) with ESMTP id 252418FC12 for ; Mon, 14 Apr 2008 17:20:01 +0000 (UTC) (envelope-from frank@esperance-linux.co.uk) Received: from irwell.zetnet.co.uk ([194.247.47.48] helo=zetnet.co.uk) by mailout.zetnet.co.uk with esmtp (Exim 4.63) (envelope-from ) id 1JlSLV-0001F5-EY; Mon, 14 Apr 2008 18:19:57 +0100 Received: from melon.esperance-linux.co.uk (54-144.adsl.zetnet.co.uk [194.247.54.144]) by zetnet.co.uk (8.14.1/8.14.1/Debian-9) with ESMTP id m3EHJu8x032423; Mon, 14 Apr 2008 18:19:57 +0100 Received: by melon.esperance-linux.co.uk (Postfix, from userid 1001) id 6E40AFCA4B0; Mon, 14 Apr 2008 17:43:30 +0100 (BST) Date: Mon, 14 Apr 2008 17:43:30 +0100 From: Frank Shute To: Eric Message-ID: <20080414164330.GA48818@melon.esperance-linux.co.uk> Mail-Followup-To: Eric , freebsd-questions References: <480258D5.1090301@mikestammer.com> <48029945.1040302@paraklet.net> <4802B0FC.3090208@mikestammer.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4802B0FC.3090208@mikestammer.com> User-Agent: Mutt/1.4.2.3i X-Face: *}~{PHnDTzvXPe'wl_-f%!@+r5; VLhb':*DsX%wEOPg\fDrXWQJf|2\,92"DdS%63t*BHDyQ|OWo@Gfjcd72eaN!4%NE{0]p)ihQ1MyFNtWL X-Operating-System: FreeBSD 6.3-RELEASE i386 X-Organisation: 'Esperance Linux' X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (zetnet.co.uk [194.247.46.1]); Mon, 14 Apr 2008 18:19:57 +0100 (BST) Cc: freebsd-questions Subject: Re: start up scripts stopped working X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Frank Shute List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Apr 2008 17:20:02 -0000 On Sun, Apr 13, 2008 at 07:18:52PM -0600, Eric wrote: > > tomasz dereszynski wrote: > >Eric wrote: > >>hello, > >> > >>does anyone know what I can do to fix the following problem? Every > >>time my FreeBSd 6.2 machine reboots, none of the scripts in the > >>/usr/local/etc/rc.d directory launch the various programs i have > >>defined in my rc.conf file. when i added > >> > >>rc_info=yes > >>rc_debug=yes > >> > >>to rc.conf i see things getting evaluated, but nothing is launched. > >>this forces someone to log in locally to the machine and start > >>openssh so i can get to the box. > >> > >>does anyone know what could be causing this? > >Hi Eric, > > > >can you copy your rc.conf file? > > > >would be easier to say something... > >cheers > > > sure, here it is: > > defaultrouter="192.168.0.1" > hostname="someservername" > ifconfig_xl0="inet 192.168.0.51 netmask 255.255.255.0" > > > #sshd_program=/usr/local/sbin/sshd > #sshd_enable="YES" > # disable built in SSH and enable SSH_portable > sshd_enable="NO" > openssh_enable="YES" > > font8x8="swiss-8x8" > font8x14="NO" > font8x16="swiss-8x16" > > saslauthd_enable=YES > > postgrey_enable="YES" > > sendmail_enable="YES" > sendmail_flags="-bd" > sendmail_outbound_enable="NO" > sendmail_submit_enable="NO" > sendmail_msp_queue_enable="NO" > > clamav_freshclam_enable=YES > clamav_clamd_enable=YES > > amavisd_enable=YES > > dovecot_enable=YES > > apache22_enable=YES > samba_enable=YES > smartd_enable="YES" > > mysql_enable="YES" > > vsftpd_enable="YES" > > denyhosts_enable="YES" > > mailgraph_enable="YES" > > ddclient_enable="YES" > > twdm2_enable="YES" > > kern_securelevel="1" > kern_securelevel_enable="YES" > I spotted a couple of things with your rc.conf that could be causing you trouble: 1) There are a lot of unquoted YES's for enabling services. I don't know if that could screw thing's up but for form's sake, I'd try quoting them and rebooting. 2) You seem to have set your security level quite high. I can't find where they are documented in 6.3 (in 7.0 under security(7)) but it could be worth a try commenting out the securelevel lines and rebooting and then setting your security level through sysctl (I think you can do that). HTH. -- Frank Contact info: http://www.shute.org.uk/misc/contact.html