Login | Register
My pages Projects Community openCollabNet

Discussions > users > Re: Getting an error with current

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

current
Discussion topic

Back to topic list

Re: Getting an error with current

Reply

Author "Paul F dot Williams" <paul dot williams at uwex dot edu>
Full name "Paul F dot Williams" <paul dot williams at uwex dot edu>
Date 2003-05-06 10:25:44 PDT
Message I'm running apache 1.3.27, and at the very end of
/etc/httpd/conf/httpd.conf I have added a line

    Include /etc/httpd/conf/curr​ent.httpd.conf

Is it possible it is not reading this file or something
is wrong in the file? I was under the impression that
this file is generated by the system.

=====contents of current.httpd.conf==========
####################​####################​####################​#################
# Configuration added for Current (up2date)
#
# We take over the /XMLRPC URL and all its sub urls
# (<Location>)
#
# We take over the (configurable) /local/linux/ directory and all sub dirs.
# (<Directory>)
#
# Remember that Directory has precedence over Location
#
##
## For apache 1.3.x, YOU MUST put "Include
/etc/httpd/conf/curr​ent.httpd.conf" in
## your httpd.conf file. For apache 2.0.x, simply put the file in
## the /etc/httpd/conf.d directory.
##
####################​####################​####################​#################

#LogLevel debug Set this for debugging

Alias /XMLRPC/$RHN /var/linux/current/www

<Directory /var/linux/current/www>
     # Make certain this is set - current won't work without it
     Options FollowSymLinks
</Directory>

<Location ~ "/XMLRPC$">
     PythonPath "sys.path + ['/usr/share/current']"
     SetHandler python-program
     PythonHandler current_apache
</Location>

<Location /XMLRPC/$RHN>
     PythonPath "sys.path + ['/usr/share/current']"
     PythonAccessHandler current_apache
     PythonTypeHandler current_apache
</Location>

## END OF CURRENT ##
====================​====================​================

Any assistance is appreciated.

paulw

At 05:25 PM 4/25/2003, you wrote:
>On Fri, Apr 25, 2003 at 05:03:53PM -0500, Paul F. Williams wrote users:
> > I believe I have installed the server and client
> > in accordance with the documentation I found
> > in current.
>
><snip>
>
> > File "/usr/share/current/​configfile.py", line 214, in options
> > raise NoSectionError(section)
> > NoSectionError: No section: current
>
> > Anyone have any idea what is happening.
>
>Your config file is broken. You're missing the [current] section, or the
>[current] section header.
>
> > I have several questions in addition.
> >
> > 1) Does the server name need to be the real name
> > of the server (so reverse name lookup works)
> > or can it be a CNAME?
>
>For SSL, yes. Since up2date does as much as possible over SSL, yes, it
>needs to be your A record, at least as far as config files and SSL
>certificates go. Your hostname can be whatever.
>
> > 2) Since it is documented that apache cannot be running
> > when you run cadmin, I would recommend the notice
> > be moved to the beginning of the documentation.
> > Also, why can't you run cadmin when apache is running?
>
>Because shelve (the python datastore used in 1.4) doesn't have any locking
>or other advanced "hey, look! the data's changed/changing!" features.
>Therefore, if you use cadmin while apache/current is running, you run the
>risk of data corruption, screwed up clients, etc.
>
>That said, the problem will be going away in 1.5+, as that is moving over
>to a postgres backend, which has all that database yumminess.
>
> > (it might even be a good idea for the software to fail
> > if apache is running and notify you to stop apache before
> > running it).
>
>They used to do this when current was standalone. With apache, there's no
>way to know that current is currently running. For all cadmin knows, it
>could just be a bare httpd install that hasn't been outfitted with current
>yet.
>
> > 3) Do you know what ports the server needs to have open,
> > we have most of our ports turned off and it refused
> > to connect until I opened all ports to the particular
> > client.
>
>You need to have port 443 (https) and probably 80 open. Or whatever you
>tell your clients, but as you're going to have to open 2 ports anyway,
>you may as well just use the standard ones.
>
> > 4)
>
>
>
>
>
>--
>draco
>"I know you think you thought you knew what you thought I said,
>but I'm not sure you understood what you thought I meant." -- fortune




--------------------​--------------------​--------------------​---------
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 | 4 of 12 | Next message in topic »

Messages

Show all messages in topic

Getting an error with current "Paul F dot Williams" <paul dot williams at uwex dot edu> "Paul F dot Williams" <paul dot williams at uwex dot edu> 2003-04-25 15:03:53 PDT
     Re: Getting an error with current draco <manannan at cfl dot rr dot com> draco <manannan at cfl dot rr dot com> 2003-04-25 15:25:44 PDT
         Re: Getting an error with current "Paul F dot Williams" <paul dot williams at uwex dot edu> "Paul F dot Williams" <paul dot williams at uwex dot edu> 2003-04-28 09:07:21 PDT
         Re: Getting an error with current "Paul F dot Williams" <paul dot williams at uwex dot edu> "Paul F dot Williams" <paul dot williams at uwex dot edu> 2003-05-06 10:25:44 PDT
             Re: Getting an error with current hunterm Hunter Matthews 2003-05-06 11:44:52 PDT
                 Re: Getting an error with current "Paul F dot Williams" <paul dot williams at uwex dot edu> "Paul F dot Williams" <paul dot williams at uwex dot edu> 2003-05-06 12:39:33 PDT
                     Re: Getting an error with current jpportz Jeremy Portzer 2003-05-06 21:05:21 PDT
                         Re: Getting an error with current "Paul F dot Williams" <paul dot williams at uwex dot edu> "Paul F dot Williams" <paul dot williams at uwex dot edu> 2003-05-07 08:33:05 PDT
                             Re: Getting an error with current jwbernin John Berninger 2003-05-07 08:38:56 PDT
                     Re: Getting an error with current Hunter Matthews <thm at duke dot edu> Hunter Matthews <thm at duke dot edu> 2003-05-07 08:34:08 PDT
                         Re: Getting an error with current "Paul F dot Williams" <paul dot williams at uwex dot edu> "Paul F dot Williams" <paul dot williams at uwex dot edu> 2003-05-07 09:21:33 PDT
                             Re: Getting an error with current hunterm Hunter Matthews 2003-05-07 10:14:51 PDT
Messages per page: