Hello and thank you for your time. I am installing trac for the first time and I have not used python, easy_tools, genshi or the mysql-python libs. I sent an email about a similar error when trying to install version 11.7 and now I also with 12b1. So, I assume, it must be something with my network, hardware or software setup. I am including my setup and procedure list of how I installed the software. Perhaps I forgot a step that you could point out? Thanks in advance.
We have our webserver and mysql servers on 2 separate machinces in the office for all our apps. Web server 192.168.12.3 CentOS release 5.3 (Final) linux 2.6.18-128.1.16.el5 httpd-2.2.3-31 Genshi 0.6 mod_wsgi 3.2 (WSGIProcessGroup WSGIApplicationGroup server01.fphc.local|/trac) Python 2.4.3 (#1, Sep 3 2009, 15:37:37) [GCC 4.1.2 20080704 (Red Hat 4.1.2-46)] setuptools 0.6c11 MySQL-python-1.2.1-1 mysqlclient15-5.0.67-1 MYSQL Server 192.168.2.10 CentOS release 5.3 (Final) Linux 2.6.18-128.1.14.el5 mysql-server-5.0.45-7.el5 MySQL-python-1.2.1-1 Below is the method I used to install the software. I logged in as root for the install. Apache runs as apache:apache. MySQL DB setup(mysql server): mysql -p -e "CREATE DATABASE trac DEFAULT CHARACTER SET utf8 COLLATE utf8_bin;" mysql mysql -p -e "GRANT ALL ON trac.* TO 'tracuser'@'%' IDENTIFIED BY 'password';" mysql Trac install(webserver): yum install python MySQL-python cd /usr/src wget http://pypi.python.org/packages/2.4/s/setuptools/setuptools-0.6c11-py2.4 .egg#md5=bd639f9b0eac4c42497034dec2ec0c2b chmod 755 ./setuptools-0.6c11-py2.4.egg ./setuptools-0.6c11-py2.4.egg easy_install Genshi easy_install Trac Trac environment(webserver): mkdir -p /usr/share/trac/projects/core trac-admin /usr/share/trac/projects/core initenv Project Name [My Project]> Infrastructure and Communications mysql://tracuser:[email protected]/trac <enter> <enter> trac-admin /usr/share/trac/projects/core deploy /tmp/deploy mv /tmp/deploy/* /usr/share/trac chown -R apache.apache /usr/share/trac chmod 777 /usr/share/trac Setup Authentication file: mkdir /usr/share/trac/login/ htdigest -c /usr/share/trac/login/trac.htpasswd trac admin Install mod_wsgi for apache(webserver): yum install httpd-devel python-devel cd /usr/src wget http://modwsgi.googlecode.com/files/mod_wsgi-3.2.tar.gz tar xvfz mod_wsgi-3.2.tar.gz cd /usr/src/mod_wsgi-3.2 ./configure make make install Edit apache conf files, add lines to end of file nano /etc/httpd/conf/httpd.conf ##### Begin apache conf settings LoadModule wsgi_module modules/mod_wsgi.so WSGIScriptAlias /trac /usr/share/trac/cgi-bin/*trac.wsgi <Directory /usr/share/trac/projects/core> WSGIApplicationGroup %{GLOBAL} Order deny,allow Allow from all </Directory> <Location "/trac/login"> LoadModule auth_digest_module modules/mod_auth_digest.so AuthType Digest AuthName "trac" AuthDigestDomain /trac AuthUserFile /usr/share/trac/login/trac.htpasswd Require valid-user </Location> ##### end apache conf settings /etc/init.d/httpd restart -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
