From lijian.gnu@gmail.com Thu Aug 27 03:12:38 2009 From: Jian Lee To: buildservice@lists.opensuse.org Subject: [opensuse-buildservice] How to debug when "OpenSUSE Webclient Error" occured ? Date: Thu, 27 Aug 2009 11:13:29 +0800 Message-ID: <7hwqaqzq.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3774933361034307684==" --===============3774933361034307684== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi, guys I've setup obs-server on CentOS platform from obs-server-1.6.0-14.1.src.rpm owned by openSUSE 10.=20 Configure mysql database, Tune the IP interface to LAN : ----------------------------- # grep { /etc/lighttpd/vhosts.d/obs.conf $HTTP["host"] =3D~ "172.16.70.30\.?" { $SERVER["socket"] =3D=3D "172.16.70.30:81\.?" { $SERVER["socket"] =3D=3D "172.16.70.30:82\.?" { =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Then Use the "Admin"/"opensuse" as Username/Password to login. First time no error occured, but now It has "OpenSUSE Webclient Error" when i login 172.16.70.30 (http://172.16.70.30/home) : --------------------------------------------------------- Error Details: Errorcode: unknown Message: 404 - Not Found 404 - Not Found Exception from Webclient: ActiveXML::Transport::NotFoundError: 404 - Not Fou= nd

404 - Not Found

Stack Trace: /srv/www/obs/common/lib/activexml/transport.rb:543:in `handle_response' /srv/www/obs/common/lib/activexml/transport.rb:534:in `http_do' /srv/www/obs/common/lib/activexml/transport.rb:346:in `find' /srv/www/obs/common/lib/activexml/base.rb:69:in `find' /srv/www/obs/webclient/app/controllers/application.rb:116:in `basic_auth' /srv/www/obs/webclient/app/controllers/application.rb:74:in `authorize' .... =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Did anyone have ideas ? Thanks, all --=20 Jian Lee Chinese Blog : http://jianlee.ylinux.org --=20 To unsubscribe, e-mail: opensuse-buildservice+unsubscribe(a)opensuse.org For additional commands, e-mail: opensuse-buildservice+help(a)opensuse.org --===============3774933361034307684==-- From adrian@suse.de Thu Aug 27 11:54:08 2009 From: Adrian =?utf-8?q?Schr=C3=B6ter?= To: buildservice@lists.opensuse.org Subject: Re: [opensuse-buildservice] How to debug when "OpenSUSE Webclient Error" occured ? Date: Thu, 27 Aug 2009 13:55:17 +0200 Message-ID: <200908271355.17098.adrian@suse.de> In-Reply-To: <7hwqaqzq.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0405495924575936588==" --===============0405495924575936588== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Am Donnerstag, 27. August 2009 05:13:29 schrieb Jian Lee: > Hi, guys >=20 > I've setup obs-server on CentOS platform from > obs-server-1.6.0-14.1.src.rpm owned by openSUSE 10. >=20 > Configure mysql database, Tune the IP interface to LAN : > ----------------------------- > # grep { /etc/lighttpd/vhosts.d/obs.conf > $HTTP["host"] =3D~ "172.16.70.30\.?" { > $SERVER["socket"] =3D=3D "172.16.70.30:81\.?" { > $SERVER["socket"] =3D=3D "172.16.70.30:82\.?" { > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >=20 > Then Use the "Admin"/"opensuse" as Username/Password to login. First time > no error occured, but now It has "OpenSUSE Webclient Error" when i > login 172.16.70.30 (http://172.16.70.30/home) : >=20 > --------------------------------------------------------- > Error Details: > Errorcode: unknown > Message: "-//W3C//DTD XHTML 1.0 Transitional//EN" > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> xmlns=3D"http://www.w3.org/1999/xhtml" xml:lang=3D"en" lang=3D"en"> > 404 - Not Found

404 - Not Found

> >=20 > Exception from Webclient: > ActiveXML::Transport::NotFoundError: encoding=3D"iso-8859-1"?> Transitional//EN" > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> xmlns=3D"http://www.w3.org/1999/xhtml" xml:lang=3D"en" lang=3D"en"> > 404 - Not Found

404 - Not Found

> Stack Trace: >=20 > /srv/www/obs/common/lib/activexml/transport.rb:543:in `handle_response' > /srv/www/obs/common/lib/activexml/transport.rb:534:in `http_do' > /srv/www/obs/common/lib/activexml/transport.rb:346:in `find' > /srv/www/obs/common/lib/activexml/base.rb:69:in `find' > /srv/www/obs/webclient/app/controllers/application.rb:116:in `basic_auth' > /srv/www/obs/webclient/app/controllers/application.rb:74:in `authorize' > .... > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >=20 > Did anyone have ideas ? This looks like your vhost config is broken. Sorry, there is no prepare ruby on rails stack yet for CentOS. So alle what=20 you can do atm is to install ruby on rails manually and deploy OBS from svn. = I=20 would NOT use packages for openSUSE for it. This will be of course quite some work :/ --=20 Adrian Schroeter SUSE Linux Products GmbH email: adrian(a)suse.de --=20 To unsubscribe, e-mail: opensuse-buildservice+unsubscribe(a)opensuse.org For additional commands, e-mail: opensuse-buildservice+help(a)opensuse.org --===============0405495924575936588==--