From owner-freebsd-questions@FreeBSD.ORG Mon Apr 17 00:30:16 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 05F7B16A408 for ; Mon, 17 Apr 2006 00:30:15 +0000 (UTC) (envelope-from beech@mangohealth.org) Received: from pinnacle.akherb.com (94-37-237-24.gci.net [24.237.37.94]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8372F43D46 for ; Mon, 17 Apr 2006 00:30:15 +0000 (GMT) (envelope-from beech@mangohealth.org) Received: by pinnacle.akherb.com (Postfix, from userid 1007) id 24DE55D12; Sun, 16 Apr 2006 16:30:15 -0800 (AKDT) X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on pinnacle.akherb.com X-Spam-Level: X-Spam-Status: No, score=0.0 required=4.0 tests=AWL autolearn=ham version=3.1.1 Received: from [192.168.2.160] (209-124-141-064.ip.arctic.net [209.124.141.64]) by pinnacle.akherb.com (Postfix) with ESMTP id B64655C03; Sun, 16 Apr 2006 16:30:12 -0800 (AKDT) From: Beech Rintoul Organization: Mangohealth To: freebsd-questions@freebsd.org Date: Sun, 16 Apr 2006 16:29:50 -0800 User-Agent: KMail/1.9.1 References: <4f6d31171304d84071b572ca97b2ce1b@prodigy.net> In-Reply-To: <4f6d31171304d84071b572ca97b2ce1b@prodigy.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart3536014.AnVaGI9xxq"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200604161630.07728.beech@mangohealth.org> Cc: jekillen Subject: Re: System user creation 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, 17 Apr 2006 00:30:16 -0000 --nextPart3536014.AnVaGI9xxq Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Sunday 16 April 2006 16:01, jekillen wrote: > Hello folks; > I am trying to create a system user for a program to use. > I haven't found any specific instructions for doing this in the FreeBSD > manual > or Absolute FreeBSD. > The program exits with an error saying it can't create/write to a pid > file. > I believe it is the way I used adduser to create it and I don't know > what > I did wrong. I assigned it the class bin and disabled the password and > assigned none as the home dir. > To remove mystery it is MySQL I am trying to get running. > This is the error file entry: > starting server errors: > 060417 17:38:49 [ERROR] /usr/local/mysql/libexec/mysqld: Can't > create/write to file '/usr/local/mysql/var/AMD64-939..pid' > (Errcode: 13) > 060417 17:38:49 [ERROR] Can't start server: can't create PID file: > Permission denied > 060417 17:38:49 mysqld ended How did you install mysql? That path doesn't look like the default port=20 install. Someone correct me if I'm wrong, but shouldn't that be=20 in /var/db/mysql? Anyway, user and group should be mysql - check your folde= r=20 permissions to make sure mysql can write there.=20 Beech =2D------------------------------------------------------------------------= =2D------------- Beech Rintoul - Sys. Administrator - beech@mangohealth.org /"\ ASCII Ribbon Campaign | Mangohealth \ / - NO HTML/RTF in e-mail | 201 East 9Th Avenue Ste.310 X - NO Word docs in e-mail | Anchorage, AK 99501 / \ - XanGo - http://www.mangohealth.org =2D------------------------------------------------------------------------= =2D------------- --nextPart3536014.AnVaGI9xxq Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQBEQuGP2TFLCHYGSF0RAmihAKCAq4htRBDpW6nGSFPEG4N1KrDRjQCcDmxM O6EAV3znURojfQQZD3yO5s4= =He1c -----END PGP SIGNATURE----- --nextPart3536014.AnVaGI9xxq--