From owner-freebsd-questions@FreeBSD.ORG Mon Jan 5 21:51:10 2009 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 4B83A106564A for ; Mon, 5 Jan 2009 21:51:10 +0000 (UTC) (envelope-from stanb@panix.com) Received: from mail1.panix.com (mail1.panix.com [166.84.1.72]) by mx1.freebsd.org (Postfix) with ESMTP id 03BC18FC17 for ; Mon, 5 Jan 2009 21:51:10 +0000 (UTC) (envelope-from stanb@panix.com) Received: from mailbackend.panix.com (mailbackend.panix.com [166.84.1.89]) by mail1.panix.com (Postfix) with ESMTP id 3F66829407 for ; Mon, 5 Jan 2009 16:51:09 -0500 (EST) Received: from teddy.fas.com (c-76-26-198-188.hsd1.sc.comcast.net [76.26.198.188]) by mailbackend.panix.com (Postfix) with ESMTP id 0EBE71E5C3 for ; Mon, 5 Jan 2009 16:51:09 -0500 (EST) Received: from stan by teddy.fas.com with local (Exim 3.36 #1 (Debian)) id 1LJxLo-0004bO-00 for ; Mon, 05 Jan 2009 16:51:08 -0500 Date: Mon, 5 Jan 2009 16:51:08 -0500 From: stan To: freebsd-questions@freebsd.org Message-ID: <20090105215108.GA17430@teddy.fas.com> Mail-Followup-To: freebsd-questions@freebsd.org References: <20090104031501.GA28244@teddy.fas.com> <20090104033518.GA13260@the-grills.com> <20090104035556.GB28994@teddy.fas.com> <20090104040943.GB13260@the-grills.com> <20090104042402.GA29640@teddy.fas.com> <20090104044236.GC13260@the-grills.com> <20090104045115.GB29868@teddy.fas.com> <20090104190044.GA17603@the-grills.com> <20090104203319.GA15823@teddy.fas.com> <20090104224540.GA18390@the-grills.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090104224540.GA18390@the-grills.com> X-Editor: gVim X-Operating-System: Debian GNU/Linux X-Kernel-Version: 2.4.23 X-Uptime: 16:36:18 up 238 days, 22:58, 2 users, load average: 0.01, 0.01, 0.00 User-Agent: Mutt/1.5.4i Sender: Stan Brown Subject: Re: PHP setup question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Jan 2009 21:51:10 -0000 On Sun, Jan 04, 2009 at 04:45:41PM -0600, Kelly D. Grills wrote: > On Sun, Jan 04, 2009 at 03:33:19PM -0500, stan wrote: > > > > OK, I did make some progress here. I figured out that I needed to change > > the grant to: > > > > GRANT ALL ON ampache to 'ampache_user'@'localhost' IDENTIFIED BY 'xxxxx' ; > > > > Then I entered this passwrd in the step 2 install page, and tried to write > > the config file. I could not, but,as stated in the docs, it offered to ket > > me download it. I did so, and put it in /usr/local/www/ampache/config. I > > set the owner to www. Good so, far, but now when I try to proced to step 3, > > I get: > > > > Error: Config file detected, Ampache is already installed > > > > So, I am guessing I should have somehow continued to set up this file > > without putting it in place? > > Well, I don't know every step you've taken, but this seems to have become > much more difficult than it needs to be. All I've ever done is to install > the ampache port and run through the web setup, no manually futzing with > the database, etc. > > At this point I would: > > 1: deinstall the ampache port, manually rm /usr/local/www/ampache if required > 2: drop the ampache database you've manually created > 3: reinstall the ampache port > 4: edit the default config file to quote those rss string values > (/usr/local/www/ampache/config/ampache.cfg.php.dist) > 5: run through the web setup Clearly I am still confused. :-( I just duid as you sugested, and all went well untill I pushed the "Write Config" button at Step 2. At this point I was offered teh option fo downlaoding to the machine that I was running the web browser on this config file. Since this is where I got hung up last. I stoped to ask what I am doing wrong. If I download this file, and put it in the config directory, based upon previous behavior the setup process will refuse to run, because the config file exists. What basic misunderstanding do I ahve here? -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs.