Re: [OPEN-ILS-GENERAL] Hate to be a pest, but where does the "section" end?
If you're reading the source file for the README, it's formatted to be generated out using Asciidoc syntax. So sections are split using the special markup language for defining various heading levels. For example, https://evergreen-ils.org/documentation/install/README_2_10.html#_optional_extra_steps_for_browser_based_staff_client That "section" is set automatically up as section 4 with clear beginning and end. So "Install dependencies for browser-based staff client" with the ~ under it defines one section, with parts under it with - - - - -, defining those parts of that section. Till the next subheading with ~ underlying it to start a new section. This is how Asciidoc syntax is applied, and I suppose it's easier to read in the generated HTML than in the native file, for those not familiar with that documentation syntax style? -- Ben PS: note for others that patch required to change the URL for that section to say from egdownloads not just downloads (since the move to WordPress for main site) Sent from my Nexus 6 On Jul 10, 2016 11:05 AM, "Jim Lynch" wrote: > In the Evergreen install document there is this statement: > > [NOTE] > Skip this entire section if you are using an official release tarball > downloaded > from http://evergreen-ils.org/downloads > > It's not obvious to the uninformed where the section ends. > > Thanks, > Jim. >
Re: [OPEN-ILS-GENERAL] postgres: FATAL: role "root" does not exist
The create user step from the README says to do it as the postgres user. You're attempting to run the command as the root user, hence the error message. You can switch users using something like "su postgres" -- Ben Sent from my Nexus 6 On Jul 10, 2016 11:53 AM, "Jim Lynch" wrote: > It looks like the install of postgres went in without error by running: > root@ubuntu-OptiPlex-755:~/Evergreen-ILS-2.10.5# make -f > Open-ILS/src/extras/Makefile.install postgres-server-ubuntu-trusty > But when I issued: > > root@ubuntu-OptiPlex-755:~/Evergreen-ILS-2.10.5# createuser -s -P > evergreen > Enter password for new role: > Enter it again: > createuser: could not connect to database postgres: FATAL: role "root" > does not exist > > Just in case I did > root@ubuntu-OptiPlex-755:~/Evergreen-ILS-2.10.5# /etc/init.d/postgresql > start > * Starting PostgreSQL 9.3 database server > > But a second attempt ad creating a user failed in the same manner. I'm not > a postgres person. I know mysql well. > > Thanks, > Jim. >
[OPEN-ILS-GENERAL] postgres: FATAL: role "root" does not exist
It looks like the install of postgres went in without error by running: root@ubuntu-OptiPlex-755:~/Evergreen-ILS-2.10.5# make -f Open-ILS/src/extras/Makefile.install postgres-server-ubuntu-trusty But when I issued: root@ubuntu-OptiPlex-755:~/Evergreen-ILS-2.10.5# createuser -s -P evergreen Enter password for new role: Enter it again: createuser: could not connect to database postgres: FATAL: role "root" does not exist Just in case I did root@ubuntu-OptiPlex-755:~/Evergreen-ILS-2.10.5# /etc/init.d/postgresql start * Starting PostgreSQL 9.3 database server But a second attempt ad creating a user failed in the same manner. I'm not a postgres person. I know mysql well. Thanks, Jim.
[OPEN-ILS-GENERAL] Hate to be a pest, but where does the "section" end?
In the Evergreen install document there is this statement: [NOTE] Skip this entire section if you are using an official release tarball downloaded from http://evergreen-ils.org/downloads It's not obvious to the uninformed where the section ends. Thanks, Jim.
Re: [OPEN-ILS-GENERAL] I can't find examples/apache_24/websockets/apache2.conf
Did you get OpenSRF from git? It will be with the OpenSRF files and not with the Apache websocket files. On 07/10/2016 08:37 AM, Jim Lynch wrote: > I obtained the files via git: > > root@ubuntu-OptiPlex-755:/tmp# git clone > https://github.com/disconnect/apache-websocket > Cloning into 'apache-websocket'... > remote: Counting objects: 124, done. > remote: Total 124 (delta 0), reused 0 (delta 0), pack-reused 124 > Receiving objects: 100% (124/124), 63.59 KiB | 0 bytes/s, done. > Resolving deltas: 100% (73/73), done. > Checking connectivity... done. > root@ubuntu-OptiPlex-755:/tmp# cd apache-websocket > root@ubuntu-OptiPlex-755:/tmp/apache-websocket# apxs2 -i -a -c > mod_websocket.c > /usr/share/apr-1.0/build/libtool --silent --mode=compile > --tag=disable-static x86_64-linux-gnu-gcc -std=gnu99 -prefer-pic -pipe > -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat > -Werror=format-security -D_FORTIFY_SOURCE=2 -DLINUX -D_REENTRANT > -D_GNU_SOURCE -pthread -I/usr/include/apache2 -I/usr/include/apr-1.0 > -I/usr/include/apr-1.0 -I/usr/include -c -o mod_websocket.lo > mod_websocket.c && touch mod_websocket.slo > /usr/share/apr-1.0/build/libtool --silent --mode=link > --tag=disable-static x86_64-linux-gnu-gcc -std=gnu99 -Wl,--as-needed > -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now-o mod_websocket.la > -rpath /usr/lib/apache2/modules -module -avoid-versionmod_websocket.lo > /usr/share/apache2/build/instdso.sh > SH_LIBTOOL='/usr/share/apr-1.0/build/libtool' mod_websocket.la > /usr/lib/apache2/modules > /usr/share/apr-1.0/build/libtool --mode=install install mod_websocket.la > /usr/lib/apache2/modules/ > libtool: install: install .libs/mod_websocket.so > /usr/lib/apache2/modules/mod_websocket.so > libtool: install: install .libs/mod_websocket.lai > /usr/lib/apache2/modules/mod_websocket.la > libtool: finish: > PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/sbin" > ldconfig > -n /usr/lib/apache2/modules > -- > Libraries have been installed in: >/usr/lib/apache2/modules > > On 07/10/2016 07:52 AM, Jim Lynch wrote: >> Step 5 (trusty) of the opensrf install instructions says to: >> >> cp examples/apache_24/websockets/apache2.conf /etc/apache2-websockets/ >> But there is no examples/apache_24 directory. >> >> root@ubuntu-OptiPlex-755:/tmp/apache-websocket# ls -l examples >> total 24 >> -rw-r--r-- 1 root root 1608 Jul 10 07:42 client.html >> -rw-r--r-- 1 root root 1621 Jul 10 07:42 increment.html >> -rw-r--r-- 1 root root 4762 Jul 10 07:42 mod_websocket_dumb_increment.c >> -rw-r--r-- 1 root root 1364 Jul 10 07:42 mod_websocket_echo.c >> -rw-r--r-- 1 root root 2192 Jul 10 07:42 SConstruct >> >> Thanks, >> Jim. >> >> >
Re: [OPEN-ILS-GENERAL] I can't find examples/apache_24/websockets/apache2.conf
You should find it if you start in the OpenSRF directory extracted from the tarball: [whatever]/[OpenSRF tarball directory]/examples/apache_24/websockets/apache2.conf You need to replace the parts in [] with whatever is appropriate on your computer. Could be we should add an explicit instruction to go back to the OpenSRF directory as part of that step? On 07/10/2016 07:52 AM, Jim Lynch wrote: > Step 5 (trusty) of the opensrf install instructions says to: > > cp examples/apache_24/websockets/apache2.conf /etc/apache2-websockets/ > But there is no examples/apache_24 directory. > > root@ubuntu-OptiPlex-755:/tmp/apache-websocket# ls -l examples > total 24 > -rw-r--r-- 1 root root 1608 Jul 10 07:42 client.html > -rw-r--r-- 1 root root 1621 Jul 10 07:42 increment.html > -rw-r--r-- 1 root root 4762 Jul 10 07:42 mod_websocket_dumb_increment.c > -rw-r--r-- 1 root root 1364 Jul 10 07:42 mod_websocket_echo.c > -rw-r--r-- 1 root root 2192 Jul 10 07:42 SConstruct > > Thanks, > Jim. >
Re: [OPEN-ILS-GENERAL] I can't find examples/apache_24/websockets/apache2.conf
I obtained the files via git: root@ubuntu-OptiPlex-755:/tmp# git clone https://github.com/disconnect/apache-websocket Cloning into 'apache-websocket'... remote: Counting objects: 124, done. remote: Total 124 (delta 0), reused 0 (delta 0), pack-reused 124 Receiving objects: 100% (124/124), 63.59 KiB | 0 bytes/s, done. Resolving deltas: 100% (73/73), done. Checking connectivity... done. root@ubuntu-OptiPlex-755:/tmp# cd apache-websocket root@ubuntu-OptiPlex-755:/tmp/apache-websocket# apxs2 -i -a -c mod_websocket.c /usr/share/apr-1.0/build/libtool --silent --mode=compile --tag=disable-static x86_64-linux-gnu-gcc -std=gnu99 -prefer-pic -pipe -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/apache2 -I/usr/include/apr-1.0 -I/usr/include/apr-1.0 -I/usr/include -c -o mod_websocket.lo mod_websocket.c && touch mod_websocket.slo /usr/share/apr-1.0/build/libtool --silent --mode=link --tag=disable-static x86_64-linux-gnu-gcc -std=gnu99 -Wl,--as-needed -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now-o mod_websocket.la -rpath /usr/lib/apache2/modules -module -avoid-versionmod_websocket.lo /usr/share/apache2/build/instdso.sh SH_LIBTOOL='/usr/share/apr-1.0/build/libtool' mod_websocket.la /usr/lib/apache2/modules /usr/share/apr-1.0/build/libtool --mode=install install mod_websocket.la /usr/lib/apache2/modules/ libtool: install: install .libs/mod_websocket.so /usr/lib/apache2/modules/mod_websocket.so libtool: install: install .libs/mod_websocket.lai /usr/lib/apache2/modules/mod_websocket.la libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/sbin" ldconfig -n /usr/lib/apache2/modules -- Libraries have been installed in: /usr/lib/apache2/modules On 07/10/2016 07:52 AM, Jim Lynch wrote: Step 5 (trusty) of the opensrf install instructions says to: cp examples/apache_24/websockets/apache2.conf /etc/apache2-websockets/ But there is no examples/apache_24 directory. root@ubuntu-OptiPlex-755:/tmp/apache-websocket# ls -l examples total 24 -rw-r--r-- 1 root root 1608 Jul 10 07:42 client.html -rw-r--r-- 1 root root 1621 Jul 10 07:42 increment.html -rw-r--r-- 1 root root 4762 Jul 10 07:42 mod_websocket_dumb_increment.c -rw-r--r-- 1 root root 1364 Jul 10 07:42 mod_websocket_echo.c -rw-r--r-- 1 root root 2192 Jul 10 07:42 SConstruct Thanks, Jim.
[OPEN-ILS-GENERAL] I can't find examples/apache_24/websockets/apache2.conf
Step 5 (trusty) of the opensrf install instructions says to: cp examples/apache_24/websockets/apache2.conf /etc/apache2-websockets/ But there is no examples/apache_24 directory. root@ubuntu-OptiPlex-755:/tmp/apache-websocket# ls -l examples total 24 -rw-r--r-- 1 root root 1608 Jul 10 07:42 client.html -rw-r--r-- 1 root root 1621 Jul 10 07:42 increment.html -rw-r--r-- 1 root root 4762 Jul 10 07:42 mod_websocket_dumb_increment.c -rw-r--r-- 1 root root 1364 Jul 10 07:42 mod_websocket_echo.c -rw-r--r-- 1 root root 2192 Jul 10 07:42 SConstruct Thanks, Jim.