linear Road 搞了我两天了,但是还是没有结果出来。安装步骤完全是按照官方的步骤来的,但是还有问题
本人所使用的系统为fedora 9。postgresql为8.1
[postgresql@localhost bin]$ ./postmaster -D /opt/pg/data
LOG: database system was shut down at 2008-10-01 08:17:54 CST
LOG: checkpoint record is at 0/37A6F4
LOG: redo record is at 0/37A6F4; undo record is at 0/0; shutdown TRUE
LOG: next transaction ID: 757; next OID: 16406
LOG: next MultiXactId: 1; next MultiXactOffset: 0
LOG: database system is ready
LOG: transaction ID wrap limit is 2147484146,limited by database "postgres"
ERROR: relation "input" already exists
ERROR: Syntax error at or near "," at character 38
ERROR: could not open file "/home/postgresql/2xway/cardatapoints.out" for reading: No such file or directory
ERROR: relation "inputcarid" already exists
[postgresql@localhost mitsim-datagenerator]$ ./run mitsim.config10-1-2008 20:47:48> Creating input table.DBD::PgPP::st execute Failed: ERROR: relation "input" already exists10-1-2008 20:47:48> Linear road run number: 0Can't locate Math/Random.pm in @INC (@INC contains: /usr/lib/perl5/5.10.0/i386-linux-thread-multi /usr/lib/perl5/5.10.0 /usr/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl .) at MSL/OD.pm line 5.BEGIN Failed--compilation aborted at MSL/OD.pm line 5.Compilation Failed in require at linear-road.pl line 7.BEGIN Failed--compilation aborted at linear-road.pl line 7.10-1-2008 20:47:48> Querying max carid for next offset.10-1-2008 20:47:48> Generating history.10-1-2008 20:47:48> Importing cardatapoints 0 into input table.10-1-2008 20:47:48> Linear road run number: 1Can't locate Math/Random.pm in @INC (@INC contains: /usr/lib/perl5/5.10.0/i386-linux-thread-multi /usr/lib/perl5/5.10.0 /usr/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl .) at MSL/OD.pm line 5.BEGIN Failed--compilation aborted at MSL/OD.pm line 5.Compilation Failed in require at linear-road.pl line 7.BEGIN Failed--compilation aborted at linear-road.pl line 7.10-1-2008 20:47:48> Querying max carid for next offset.10-1-2008 20:47:48> Updating current xway to xway=1.Use of uninitialized value $numberOfCars[0] in concatenation (.) or string at /home/postgresql/mitsim-datagenerator/DuplicateCars.pl line 92.Use of uninitialized value $numberOfCars[1] in concatenation (.) or string at /home/postgresql/mitsim-datagenerator/DuplicateCars.pl line 92.DBD::PgPP::st execute Failed: ERROR: Syntax error at or near "," at character 3810-1-2008 20:47:48> Generating history.10-1-2008 20:47:48> Importing cardatapoints 1 into input table.DBD::PgPP::st execute Failed: ERROR: could not open file "/home/postgresql/2xway/cardatapoints.out" for reading: No such file or directory10-1-2008 20:47:48> Generating history.Use of uninitialized value $numberOfCars[0] in concatenation (.) or string at /home/postgresql/mitsim-datagenerator/DuplicateCars.pl line 111.to generate toll-history,give me # of xways,maxcarid at historical-tolls.pl line 3.10-1-2008 20:47:48> Adding indexes on input (carid),(carid,time),(time).DBD::PgPP::st execute Failed: ERROR: relation "inputcarid" already existsCould not open file: Permission denied at /home/postgresql/mitsim-datagenerator/DuplicateCars.pl line 131.
原文链接:https://www.f2er.com/postgresql/197341.html