From: Sergey <a_s_y@sama.ru> To: "ALT Linux sysadmins' discussion" <sysadmins@lists.altlinux.org> Subject: Re: [Sysadmins] Установка noc-0.7.0-alt4 Date: Tue, 4 Sep 2012 13:36:33 +0400 Message-ID: <201209041336.33424.a_s_y@sama.ru> (raw) In-Reply-To: <CAEdvWkQ_ybAcmSR6KBFbJgQZBpiJXTH8KuJskPawwQm+iv3PCQ@mail.gmail.com> On Saturday 01 September 2012, Alexey Shabalin wrote: >> Что-то не доупаковано в postgis-1.5.3-alt1, или просто скрипт >> ищет это не там, где надо ? > > Postgis надо добавлять как описано в его документации. Описано там просто: So, as postgres run: createlang plpgsql <yourdatabase> psql -f postgis/postgis.sql -d <your_database> > Readme я не писал, а сейчас и не вспомню. postgis.sql находится в пакете postgresql9.1-postgis, попадает в /usr/share/pgsql/contrib/postgis-1.5/ Попытка исполнения post-update из noc встаёт теперь на django.db.utils.DatabaseError: could not access file "$libdir/postgis-1.5": No such file or directory при попытке запуска /usr/share/pgsql/contrib/postgis-1.5/postgis.sql Попытка сделать аналогичное по инструкуии из postgis заканчивается аналогично: -bash-3.2$ psql -f /usr/share/pgsql/contrib/postgis-1.5/postgis.sql -d noc SET BEGIN psql:/usr/share/pgsql/contrib/postgis-1.5/postgis.sql:59: ERROR: could not access file "$libdir/postgis-1.5": No such file or directory psql:/usr/share/pgsql/contrib/postgis-1.5/postgis.sql:65: ERROR: current transaction is aborted, commands ignored until end of transaction block (и т.д., строк на несколько тысяч) $libdir куда должен указывать ? Если на /usr/share/pgsql/contrib/postgis-1.5/, то там не видно ничего, что напоминало бы библиотеку функций, а больше у меня "postgis-1.5" нигде в системе не встречается. Что-то ещё не доустановлено ? -- С уважением, Сергей a_s_y@sama.ru
next prev parent reply other threads:[~2012-09-04 9:36 UTC|newest] Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top 2011-10-10 17:46 [Sysadmins] Установка noc-0.6.3-alt1 Sergey 2011-10-11 10:46 ` Alexey Shabalin 2011-10-11 12:26 ` Sergey 2011-10-11 12:32 ` Sergey 2011-10-11 14:01 ` Alexey Shabalin 2012-08-31 13:45 ` [Sysadmins] Установка noc-0.7.0-alt4 Sergey 2012-08-31 13:59 ` Alexey Shabalin 2012-08-31 14:53 ` Sergey 2012-08-31 15:27 ` Alexey Shabalin 2012-08-31 21:25 ` Sergey 2012-09-04 9:36 ` Sergey [this message] 2012-09-04 13:25 ` Sergey 2012-09-04 13:34 ` Alexey Shabalin 2012-09-04 13:48 ` Sergey 2012-09-06 6:01 ` Sergey 2012-09-06 7:07 ` Sergey 2012-09-07 6:57 ` Sergey 2012-09-07 8:29 ` Sergey 2012-09-10 13:38 ` Sergey 2012-09-10 14:02 ` Viacheslav Dubrovskyi 2012-09-10 7:23 ` Sergey 2012-09-07 11:28 ` Sergey 2012-09-10 13:00 ` Sergey 2012-09-11 12:53 ` Sergey 2012-09-11 15:19 ` Sergey
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=201209041336.33424.a_s_y@sama.ru \ --to=a_s_y@sama.ru \ --cc=sysadmins@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux sysadmins discussion This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \ sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com public-inbox-index sysadmins Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.sysadmins AGPL code for this site: git clone https://public-inbox.org/public-inbox.git