Date: Sun, 16 Apr 2006 16:29:50 -0800 From: Beech Rintoul <beech@mangohealth.org> To: freebsd-questions@freebsd.org Cc: jekillen <jekillen@prodigy.net> Subject: Re: System user creation Message-ID: <200604161630.07728.beech@mangohealth.org> In-Reply-To: <4f6d31171304d84071b572ca97b2ce1b@prodigy.net> References: <4f6d31171304d84071b572ca97b2ce1b@prodigy.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--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.<domain>.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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200604161630.07728.beech>