health
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Health] GNU Health installation help


From: mona gc
Subject: Re: [Health] GNU Health installation help
Date: Sat, 28 Sep 2013 18:43:36 +0800 (SGT)

Dear Gabriela, Luis, KK CHN, Ronald,
Thanks for your help. unfortunately i yet could not scucced. your help is highly appreciated.
1. i did fresh installation of ubuntu 12.04.3 (as directed by our beloved Luis Falcon)

2.Run the following command as root (or using sudo):
# apt-get install python-pip postgresql build-essential python-dev libxml2-dev libxslt1-dev postgresql-server-dev-9.1 libldap2-dev libsasl2-dev

3.create the GNU Health operating system user (not admin):
# adduser gnuhealth
# su - postgres -c "createuser --createdb --no-createrole --no-superuser gnuhealth"

4.Becomming user gnuhealth:
su - gnuhealth
wget http://ftp.gnu.org/gnu/health/gnuhealth-latest.tar.gz
tar xzf gnuhealth-latest.tar.gz
cd gnuhealth-*

5. Run the gnuhealth_install.sh script
./gnuhealth_install.sh

I made many attemps everytime either same or other errors are occured as follows,

Attepmt 1
--------------------------------------------------
File "/usr/lib/python2.7/dist-packages/pip/download.py", line 441, in unpack_http_url
download_hash = _download_url(resp, link, temp_location)
File "/usr/lib/python2.7/dist-packages/pip/download.py", line 366, in _download_url
chunk = resp.read(4096)
File "/usr/lib/python2.7/socket.py", line 380, in read
data = ""
File "/usr/lib/python2.7/httplib.py", line 561, in read
s = self.fp.read(amt)
File "/usr/lib/python2.7/socket.py", line 380, in read
data = ""
File "/usr/lib/python2.7/ssl.py", line 241, in recv
return self.read(buflen)
File "/usr/lib/python2.7/ssl.py", line 160, in read
return self._sslobj.read(len)
SSLError: The read operation timed out


Attepmt 2
--------------------------------------

address@hidden:~/gnuhealth-2.2.0$ ./gnuhealth_install.sh
[13:13:12][INFO] Starting GNU Health 2.2.0 installation...
[13:13:12][INFO] CHECKING REQUIREMENTS
[13:13:12]Looking for wget....
wget is /usr/bin/wget
[13:13:12]Looking for the Python Interpreter command...
python is /usr/bin/python
[13:13:12][INFO] Found Python 2.7.3
[13:13:12]-> Looking for PIP command...
[13:13:12][INFO] OK.
[13:13:12][INFO] Creating temporary directory...
[13:13:12][INFO] OK.
[13:13:12][INFO] Creating destination directories...
[13:13:12][INFO] OK.
[13:13:12][INFO] Getting list of lastest Tryton packages...
[13:15:02][INFO] OK.
[13:15:02][INFO] Installing python dependencies with pip...
Requirement already satisfied (use --upgrade to upgrade): lxml in /home/gnuhealth/.local/lib/python2.7/site-packages
Cleaning up...
Requirement already satisfied (use --upgrade to upgrade): relatorio in /home/gnuhealth/.local/lib/python2.7/site-packages
Requirement already satisfied (use --upgrade to upgrade): Genshi>=0.5 in /home/gnuhealth/.local/lib/python2.7/site-packages (from relatorio)
Requirement already satisfied (use --upgrade to upgrade): lxml>=2.0 in /home/gnuhealth/.local/lib/python2.7/site-packages (from relatorio)
Cleaning up...
Requirement already satisfied (use --upgrade to upgrade): python-dateutil in /usr/lib/python2.7/dist-packages
Cleaning up...
Requirement already satisfied (use --upgrade to upgrade): psycopg2 in /home/gnuhealth/.local/lib/python2.7/site-packages
Cleaning up...
Downloading/unpacking pytz>=2013b
Cannot fetch index base URL http://pypi.python.org/simple/
Downloading pytz-2013d.tar.bz2 (204Kb): 204Kb downloaded
Running setup.py egg_info for package pytz
warning: no files found matching '*.pot' under directory 'pytz'
warning: no previously-included files found matching 'test_zdump.py'
Installing collected packages: pytz
Found existing installation: pytz 2011k
Uninstalling pytz:
Exception:
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 126, in main
self.run(options, args)
File "/usr/lib/python2.7/dist-packages/pip/commands/install.py", line 228, in run
requirement_set.install(install_options, global_options)
File "/usr/lib/python2.7/dist-packages/pip/req.py", line 1089, in install
requirement.uninstall(auto_confirm=True)
File "/usr/lib/python2.7/dist-packages/pip/req.py", line 476, in uninstall
paths_to_remove.remove(auto_confirm)
File "/usr/lib/python2.7/dist-packages/pip/req.py", line 1391, in remove
renames(path, new_path)
File "/usr/lib/python2.7/dist-packages/pip/util.py", line 248, in renames
shutil.move(old, new)
File "/usr/lib/python2.7/shutil.py", line 297, in move
rmtree(src)
File "/usr/lib/python2.7/shutil.py", line 250, in rmtree
onerror(os.remove, fullname, sys.exc_info())
File "/usr/lib/python2.7/shutil.py", line 248, in rmtree
os.remove(fullname)
OSError: [Errno 13] Permission denied: '/usr/lib/python2.7/dist-packages/pytz/exceptions.py'
Storing complete log in /home/gnuhealth/.pip/pip.log
-------------------------------------------------------------------------------

also if try to change permission of file as a root can not change the permission. strange.
kindly help.

regards.








From: Gabriela Brenes <address@hidden>
To: mona gc <address@hidden>
Sent: Saturday, 28 September 2013 12:30 AM
Subject: Re: GNU Health installation help

Hello, Mona,

Thank you so much for your interest in GNU Health. I will be more than happy to help you through it. First I'd like to know how far you got with the installation and if there was a point in particular where you felt lost or blocked.

Best regards,

GNU Solidario
health.gnu.org

Universality in Health Care,
eHealth for all!



On Mon, Sep 23, 2013 at 7:22 AM, mona gc <address@hidden> wrote:
Greetings All,
I am kindly new to linux and seeking the assistance of this group in effort to provide
a guideline to install Tryton 2.8 & GNU Health 2 on Ubuntu 12.04.
I have already downloaded GNU Health 2.0  and have installed Tryton 2.0
from the repositories.  I will be obliged, if someone help me to install GNU Health using teamviewer or provide video/pics tutor for the same. i have referred http://en.wikibooks.org/wiki/GNU_Health/Installation but no luck.
Grateful for your support,
Regards,
Mona




reply via email to

[Prev in Thread] Current Thread [Next in Thread]