2017-09-13 3 views
0

이전에 nominatim 데이터베이스를 생성 했으므로 이러한 문제가 발생하지 않았습니다.인덱스가 관계 "search_name_0"이 "Starting rank 2"에 없습니다.

"setup.php"명령이 "search_name_0"및 이와 같은 테이블을 생성하는 명령을 알려주십시오.

전체 오류 출력은 다음과 같습니다

-bash-4.2$ ./utils/setup.php --index --threads 8 --osm2pgsql-cache 24000 
nominatim version 2.5.1 

Starting indexing rank (0 to 4) using 8 threads 
Starting rank 0 
    Done 0 in 0 @ 0.000000 per second - FINISHED 

Starting rank 1 
    Done 0 in 0 @ 0.000000 per second - FINISHED 

Starting rank 2 
index_placex: UPDATE failed: ERROR: relation "search_name_0" does not exist 
LINE 1: DELETE from search_name_0 WHERE place_id = in_place_id 
        ^
QUERY: DELETE from search_name_0 WHERE place_id = in_place_id 
CONTEXT: PL/pgSQL function deletesearchname(integer,bigint) line 1260 at SQL statement 
PL/pgSQL function placex_update() line 75 at assignment 
index_placex: UPDATE failed: ERROR: relation "search_name_0" does not exist 
LINE 1: DELETE from search_name_0 WHERE place_id = in_place_id 
        ^
QUERY: DELETE from search_name_0 WHERE place_id = in_place_id 
CONTEXT: PL/pgSQL function deletesearchname(integer,bigint) line 1260 at SQL statement 
PL/pgSQL function placex_update() line 75 at assignment 
index_placex: UPDATE failed: ERROR: relation "search_name_0" does not exist 
LINE 1: DELETE from search_name_0 WHERE place_id = in_place_id 
        ^
QUERY: DELETE from search_name_0 WHERE place_id = in_place_id 
CONTEXT: PL/pgSQL function deletesearchname(integer,bigint) line 1260 at SQL statement 
PL/pgSQL function placex_update() line 75 at assignment 
index_placex: UPDATE failed: ERROR: relation "search_name_0" does not exist 
LINE 1: DELETE from search_name_0 WHERE place_id = in_place_id 
        ^
QUERY: DELETE from search_name_0 WHERE place_id = in_place_id 
CONTEXT: PL/pgSQL function deletesearchname(integer,bigint) line 1260 at SQL statement 
PL/pgSQL function placex_update() line 75 at assignment 
ERROR: Error executing external command: /srv/Nominatim-2.5.1/nominatim/nominatim -i -d nominatim -P 5432 -t 8 -R 4 
Error executing external command: /srv/Nominatim-2.5.1/nominatim/nominatim -i -d nominatim -P 5432 -t 8 -R 4 

-bash-4.2$ 

답변

0

그것은 파악하는 시간이 좀 걸렸지 만 설정의 당신의 "만들 파티션 테이블을"부분이 실패 할 때 발생합니다.

다시 시작하면 테이블을 다시 만들지 못합니다. 나는 수동으로 모든 파티션 테이블을 제거한 다음이 문제를 해결하기 위해 "create-partition-tables"키를 사용하여 설치를 다시 시작해야했습니다!