Hi Girish, please send all communication to the mailing list. 1 - I didn't understand why you changed in (6) the eval statement. You shouldn't have done that. I believe using brackets there is incorrect. 2 - How are the permissions set in /www/sites/bugzilla.
On Mon, 2010-02-08 at 19:31 -0500, Girish Narang wrote: > Hello Kristis, > > I need your help/direction trying to integrate SVN with Bugzilla using > SCM . > I've read most of the forums on the error I'm receiving but to no > avail. > I've gone through all the relevant existing bugs as well. > I will really appreciate any pointers here. > To go straight to the error I'm getting, please scroll to the bottom > of my email and look for the lines in red font. > The rest of the email gives you a bit information on my environment > and setup. > Also see the attachment for the client side commit error using > tortoise svn. > > Here're the application versions I'm using: > 1. Scmbug 0.26.16 > 2. Bugzilla 3.2.4 > 3. SVN 1.4.2-4 > Environment background: > Bugzilla and SVN are running on 2 different linux servers (both Red > Hat Enterprise Linux Server release 5.2) > I've install SCMBug on each of them. > I'm running scmbug daemon on bugzilla server and installed glue on the > SVN server > > > Here're the installation steps I followed. Feel free to ignore the > pink section and go to the next section to see the error I'm getting. > > 1. Get rpms > sudo wget > http://files.mkgnu.net/files/scmbug/SCMBUG_RELEASE_0-26-16/rpms/scmbug-common-0.26.16-1.noarch.rpm > sudo wget > http://files.mkgnu.net/files/scmbug/SCMBUG_RELEASE_0-26-16/rpms/scmbug-doc-0.26.16-1.noarch.rpm > sudo wget > http://files.mkgnu.net/files/scmbug/SCMBUG_RELEASE_0-26-16/rpms/scmbug-server-0.26.16-1.noarch.rpm > sudo wget > http://files.mkgnu.net/files/scmbug/SCMBUG_RELEASE_0-26-16/rpms/scmbug-tools-0.26.16-1.noarch.rpm > > 2. Install the RPMs in the following sequence: > sudo rpm -ivh --force --nodeps scmbug-common-0.26.16-1.noarch.rpm > sudo rpm -ivh --force --nodeps scmbug-doc-0.26.16-1.noarch.rpm > sudo rpm -ivh --force --nodeps scmbug-tools-0.26.16-1.noarch.rpm > sudo rpm -ivh --force --nodeps scmbug-server-0.26.16-1.noarch.rpm > > 3. Check to make sure the required installation/versions are there > rpm -qa | grep scm > > 4. Install Perl Modules > sudo perl -MCPAN -e 'install Mail::Sendmail' > sudo perl -MCPAN -e 'install XML::Simple' > sudo perl -MCPAN -e 'install Net::LDAP' (Install dependent modules if > prompted; If the install fails, try to install again) > > 5. Edit SCMBug's Daemon.conf to change config parameters > sudo vi /etc/scmbug/daemon.conf (relevant section below) > > bugtracker => { > # The possible options are: > # - 'Bugzilla' > # - 'Mantis' > # - 'RequestTracker' > # - 'TestDirector' > type => 'Bugzilla', > # This MUST be in the format x.y.z, where x,y,z > # are integers > version => '3.2.4', > database_location => '127.0.0.1', > database_port => '3306', > # Valid values are the ones accepted by the Perl DBI. > # > # For Bugzilla and RequestTracker, this value is ignored > # > # For Mantis, *some* valid values (there are others) are: > # - 'mysql' > # - 'Pg' > database_vendor => 'mysql', > # For RequestTracker these values are ignored > database_name => 'bugs', > database_username => 'bz', > database_password => 'pass', > > # Used only for Bugzilla. > # > # Flags whether the live bugtracker instance is installed > # locally on the same machine the daemon is running > installed_locally => 1, > > > # Used for Bugzilla and RequestTracker. > # > # Path to the directory of the bugtracker sources providing an > # API that the daemon can use > installation_directory => '/www/sites/bugzilla', > > # Prefix used to display a bug > bug_url_prefix => > 'http://bugzilla.alpha.net/show_bug.cgi?id=' }, > > # This is a one-to-one mapping of SCM usernames to > # bugtracking usernames. Mappings in this list override > # mappings from mapping_regexes. > mapping_values => { > enabled => 1, > values => { > 'DOMAIN\\example_user' => > '[email protected]', > 'gnarang' => '[email protected]' > > > 6. Edit /usr/share/scmbug/lib/Scmbug/Common.pm to change (around line > 347): > FROM: if ( !eval ( $cmd ) ) { > TO: if ( !eval { $cmd } ) { > (Note the brackets) > > 7 .Start SCM Server > sudo /etc/init.d/scmbug-server start > > 8. Check the SCM Server log to make sure it came up fine > sudo cat /var/log/scmbug/activity.log > > 9. Also check the process info to make sure SCMBug Server is running > ps auwwwx | grep scm > > > > The SCMBug daemon starts with the following WARN messages: > > 2010/02/08 19:11:45 Scmbug WARN> > Daemon.pm:81:Scmbug::Daemon::Daemon::read_configuration - Read > configuration file '/etc/scmbug/daemon.conf' > 2010/02/08 19:11:45 Scmbug WARN> > Daemon.pm:454:Scmbug::Daemon::Daemon::start_daemon_forked - Server > started on port '3872' (forked mode) > > Also, on SVN server, I ran through the same installation steps as > above and installed glue as follows: > > sudo perl /usr/bin/scmbug_install_glue.pl --scm=Subversion > --product=mf2 --repository=file:///var/svn/mf2 --bug=7457 > --binary-paths=/bin,/usr/bin --daemon=10.3.101.53 > > > Now, when I try to commit something to SVN repository, I get this > error in daemon: > > 2010/02/08 18:55:44 Scmbug WARN> > Daemon.pm:568:Scmbug::Daemon::Daemon::spawn_child - 10.3.104.52:48605 > Processing connection from > 2010/02/08 18:55:44 Scmbug WARN> > Process.pm:887:Scmbug::Daemon::Process::process_activity_verify - > 10.3.104.52:48605 Processing an 'activity_verify' for bug id '7457' > from SCM user 'gnarang' > 2010/02/08 18:55:44 Scmbug ERROR> > Bugzilla.pm:827:Scmbug::Daemon::Bugzilla::integration_get_product_name > - Can't locate object method "new" via package "Bugzilla::Bug" > at /usr/share/scmbug/lib/Scmbug/Daemon/Bugzilla.pm line 827, <STDIN> > line 33. > > > Thanks much in advance, > Girish Narang >
signature.asc
Description: This is a digitally signed message part
_______________________________________________ scmbug-users mailing list [email protected] http://lists.mkgnu.net/cgi-bin/mailman/listinfo/scmbug-users
