Login | Register
My pages Projects Community openCollabNet

Discussions > users > Re: RH8

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

current
Discussion topic

Back to topic list

Re: RH8

Reply

Author jwbernin
Full name John Berninger
Date 2003-02-28 12:22:51 PST
Message OK, the problem is that Current can't log to where it needs to log. the
apache ID and/or group needs to have write permission to not only the
log file, but all directories leading to that file. Make sure the
apache ID can write to that file, restart the httpd service, and you
should be good to go.

On Fri, 28 Feb 2003, Ray Parish wrote:

> [root@gettys log]# ls -lad /var
> drwxr-xr-x 5 root root 4096 Feb 28 10:55 /var
> [root@gettys log]#
>
> [root@gettys log]# ls -lad /var/log
> lrwxrwxrwx 1 root root 12 Feb 24 08:45 /var/log ->
> /usr/var/log
> [root@gettys log]# ls -lad /usr/var/log
> drwxr-xr-x 5 root root 4096 Feb 28 14:30 /usr/var/log
> [root@gettys log]#
>
>
> ----- Original Message -----
> From: "John Berninger" <JohnW@berningero​nline.net>
> To: <users at current dot ti​gris.org>
> Sent: Friday, February 28, 2003 2:49 PM
> Subject: Re: RH8
>
>
> > Ray -
> >
> > Can you also do an ls -lad on /var and /var/log and post those
> > results?
> >
> > On Fri, 28 Feb 2003, Ray Parish wrote:
> >
> > > Nothing is logging to either /var/log/current.log or
> > > /var/log/httpd/current.log
> > >
> > >
> > >
> > > SERVER Side:
> > >
> > > [root@gettys log]# grep log_level /etc/current/current.conf
> > > # log_level = How much should we send to the log file?
> > > log_level = 10
> > >
> > > [root@gettys log]# ls -la /var/log/httpd/current.log
> > > -rw-rw-rw- 1 apache apache 0 Feb 11 09:37
> > > /var/log/httpd/current.log
> > >
> > > [root@gettys log]# ls -la /var/log/current.log
> > > -rw-rw-rw- 1 root root 0 Feb 28 14:30
> /var/log/current.log
> > >
> > >
> > > [root@gettys log]# service httpd restart
> > > Stopping httpd: [ OK ]
> > > Starting httpd:
> > > [ OK ]
> > >
> > >
> > > CLIENT Side:
> > >
> > > [root@mars root]# up2date -l
> > > Error communicating with server. The message was:
> > > Internal Server Error
> > >
> > >
> > > SERVER Side:
> > >
> > > [root@gettys log]# ls -la /var/log/current.log
> > > -rw-rw-rw- 1 root root 0 Feb 28 14:30
> /var/log/current.log
> > > [root@gettys log]# ls -la /var/log/httpd/current.log
> > > -rw-rw-rw- 1 apache apache 0 Feb 11 09:37
> > > /var/log/httpd/current.log
> > > [root@gettys log]#
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > ----- Original Message -----
> > > From: "Hunter Matthews" <thm at duke dot edu>
> > > To: <users at current dot ti​gris.org>
> > > Sent: Friday, February 28, 2003 1:28 PM
> > > Subject: Re: RH8
> > >
> > >
> > > > On Fri, 2003-02-28 at 12:56, Ray Parish wrote:
> > > > > John,
> > > > >
> > > > > The current log is empty, i have log_level set to 10.
> > > >
> > > > Thats not possible - check the perms on the current log itself then.
> > > > Recall that on RHL 8, apache logs as root, but runs as apache. So your
> > > > current.log has to be in /var/log, not /var/log/httpd.
> > > >
> > > > I know its not possible, because if nothing else you'd get the
> "starting
> > > > up" message.
> > > >
> > > >
> > > > > Here is some additional loggin in the error_log
> > > > >
> > > > > [Fri Feb 28 12:48:53 2003] [notice] Inside the PythonHandler
> > > > > [Fri Feb 28 12:48:53 2003] [notice] Starting backend
> > > > > [Fri Feb 28 12:48:59 2003] [notice] Inside the PythonHandler
> > > > > [Fri Feb 28 12:48:59 2003] [notice] Starting backend
> > > > > [Fri Feb 28 12:49:05 2003] [notice] Inside the PythonHandler
> > > > > [Fri Feb 28 12:49:05 2003] [notice] Starting backend
> > > > > [Fri Feb 28 12:49:10 2003] [notice] Inside the PythonHandler
> > > > > [Fri Feb 28 12:49:10 2003] [notice] Exception at callAPIMethod()
> > > > > [Fri Feb 28 12:49:10 2003] [notice] method was up2date.login
> > > > > [Fri Feb 28 12:49:16 2003] [notice] params were ['<?xml
> > > version="1.0"?>\n<params
> > > > >
> > >
> >\n<param>​\n<value><​struct>\n<mem​ber>\n<name​>username</name​>\n<value>​<string
> > > >tes
> > > > >
> > >
> ter</string>​</value>\n</​member>\n<mem​ber>\n<name​>profile_name</n​ame>\n<value
> > > ><st
> > > > >
> > >
> ring>mars.greenwo​od.net</string​></value>\n​</member>\n<​member>\n<nam​e>system_
> > > id</
> > > > >
> > >
> name>\n<value​><string>Cu​rrent-ANONYMOUS</​string></value​>\n</member​>\n<member
> > > >\n<
> > > > >
> > >
> name>architecture​</name>\n<​value><string​>i586</string​></value>\n​</member>\n​<
> > > memb
> > > > >
> > >
> er>\n<name​>os_release</name​>\n<value>​<string>8.0​</string></val​ue>\n</member​>
> > > \n<m
> > > > >
> > >
> ember>\n<name​>fields</name​>\n<value>​<array><data​>\n<value>​<string>userna​me</
> > > stri
> > > > >
> > >
> ng></value>​\n<value><​string>profile_na​me</string>​</value>\n<va​lue><string​>sy
> > > stem
> > > > >
> > >
> _id</string>​</value>\n<v​alue><string​>architecture</s​tring></value​>\n<value>​<
> > > stri
> > > > >
> > >
> ng>os_release<​/string></valu​e>\n<value​><string>check​sum</string>​</value>\n<v​
> > > alue
> > > > >
> > >
> ><string>de​scription</string​></value>\​n<value><st​ring>type</str​ing></value​>\
> > > n<va
> > > > >
> > >
> lue><string​>operating_system​</string></val​ue>\n</data​></array><​/value>\n</me​
> > > mber
> > > > > >\n<member​>\n<name>oper​ating_system</nam​e>\n<value​><string>Red Hat
> > > Linux</string
> > > > >
> > >
> ></value>\​n</member>\n​<member>\n<​name>checksum<​/name>\n<valu​e><string>f​28d74
> > > 0c7b
> > > > >
> > >
> cec6429e9caaebc44a98​c6ffd98ed0</strin​g></value>​n</member>\n​<member>\n​<name>
> > > type
> > > > >
> > >
> </name>\n<​value><string​>REAL</string​></value>\n​</member>\n​<member>\n<na​me>de
> > > scri
> > > > > ption</name>\​n<value><st​ring>8.0 running on
> > > i586</string>​</value>\n<​/member>\n</
> > > > > struct></value​>\n</param​>\n</params>​n']
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > On Mon, 24 Feb 2003, John Berninger wrote:
> > > > >
> > > > > Can you bump up the logging level, or post an excerpt from
> current.log?
> > > > >
> > > > > >On Mon, 24 Feb 2003, Ray Parish wrote:
> > > > >
> > > > > >> I just installed the current 1.4.3 rpm and the mod_python3.0.1.
> > > > > >> I was able to create, and update the channels. The problem comes,
> > > after
> > > > > >> a client registers (everything is fine).
> > > > > >> I then do=20
> > > > > >>=20
> > > > > >> up2date -l
> > > > > >>=20
> > > > > >> and this is what i get in error_log
> > > > > >> [Mon Feb 24 13:47:08 2003] [notice] Inside the PythonHandler
> > > > > >> [Mon Feb 24 13:47:08 2003] [notice] Starting backend
> > > > > >> [Mon Feb 24 13:47:13 2003] [notice] Inside the PythonHandler
> > > > > >> [Mon Feb 24 13:47:13 2003] [notice] Exception at callAPIMethod()
> > > > > >> [Mon Feb 24 13:47:13 2003] [notice] method was up2date.login
> > > > > >> [Mon Feb 24 13:47:13 2003] [notice] params were ['<?xml
> > > > > >>
> > >
> version=3D"1.0"?>​\n<params>\n​<param>\n<​value><struct​>\n<member>​\n<name>us=
> > > > >
> > >
> ername</name>​n<value><s​tring>test</st​ring></value​>\n</member>​\n<member>\n​<=
> > > > >
> > >
> name>profile_name​</name>\n<​value><string​>labrat.corp.inter​land.net</string​>=
> > > > >
> > >
> </value>\n​</member>\n<m​ember>\n<name​>system_id</na​me>\n<value​><string>Curr​e=
> > > > >
> > >
> nt-ANONYMOUS</str​ing></value​>\n</member>​n<member>\n​<name>architect​ure</nam=
> > > > >
> > >
> e>\n<value​><string>i686​</string></v​alue>\n</memb​er>\n<member​>\n<name>os​_rel=
> > > > >
> > >
> ease</name>\n​<value><str​ing>8.0</strin​g></value>​n</member>\n​<member>\n​<nam=
> > > > >
> > >
> e>fields</name​>\n<value>​<array><dat​a>\n<value​><string>usern​ame</string>​</va=
> > > > >
> > >
> lue>\n<value​><string>pro​file_name</string​></value>\​n<value><st​ring>system_i=
> > > > >
> > >
> d</string><​/value>\n<val​ue><string>​architecture</str​ing></value​>\n<value>​<s=
> > > > >
> > >
> tring>os_release​</string></v​alue>\n<value​><string>ch​ecksum</string​></value>=
> > > > >
> > >
> \n<value><​string>descriptio​n</string><​/value>\n<val​ue><string>​type</string>=​
> > > > >
> > >
> </value>\n​<value><string​>operating_system​</string></​value>\n</dat​a></array>=​
> > > > >
> > >
> </value>\n​</member>\n<m​ember>\n<name​>operating_system​</name>\n<​value><strin=
> > > > > g>Red Hat
> > > Linux</string>​</value>\n​</member>\n<m​ember>\n<name​>checksum</nam​e=
> > > > >
> > >
> >\n<value>​<string>173ae8​7ba46ff64b6ee1a3ef90​c7c414403689ab</s​tring></value​>=
> > > > >
> > >
> \n</member>\​n<member>\n​<name>type</n​ame>\n<value​><string>REA​L</string><​/val=
> > > > >
> ue>\n</member​>\n<member​>\n<name>desc​ription</name>​\n<value><​string>8.0
> > > runn=
> > > > > ing on
> > > i686</string>​</value>\n<​/member>\n</s​truct></value​>\n</param>​\n</par=
> > > > > ams>\n']
> > > > > >> [Mon Feb 24 13:47:19 2003] [notice] Inside the PythonHandler
> > > > > >> [Mon Feb 24 13:47:19 2003] [notice] Starting backend
> > > > > >> On the command line i get an error back:
> > > > > >> [root@labrat rhn]# up2date -l
> > > > > >> Error communicating with server. The message was:
> > > > > >> Internal Server Error
> > > > --
> > > > Hunter Matthews Unix / Network Administrator
> > > > Office: BioScience 145/244 Duke Univ. Biology Department
> > > > Key: F0F88438 / FFB5 34C0 B350 99A4 BB02 9779 A5DB 8B09 F0F8 8438
> > > > Never take candy from strangers. Especially on the internet.
> > > >
> > > >
> > > > --------------------​--------------------​--------------------​---------
> > > > To unsubscribe, e-mail: users-unsubscribe@cu​rrent.tigris.org
> > > > For additional commands, e-mail: users-help at current dot tigris dot org
> > > >
> > >
> > >
> > > --------------------​--------------------​--------------------​---------
> > > To unsubscribe, e-mail: users-unsubscribe@cu​rrent.tigris.org
> > > For additional commands, e-mail: users-help at current dot tigris dot org
> >
> > --
> > John Berninger
> >
> > GPG Key ID: A8C1D45C
> > Fingerprint: B1BB 90CB 5314 3113 CF22 66AE 822D 42A8 A8C1 D45C
> >
> > Sit vis nobiscum.
> > --
> >
> > --------------------​--------------------​--------------------​---------
> > To unsubscribe, e-mail: users-unsubscribe@cu​rrent.tigris.org
> > For additional commands, e-mail: users-help at current dot tigris dot org
> >
>
>
> --------------------​--------------------​--------------------​---------
> To unsubscribe, e-mail: users-unsubscribe@cu​rrent.tigris.org
> For additional commands, e-mail: users-help at current dot tigris dot org

--
John Berninger

GPG Key ID: A8C1D45C
        Fingerprint: B1BB 90CB 5314 3113 CF22 66AE 822D 42A8 A8C1 D45C

Sit vis nobiscum.
--

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

Messages

Show all messages in topic

Re: RH8 rayster Ray Parish 2003-02-28 09:56:03 PST
     Re: RH8 jwbernin John Berninger 2003-02-28 10:13:04 PST
     Re: RH8 Hunter Matthews <thm at duke dot edu> Hunter Matthews <thm at duke dot edu> 2003-02-28 10:28:33 PST
         Re: RH8 rayster Ray Parish 2003-02-28 11:33:09 PST
             Re: RH8 jwbernin John Berninger 2003-02-28 11:49:08 PST
                 Re: RH8 rayster Ray Parish 2003-02-28 12:11:39 PST
                     Re: RH8 jwbernin John Berninger 2003-02-28 12:22:51 PST
                         Re: RH8 rayster Ray Parish 2003-02-28 12:26:04 PST
                             Re: RH8 jwbernin John Berninger 2003-02-28 12:47:02 PST
                             Re: RH8 Hunter Matthews <thm at duke dot edu> Hunter Matthews <thm at duke dot edu> 2003-02-28 12:37:55 PST
                                 Re: RH8 rayster Ray Parish 2003-03-03 13:44:22 PST
Messages per page: