Login | Register
My pages Projects Community openCollabNet

Discussions > users > Re: RE : Apache Problem

Project highlights: Stable Version: 1.6.1, Development Version: 1.7.6

current
Discussion topic

Back to topic list

Re: RE : Apache Problem

Reply

Author Jared Greenwald <greenwaldjared at gmail dot com>
Full name Jared Greenwald <greenwaldjared at gmail dot com>
Date 2007-11-29 05:32:57 PST
Message On Nov 29, 2007 6:13 AM, Darryl Plank <Darryl dot Plank at aems dot net> wrote:
>
>
> I wonder what account I should use? "Postgres" or "root"? I tried both and
> neither work.

What user are you connecting as when you were testing the connection earlier?

> When I type:
>
> cadmin.py -s http://localhost/XMLRPC test
>
> I get:
>
> cadmin.py: command not found
>
> This seems logical since "cadmin.py" is in "/usr/share/current/api/", which
> is not in the environment variable "PATH".

Why not just put cadmin somewhere that IS in your path? I personally
have it as /usr/bin/cadmin (or /usr/bin/cadmin.py). It really doesn't
matter where the cadmin command is at in the filesystem because the
whole of current is in the site-packages directory which is part of
the python path. This means that the import statements in the current
files will work no matter where cadmin is.

>
> If I include the directory in PATH, and try again, I get an error saying
> "cadmin.py" is not executable. This also seems logical, since "cadmin.py"
> is a python script, and there is no mechanism in place to associate files
> ending in "py" with python. If I force things by putting "python" in front
> of "cadmin.py", I get another series of errors ...
>
> The documentation says the installation of the python scripts is as simple
> as copying them from the tarball to "/usr/share/current". This is what I
> did, but I wonder if things are really that simple. In the tarball for
> current-1.6.1 I found the python scripts in a directory named "src". I
> copied the contents of this directory, which includes subdirectories, to
> "/usr/share/current".
>
> However it seems the procedure explained in the documentation is incomplete,
> and I'm not sure how to complete it.
>
> -- Darryl
>
> > -----Message d'origine-----
> > De: Jared Greenwald [mailto:greenwaldjar​ed at gmail dot com]
> > Envoyé: mardi 27 novembre 2007 16:11
> > À: users at current dot tigris dot org
> > Objet: Re: Apache Problem
>
> > The XMLRPC interface isn't something that you would look at in your
> > browser. The fact that you see the test page at all means that the
> > server is up and running. You could try running the test command -
> > that would test the client/server pieces are working. Something
> > like....
>
> > cadmin.py -s http://localhost/XMLRPC test
>
> > If you don't get any errors from that, you should be all set to start
> > working with current.
>
> > -Jared
>
>
>
>
> --------------------​--------------------​--------------------​---------
> To unsubscribe, e-mail: users-unsubscribe@cu​rrent.tigris.org
> For additional commands, e-mail: users-help at current dot tigris dot org
>
>

« Previous message in topic | 24 of 27 | Next message in topic »

Messages

Show all messages in topic

No module named pgdb dplank Darryl Plank 2007-11-23 01:04:36 PST
     RE : No module named pgdb dplank Darryl Plank 2007-11-23 03:09:07 PST
         cinstall initdb doesn't work dplank Darryl Plank 2007-11-23 03:59:36 PST
             Re: cinstall initdb doesn't work Jared Greenwald <greenwaldjared at gmail dot com> Jared Greenwald <greenwaldjared at gmail dot com> 2007-11-23 06:37:50 PST
                 RE : cinstall initdb doesn't work dplank Darryl Plank 2007-11-23 06:47:46 PST
                     Re: RE : cinstall initdb doesn't work Jared Greenwald <greenwaldjared at gmail dot com> Jared Greenwald <greenwaldjared at gmail dot com> 2007-11-23 06:57:06 PST
                         RE : RE : cinstall initdb doesn't work dplank Darryl Plank 2007-11-26 06:48:58 PST
                             Re: RE : RE : cinstall initdb doesn't work Jared Greenwald <greenwaldjared at gmail dot com> Jared Greenwald <greenwaldjared at gmail dot com> 2007-11-26 06:54:06 PST
                                 RE : RE : RE : cinstall initdb doesn't work dplank Darryl Plank 2007-11-27 02:22:06 PST
                                     Apache Problem dplank Darryl Plank 2007-11-27 02:26:10 PST
                                     Re: RE : RE : RE : cinstall initdb doesn't work Jared Greenwald <greenwaldjared at gmail dot com> Jared Greenwald <greenwaldjared at gmail dot com> 2007-11-27 06:18:10 PST
                                         Apache Problem dplank Darryl Plank 2007-11-27 06:36:39 PST
                                             Re: Apache Problem Jared Greenwald <greenwaldjared at gmail dot com> Jared Greenwald <greenwaldjared at gmail dot com> 2007-11-27 07:11:09 PST
                                                 cadmin create_channel for Red Hat Enterprise Linux 4.0 dplank Darryl Plank 2007-11-29 02:46:03 PST
                                                     Re: cadmin create_channel for Red Hat Enterprise Linux 4.0 Jared Greenwald <greenwaldjared at gmail dot com> Jared Greenwald <greenwaldjared at gmail dot com> 2007-11-29 05:25:41 PST
                                                         RE : cadmin create_channel for Red Hat Enterprise Linux 4.0 dplank Darryl Plank 2007-11-29 06:04:34 PST
                                                             Re: RE : cadmin create_channel for Red Hat Enterprise Linux 4.0 Jared Greenwald <greenwaldjared at gmail dot com> Jared Greenwald <greenwaldjared at gmail dot com> 2007-11-29 06:22:21 PST
                                                                 RE : RE : cadmin create_channel for Red Hat Enterprise Linux 4.0 dplank Darryl Plank 2007-11-29 06:33:40 PST
                                                             Re: RE : cadmin create_channel for Red Hat Enterprise Linux 4.0 theslack Jack Neely 2007-11-29 07:50:51 PST
                                                                 Re: RE : cadmin create_channel for Red Hat Enterprise Linux 4.0 Jared Greenwald <greenwaldjared at gmail dot com> Jared Greenwald <greenwaldjared at gmail dot com> 2007-11-29 08:36:52 PST
                                                                 RE : RE : cadmin create_channel for Red Hat Enterprise Linux 4.0 dplank Darryl Plank 2007-12-05 03:40:11 PST
                                                                     Installation documentation for the version 1.7.6 dplank Darryl Plank 2007-12-05 05:56:59 PST
                                                 RE : Apache Problem dplank Darryl Plank 2007-11-29 03:13:01 PST
                                                     Re: RE : Apache Problem Jared Greenwald <greenwaldjared at gmail dot com> Jared Greenwald <greenwaldjared at gmail dot com> 2007-11-29 05:32:57 PST
                                                         RE : RE : Apache Problem dplank Darryl Plank 2007-11-29 06:15:19 PST
Page: of 2 « Previous | Next »
Messages per page: