From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.62) (envelope-from ) id 1I90k0-00067J-QV for garchives@archives.gentoo.org; Thu, 12 Jul 2007 15:38:05 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l6CFaqAO009711; Thu, 12 Jul 2007 15:36:52 GMT Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by robin.gentoo.org (8.14.0/8.14.0) with ESMTP id l6CFWcue004883 for ; Thu, 12 Jul 2007 15:32:39 GMT Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id DFD4B656AD for ; Thu, 12 Jul 2007 15:32:38 +0000 (UTC) X-Virus-Scanned: amavisd-new at gentoo.org X-Spam-Score: -0.306 X-Spam-Level: X-Spam-Status: No, score=-0.306 required=5.5 tests=[AWL=2.062, BAYES_00=-2.599, DNS_FROM_AHBL_RHSBL=0.231] Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id R1yAoMhwc4fp for ; Thu, 12 Jul 2007 15:32:37 +0000 (UTC) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.177]) by smtp.gentoo.org (Postfix) with ESMTP id 6CC716567F for ; Thu, 12 Jul 2007 15:32:37 +0000 (UTC) Received: by wa-out-1112.google.com with SMTP id j5so234114wah for ; Thu, 12 Jul 2007 08:32:36 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=Kw4lqyb8wIunxlej7h9eH4266UJnNMQu1QaoPMcUnp96jb4Rk5/9kdUEiDPDlSIaUQpnPaH3IbefPlPWo+uKbgk2cJKW9q/zf7+p+qm7lL1kLCrhaVm28ANEgoF5xxB0dJ7evJXLQq3QxeuA8uDG9s+AmrgqJ4Lojo10J2kOc14= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=lpLetnEf/d6fKuUEVGeosCVVqPBsSCuQf0tudamJtpfrsroSJZiewPjJ51/dpwFhBLYDPZKXnunCmNoKJm8m6NqjpslV1q9Bj9wzIMHVCRrs0oV7dgukXnqlo4gkaP7QW9Ej9hGxbpLqz5coGR/XStFl944AAQfbco7HhXIHPyc= Received: by 10.115.77.1 with SMTP id e1mr688078wal.1184254356783; Thu, 12 Jul 2007 08:32:36 -0700 (PDT) Received: by 10.114.195.13 with HTTP; Thu, 12 Jul 2007 08:32:36 -0700 (PDT) Message-ID: <13b70780707120832h3c8200eelc88b644fe9b4f9af@mail.gmail.com> Date: Thu, 12 Jul 2007 16:32:36 +0100 From: "Frank Wilson" To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] debugging init scripts Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Archives-Salt: 555143c3-2885-45f5-848f-89721dadda24 X-Archives-Hash: e9caad7db443a591a8f7660330929f4b I'm trying to debug an init script / daemon I'm trying to run. I can't seem to print the debug output to print to a file. For example I enter: /etc/init.d/apache2 restart --debug >> /root/apache2.debug or /etc/init.d/apache2 restart --debug > /root/apache2.debug but I get none of the debug output. Also less insists that /root/apache2.debug is a binary file... not sure why. Hope you guys can set me straight! Thanks, Frank -- gentoo-user@gentoo.org mailing list