我已经将postgres作为数据库安装,然后在Ubuntu 14.04中安装了iRODS。然后我开始配置
sudo /var/lib/irods/packaging/setup_irods.sh
在配置阶段之后,当iRODS开始更新时,前4个步骤顺利进行
Stopping iRODS server...
-----------------------------
Running irods_setup.pl...
Step 1 of 4: Configuring database user...
Updating user's .pgpass...
Skipped. File already uptodate.
Step 2 of 4: Creating database and tables...
Checking whether iCAT database exists...
[mydb] on [localhost] found.
Updating user's .odbc.ini...
Creating iCAT tables...
Skipped. Tables already created.
Testing database communications...
Step 3 of 4: Configuring iRODS server...
Updating /etc/irods/server_config.json...
Updating /etc/irods/database_config.json...
Step 4 of 4: Configuring iRODS user and starting server...
Updating iRODS user's ~/.irods/irods_environment.json...
Starting iRODS server...
但最后我收到此错误
Could not start iRODS server.
Starting iRODS server...
Traceback (most recent call last):
File "/var/lib/irods/iRODS/scripts/python/get_db_schema_version.py", line 77, in <module>
current_schema_version = get_current_schema_version(cfg)
File "/var/lib/irods/iRODS/scripts/python/get_db_schema_version.py", line 61, in get_current_schema_version
'get_current_schema_version: failed to find result line for schema_version\n\n{}'.format(format_cmd_result(result)))
RuntimeError: get_current_schema_version: failed to find result line for schema_version
return code: [0]
stdout:
stderr:
ERROR: relation "r_grid_configuration" does not exist
LINE 1: ...option_value from R_GRID_CON...
^
Confirming catalog_schema_version... Success
Validating [/var/lib/irods/.irods/irods_environment.json]... Success
Validating [/etc/irods/server_config.json]... Success
Validating [/etc/irods/hosts_config.json]... Success
Validating [/etc/irods/host_access_control_config.json]... Success
Validating [/etc/irods/database_config.json]... Success
(1) Waiting for process bound to port 5432 ... [-]
(2) Waiting for process bound to port 5432 ... [-]
(4) Waiting for process bound to port 5432 ... [-]
Port 5432 In Use ... Not Starting iRODS Server
Install problem:
Cannot start iRODS server.
Found 0 processes:
There are no iRODS servers running.
Abort.
你对出了什么问题有任何想法吗?
答案 0 :(得分:1)
因为我没有足够的声誉来发表评论:
您使用的是哪个版本的iRODS?
Creating iCAT tables...
Skipped. Tables already created.
结合这部分:
ERROR: relation "r_grid_configuration" does not exist
建议设置之前运行,但只是部分完成,使系统处于损坏状态。我建议从头开始重新安装,其中包括:
sudo dpkg -P irods-icat irods-database-plugin-postgres
-P
,以便从dpkg的数据库中删除配置文件。sudo rm -rf /tmp/irods /etc/irods /var/lib/irods
sudo /var/lib/irods/packaging/setup_irods.sh
(1) Waiting for process bound to port 5432 ... [-]
(2) Waiting for process bound to port 5432 ... [-]
(4) Waiting for process bound to port 5432 ... [-]
Port 5432 In Use ... Not Starting iRODS Server
建议您使用端口5432作为iRODS服务器端口。这将与默认的Postgres端口冲突。我建议使用1247
的默认iRODS服务器端口。在设置期间查询此值为:
iRODS server's port [1247]:
并记录在/etc/irods/server_config.json
条目下的zone_port
。
在iRODS-Chat google group上继续此操作可能会更容易。修复安装可能需要来回通信,这可能与标准stackoverflow使用不一致。