health
[Top][All Lists]
Advanced

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

Re: [Health] GnuHealth installation help


From: mona gc
Subject: Re: [Health] GnuHealth installation help
Date: Thu, 26 Sep 2013 12:43:16 +0800 (SGT)

Dear Members, kindly help me to install GnuHealth on Ubuntu 12.04
Well, my installation goes fine. Kindly see the log of my installation at the bottom of this mail. But I struggle here,

Setting Up your Server Timezone

Find the server configuration file trytond.conf:
cd $HOME/gnuhealth/tryton/server/trytond-<YOUR_VERSION_NUMBER>/etc
While running above command as follows,
address@hidden:~/gnuhealth-2.2.0$ cd $HOME/gnuhealth/tryton/server/trytond-2.2.0/etc
I get this error,
-su: cd: /home/gnuhealth/gnuhealth/tryton/server/trytond-2.2.0/etc: No such file or directory
Kindly help me if anything goes wrong.
Regards,
Mohana

Log of my installation

address@hidden:~$ sudo -s
[sudo] password for mohan:
address@hidden:~# adduser gnuhealth
Adding user `gnuhealth' ...
Adding new group `gnuhealth' (1001) ...
Adding new user `gnuhealth' (1001) with group `gnuhealth' ...
Creating home directory `/home/gnuhealth' ...
Copying files from `/etc/skel' ...
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
Changing the user information for gnuhealth
Enter the new value, or press ENTER for the default
    Full Name []:
    Room Number []:
    Work Phone []:
    Home Phone []:
    Other []:
Is the information correct? [Y/n] y
address@hidden:~# su - postgres -c "createuser --createdb --no-createrole --no-superuser gnuhealth"
address@hidden:~# su - postgres -c "createuser --createdb --no-createrole --no-superuser gnuhealth"
createuser: creation of new role failed: ERROR:  role "gnuhealth" already exists
address@hidden:~# su - gnuhealth
address@hidden:~$ wget http://ftp.gnu.org/gnu/health/gnuhealth-latest.tar.gz
--2013-09-26 00:07:54--  http://ftp.gnu.org/gnu/health/gnuhealth-latest.tar.gz
Resolving ftp.gnu.org (ftp.gnu.org)... 208.118.235.20, 2001:4830:134:3::b
Connecting to ftp.gnu.org (ftp.gnu.org)|208.118.235.20|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3580147 (3.4M) [application/x-gzip]
Saving to: `gnuhealth-latest.tar.gz'

100%[======================================>] 3,580,147   61.8K/s   in 62s    

2013-09-26 00:08:57 (56.3 KB/s) - `gnuhealth-latest.tar.gz' saved [3580147/3580147]

address@hidden:~$ tar xzf gnuhealth-latest.tar.gz
address@hidden:~$ ls
examples.desktop  gnuhealth-2.2.0  gnuhealth-latest.tar.gz
address@hidden:~$ cd gnuhealth-*
address@hidden:~/gnuhealth-2.2.0$ ./gnuhealth_install.sh

[00:09:50][INFO] Starting GNU Health 2.2.0 installation...

[00:09:50][INFO] CHECKING REQUIREMENTS

[00:09:50]Looking for wget....
wget is /usr/bin/wget

[00:09:50]Looking for the Python Interpreter command...
python is /usr/bin/python

[00:09:50][INFO] Found Python 2.7.3

[00:09:50]-> Looking for PIP command...
[00:09:50][INFO] OK.

[00:09:50][INFO] Creating temporary directory...
[00:09:50][INFO] OK.

[00:09:50][INFO] Creating destination directories...
[00:09:50][INFO] OK.

[00:09:50][INFO] Getting list of lastest Tryton packages...
[00:10:29][INFO] OK.

[00:10:29][INFO] Installing python dependencies with pip...
Requirement already satisfied (use --upgrade to upgrade): lxml in /usr/lib/python2.7/dist-packages
Cleaning up...
Requirement already satisfied (use --upgrade to upgrade): relatorio in /usr/lib/python2.7/dist-packages
Requirement already satisfied (use --upgrade to upgrade): Genshi>=0.5 in /usr/lib/python2.7/dist-packages (from relatorio)
Requirement already satisfied (use --upgrade to upgrade): lxml>=2.0 in /usr/lib/python2.7/dist-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 /usr/lib/python2.7/dist-packages
Cleaning up...
Downloading/unpacking pytz>=2013b
  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/reference.pyc'

Storing complete log in /home/gnuhealth/.pip/pip.log
address@hidden:~/gnuhealth-2.2.0$
address@hidden:~/gnuhealth-2.2.0$ cd $HOME/gnuhealth/tryton/server/trytond-2.2.0/etc
-su: cd: /home/gnuhealth/gnuhealth/tryton/server/trytond-2.2.0/etc: No such file or directory





From: "address@hidden" <address@hidden>
To: address@hidden
Sent: Wednesday, 25 September 2013 12:00 PM
Subject: Health Digest, Vol 26, Issue 8

Send Health mailing list submissions to
    address@hidden

To subscribe or unsubscribe via the World Wide Web, visit
    https://lists.gnu.org/mailman/listinfo/health
or, via email, send a message with subject or body 'help' to
    address@hidden

You can reach the person managing the list at
    address@hidden

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Health digest..."


Today's Topics:

  1. Re: [sr #108396] GNU Health installation Healp needed (mona gc)
  2. Re: [sr #108396] GNU Health installation Healp needed
      (Luis Falcon)


----------------------------------------------------------------------

Message: 1
Date: Wed, 25 Sep 2013 19:36:40 +0800 (SGT)
From: mona gc <address@hidden>
To: Luis Falcon <address@hidden>
Cc: "address@hidden" <address@hidden>
Subject: Re: [Health] [sr #108396] GNU Health installation Healp
    needed
Message-ID:
    <address@hidden>
Content-Type: text/plain; charset="iso-8859-1"

Thanks dear Luis,
For your kind guidance. Since last 10 days i am spending 8-9 hrs everyday on this yet not getting any result.
I will be obliged if, you (community) systematically and step by step guide me in this installation. In lieu of this i may offer my volunteer service to GNU Health project developing some graphics.

Assistance required for: installation of GNU Health on Ubuntu 12.04

regards
Mohana




________________________________
From: Luis Falcon <address@hidden>
To: Luis Falcon <address@hidden>; Mona <address@hidden>
Sent: Wednesday, 25 September 2013 4:54 PM
Subject: [sr #108396] GNU Health installation Healp needed


Update of sr #108396 (project health):

? ? ? ? ? ? ? ? ? Status:? ? ? ? ? ? ? ? ? ? None => Works For Me? ? ? ? ?
? ? ? ? ? ?  Open/Closed:? ? ? ? ? ? ? ? ? ? Open => Closed? ? ? ? ? ? ? ?

? ? _______________________________________________________

Follow-up Comment #3:

Dear Mona

That section is for Arch Linux, a different operating system. You need to
follow the section on debian and derivatives.

Please write to address@hidden . There we do all the user and installation
support.

I'm closing the SR here and I wait for your answer to address@hidden mailing
list.

All the best !


? ? _______________________________________________________

Reply to this item at:

? <http://savannah.gnu.org/support/?108396>

_______________________________________________
? Message sent via/by Savannah
? http://savannah.gnu.org/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gnu.org/archive/html/health/attachments/20130925/62b117d7/attachment.html>

------------------------------

Message: 2
Date: Wed, 25 Sep 2013 09:12:17 -0300
From: Luis Falcon <address@hidden>
To: address@hidden
Subject: Re: [Health] [sr #108396] GNU Health installation Healp
    needed
Message-ID: <address@hidden>
Content-Type: text/plain; charset=ISO-8859-1

Dear Mona

On 09/25/2013 08:36 AM, mona gc wrote:
> Thanks dear Luis,
> For your kind guidance. Since last 10 days i am spending 8-9 hrs
> everyday on this yet not getting any result.
> I will be obliged if, you (community) systematically and step by step
> guide me in this installation. In lieu of this i may offer my volunteer
> service to GNU Health project developing some graphics.
> Assistance required for: installation of GNU Health on Ubuntu 12.04
Ubuntu is a Debian GNU/Linux derivative .

Please follow the requirements from this point :
https://en.wikibooks.org/wiki/GNU_Health/Operating_System-Specific_Notes#Debian_GNU.2FLinux_and_derivatives_.28eg.2C_Ubuntu.29

And then refer to the general installation instructions :

https://en.wikibooks.org/wiki/GNU_Health/Installation

Let us know how it goes.

Best regards

> regards
> Mohana
>
> ------------------------------------------------------------------------
> *From:* Luis Falcon <address@hidden>
> *To:* Luis Falcon <address@hidden>; Mona <address@hidden>
> *Sent:* Wednesday, 25 September 2013 4:54 PM
> *Subject:* [sr #108396] GNU Health installation Healp needed
>
> Update of sr #108396 (project health):
>
>                  Status:                    None => Works For Me       
>            Open/Closed:                    Open => Closed             
>
>    _______________________________________________________
>
> Follow-up Comment #3:
>
> Dear Mona
>
> That section is for Arch Linux, a different operating system. You need to
> follow the section on debian and derivatives.
>
> Please write to address@hidden <mailto:address@hidden> . There we do all
> the user and installation
> support.
>
> I'm closing the SR here and I wait for your answer to address@hidden
> <mailto:address@hidden> mailing
> list.
>
> All the best !
>
>
>    _______________________________________________________
>
> Reply to this item at:
>
>  <http://savannah.gnu.org/support/?108396>
>
> _______________________________________________
>  Message sent via/by Savannah
http://savannah.gnu.org/
>
>
>




------------------------------

_______________________________________________
Health mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/health


End of Health Digest, Vol 26, Issue 8
*************************************



reply via email to

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