Date: Mon, 08 Jun 1998 20:00:21 +0600 From: Aleksey Zvyagin <zal@rest.ru> To: freebsd-ports@FreeBSD.ORG Subject: About the troubleshooting of installing of the postgresql port Message-ID: <357BEE75.BA168460@rest.ru>
next in thread | raw e-mail | index | archive | help
Hello! Sorry for my bad English! About problem: I have been installing the PostGreSQL of 'port-current'. All were being right until the execution of 'createuser'. This script didn't create the pgsql user. I had found the error! This script (createuser) is written not correct! My Platform is: FreeBSD 2.2.6 /usr/bin/perl is version of 5.004 (i had replaced this binary from 4.0 to 5.003 version by manual) Following line is in script: system( "/usr/bin/chpass -a \"pgsql:*:$pgUID:$pgGID::0:0:PostgreSQL pseudo-user:$ENV{'PREFIX'}/pgsql:/bin/sh\"" ); I am having the error: chpass: corrupted entry The interpretation of string believes that "$pgGID::0" is member-data and the "$pgGID::0" will not be printed. I have the perl of version 5.004 by path /usr/bin/perl (standart version is 4.0 in FreeBSD). I would like to suggest a simple solution: To replace this string to following string: system( "/usr/bin/chpass -a \"pgsql:*:$pgUID:$pgGID\:\:0:0:PostgreSQL pseudo-user:$ENV{'PREFIX'}/pgsql:/bin/sh\"" ); Same script is located in /usr/ports/databases/msql. May be should it be changed too? -- Best regards, Aleksey Zvyagin, Ekaterinburg city, Ural region, Russia. E-mail: zal@rest.ru; UIN: 1381198; ntalk compatible: zal@zal.rest.ru; Mini-site: http://www.almaz.rest.ru ; HomePage: http://www.rest.ru/~zal/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?357BEE75.BA168460>