google-code-export / stoqs

Automatically exported from code.google.com/p/stoqs
GNU General Public License v3.0
1 stars 1 forks source link

Modernize the installation and setup procedures #57

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Follow the instructions in the PREREQUISITES and INSTALL files
2. This can take an experiences sysadmin the better part of a day to complete
3. Modern packaging and deployment tools can make this easier

See the answer for using a Makefile and vagrant from D.Shawley at:

http://stackoverflow.com/questions/18270859/do-i-need-to-use-virtualenv-with-vag
rant

Original issue reported on code.google.com by MBARIm...@gmail.com on 1 Jan 2015 at 8:42

GoogleCodeExporter commented 9 years ago
The purpose of this Issue is to create and document simpler installation of a 
STOQS development environment. It is suggested to use Vagrant, but there is 
also Docker. 

Read the discussions on this Stack Overflow thread to understand the tradeoffs 
between the two:

http://stackoverflow.com/questions/16647069/should-i-use-vagrant-or-docker-io-fo
r-creating-an-isolated-environment

Original comment by MBARIm...@gmail.com on 13 Feb 2015 at 8:16

GoogleCodeExporter commented 9 years ago
Good Afternoon I have been working on the STOQS Automation project and have 
been stuck for some time now. The problem I have been having is w/ starting the 
postgresql service. All the steps in the server.c file have worked up until:
[root@localhost /]# sudo /sbin/service postgresql-9.3 start
Starting postgresql-9.3 service:                           [FAILED]

I have tried several solutions found on the web and nothing has worked so far. 
Any Ideas would be appreciated. 
I am running VMWare Workstation 11, CentOS 6.6, & postgres 9.3.

Original comment by jergutie...@csumb.edu on 13 Feb 2015 at 8:58

GoogleCodeExporter commented 9 years ago
When you execute:

  sudo /sbin/service postgresql-9.3 start

The script /etc/init.d/postgresql-9.3 is executed. In it you can see that log 
messages are written to file:

  /var/lib/pgsql/9.3/pgstartup.log

Examine that file for error messages and fix those problems.

Original comment by MBARIm...@gmail.com on 13 Feb 2015 at 9:24

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
You installed postgresql-9.3 and have it running but are trying to install 
postgis from pgsql-9.4?

Make sure you've done the correct 'yum install' for the 9.3 version:

   sudo yum install postgis2_93

(Doing a 'yum search postgis' helps discover the different versions.)

Then try running the .sql scripts; see 
http://postgis.net/docs/postgis_installation.html#install_short_version

Original comment by MBARIm...@gmail.com on 14 Feb 2015 at 6:56

GoogleCodeExporter commented 9 years ago
Sorry about that last comment. I was running 2 VM's trying to clear errors I 
was getting from Postgres service failing. It appears that there was apart of 
CentOS that did not install correctly during the initial setup. I have started 
a new VM and have since cleared this problem.

Original comment by jergutie...@csumb.edu on 15 Feb 2015 at 1:29