Date: Mon, 08 Jun 1998 18:15:06 +0600 From: Aleksey Zvyagin <zal@rest.ru> To: ports@FreeBSD.ORG Cc: freebsd-bugs@FreeBSD.ORG, freebsd-ports@FreeBSD.ORG Subject: About the troubleshooting of installing of the postgresql port Message-ID: <357BD5CA.5D3F06AD@rest.ru>
index | next in thread | raw e-mail
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-bugs" in the body of the message
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?357BD5CA.5D3F06AD>
