Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 9CA4C64FC13 for ; Fri, 26 Sep 2008 17:44:37 -0300 (ADT) Received: from postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 94571-01 for ; Fri, 26 Sep 2008 17:44:34 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.239]) by postgresql.org (Postfix) with ESMTP id 49B1F64FC01 for ; Fri, 26 Sep 2008 17:44:33 -0300 (ADT) Received: by rv-out-0506.google.com with SMTP id b25so1031643rvf.43 for ; Fri, 26 Sep 2008 13:44:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=B7lpDd5jBdDyHPdc1auXk0VdkWKeIYj7AzKlzOYk+KA=; b=JUqI0K68cSRyiLFMgwVFxtA1wQlV+srioHv4GDIfbIYeZQL3q0N2lQYk1KHL74tpsF BblSQWMRRWgn5lLYz0+ZiYGXUjXtoeUOWlh3vhQDHpYUOrSIuSI4ANkC6j7ylbgUV9vb Z6Om1cwvh0B1kFa6ZMXcI7HOQYUAm0kL+ZKwQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=iw6izadDC1iqAm3up4YPIJwtIKqmwAgFrjR4/ea1Ap139byHLhvd1XPoxlUSD/oAao Adq3Rs4Hzmlar9ZVZUP3Yhl4Nx2XPwmq8JiYHaQ4yhIXPQgQmuD3pCB3j1NGEop2Crxn tOB5VmvHWHsmuO2yT4WNieZ889uN+w9eh26js= Received: by 10.140.191.14 with SMTP id o14mr982096rvf.130.1222461871791; Fri, 26 Sep 2008 13:44:31 -0700 (PDT) Received: by 10.140.248.12 with HTTP; Fri, 26 Sep 2008 13:44:31 -0700 (PDT) Message-ID: Date: Fri, 26 Sep 2008 14:44:31 -0600 From: "Scott Marlowe" To: "Tena Sakai" Subject: Re: postgres at reboot Cc: pgsql-admin@postgresql.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200809/320 X-Sequence-Number: 30413 On Fri, Sep 26, 2008 at 2:38 PM, Tena Sakai wrote: > Hi Scott, > > When I issue: /sbin/chkconfig --list | grep postgres > it comes back with: > > postgresql_ORG 0:off 1:off 2:off 3:off 4:off 5:off 6:off > postgresql 0:off 1:off 2:on 3:on 4:on 5:on 6:off > > I felt a bit strange that it says 'off' at run level 6. Run level 6 is reboot, so that's normal. > I went into /etc/rc.d and issued: > sudo find . -name \*postgresql\* -ls | grep S98postgresql > and it came back with: > > 15618186 0 lrwxrwxrwx 1 root root 20 Aug 21 17:00 > ./rc4.d/S98postgresql -> ../init.d/postgresql > 15618294 0 lrwxrwxrwx 1 root root 20 Aug 21 17:00 > ./rc3.d/S98postgresql -> ../init.d/postgresql > 15618351 0 lrwxrwxrwx 1 root root 20 Aug 21 17:00 > ./rc2.d/S98postgresql -> ../init.d/postgresql > 15618024 0 lrwxrwxrwx 1 root root 20 Aug 21 17:00 > ./rc5.d/S98postgresql -> ../init.d/postgresql > > Next, I went into /etc/rc.d/rc6.d and typed: > ls -l > and it gave me this: > . . . . . . . . . . . > . . . . . . . . . . . > lrwxrwxrwx 1 root root 20 Aug 21 17:00 S98postgresq -> > ../init.d/postgresql > > There is an 'l' missing from the name! I thought for a moment It shouldn't be there, sounds like someone added it by hand. > I found the culprit, but then I issued the command below: > /sbin/chkconfig --list | grep '6:on' > and it returned nothing. > > I am a bit confused. As I understand, run level 6 means, in > redhat context, shutdown and reboot. But it seems in my case > nothing is turned on for level 6. Then that missing 'l' > is really of no significance? Right, nothing should be started for those run levels.