Date: Wed, 22 Jul 2009 00:55:29 +0400 From: Sergey Matveychuk <sem@FreeBSD.org> To: Romeo Paras <romeoparas@gmail.com> Cc: freebsd-ports@freebsd.org Subject: Re: Cacti installation error Message-ID: <4A662B41.5020100@FreeBSD.org> In-Reply-To: <1248181845.2437.1755.camel@strangepork.london.mintel.ad> References: <47f6550a0907202016j106f2621p17128b2a6fc42e46@mail.gmail.com> <86y6qihdme.fsf@gmail.com> <47f6550a0907202132q73577ac8wad3ce2884ed39728@mail.gmail.com> <86ws62bota.fsf@gmail.com> <47f6550a0907210232l764ee35ej5c2a9a61ecf5c989@mail.gmail.com> <6201873e0907210505n2fa1b91fu511ec9dfbd0d242b@mail.gmail.com> <47f6550a0907210514y5d24b133pc44742c5c1ec8d05@mail.gmail.com> <1248181845.2437.1755.camel@strangepork.london.mintel.ad>
next in thread | previous in thread | raw e-mail | index | archive | help
Tom Evans пишет: > On Tue, 2009-07-21 at 20:14 +0800, Romeo Paras wrote: >> I already free some spaces and when I tried it again by running ' make >> install clean' i received these errors; >> >> >> cacti-0.8.7e depends on file: /usr/local/lib/php/20060613/session.so - found >> >> ===> cacti-0.8.7e depends on file: /usr/local/lib/php/20060613/sockets.so - >> found >> ===> cacti-0.8.7e depends on file: /usr/local/lib/php/20060613/snmp.so - >> found >> ===> cacti-0.8.7e depends on file: /usr/local/lib/php/20060613/xml.so - >> found >> ===> cacti-0.8.7e depends on shared library: mysqlclient.15 - found >> cacti:*:107: >> You already have a group "cacti", so I will use it. >> pw: user 'cacti' already exists >> Adding user "cacti" failed... >> *** Error code 1 >> >> stop at /usr/ports/net-mgmt/cacti >> >> >> what will I do next? thanks > > Try freebsd-ports@, this doesn't seem to be related to X11 at all. > > The error message seems to be that it failed to add the user because it > already exists - perhaps try removing the user and retrying the > installation. > It should be happened really: if ${PW} user show "${CACTIUSER}" 2>/dev/null; then echo "You already have a user \"${CACTIUSER}\", so I will use it ." else if ${PW} useradd ${CACTIUSER} -u ${UID} -g ${CACTIGROUP} -h - \ -d "/nonexistent" -s /sbin/nologin -c "Cacti Sandbox" then echo "Added user \"${CACTIUSER}\"." else echo "Adding user \"${CACTIUSER}\" failed..." exit 1 fi fi What FreeBSD version you use? -- Dixi. Sem.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A662B41.5020100>