[viewvc-users] problem
Burger du Plessis <[email protected]> Fri, 28 Aug 2015 13:00:16 +0000
| Newsgroups | gmane.comp.version-control.cvs.viewcvs.user |
|---|---|
| Message-ID | <[email protected]> |
------=_Part_15348_628251775.1441202892385
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
HI Guys do anyone know how to fix this.
I have been following RhysEvans_overview_0.3 to fix the ViewVC as this was =
not updating or creating new revision numbers but its showed in the backend=
.
Tried upgrading it to viewvc 1.1.6 as per file but now I get this error whe=
n trying to create the VIEWVC database.
Im running Centos 7 with MariaDB
And because I cant finish this step I cant rebuild the database from the cv=
sroot
Any assistance will be greatly appreciated
root@/etc~~/usr/local/viewvc-1.1.6/bin/./make-database
MySQL Hostname [default: localhost]:
MySQL User: root
MySQL Password: ******
ViewVC Database Name [default: ViewVC]:
ERROR 1064 (42000) at line 6: You have an error in your SQL syntax; check t=
he manual that corresponds to your MariaDB server version for the right syn=
tax to use near 'TYPE=3DMyISAM' at line 6
[ERROR] The database did not create sucessfully.
root@/etc~~
rancid@/etc~~/usr/local/viewvc-1.1.6/bin/./cvsdbadmin rebuild /usr/local/ra=
ncid/var/CVS/CVSROOT
Using repository root `/usr/local/rancid/var/CVS'
Purging existing data for repository root `/usr/local/rancid/var/CVS'
Traceback (most recent call last):
File "/usr/local/viewvc-1.1.6/bin/./cvsdbadmin", line 181, in <module>
db.PurgeRepository(root)
File "/usr/local/viewvc-1.1.6/lib/cvsdb.py", line 545, in PurgeRepository
rep_id =3D self.GetRepositoryID(repository, auto_set=3D0)
File "/usr/local/viewvc-1.1.6/lib/cvsdb.py", line 233, in GetRepositoryID
return self.get_id("repositories", "repository", repository, auto_set)
File "/usr/local/viewvc-1.1.6/lib/cvsdb.py", line 102, in get_id
id =3D self.sql_get_id(table, column, value, auto_set)
File "/usr/local/viewvc-1.1.6/lib/cvsdb.py", line 79, in sql_get_id
cursor.execute(sql, sql_args)
File "/usr/lib64/python2.7/site-packages/MySQLdb/cursors.py", line 174, i=
n execute
self.errorhandler(self, exc, value)
File "/usr/lib64/python2.7/site-packages/MySQLdb/connections.py", line 36=
, in defaulterrorhandler
raise errorclass, errorvalue
_mysql_exceptions.ProgrammingError: (1146, "Table 'ViewVC.repositories' doe=
sn't exist")
The content of this e-mail is CONFIDENTIAL and=20
subject to the Group Five e-mail legal notice.=20
Email Legal Notice: http://www.groupfive.co.za/legal_notice.php
###########################################################################=
##########
Scanned by MailMarshal - Marshal's comprehensive email content security sol=
ution.=20
###########################################################################=
##########
------------------------------------------------------
http://viewvc.tigris.org/ds/viewMessage.do?dsForumId=3D4255&dsMessageId=3D3=
134458
To unsubscribe from this discussion, e-mail: [[email protected]=
is.org].
------=_Part_15348_628251775.1441202892385
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:x=3D"urn:schemas-microsoft-com:office:excel" xmlns:m=3D"http://schema=
s.microsoft.com/office/2004/12/omml" xmlns=3D"http://www.w3.org/TR/REC-html=
40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
=09{font-family:"Cambria Math";
=09panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
=09{font-family:Calibri;
=09panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
=09{margin:0cm;
=09margin-bottom:.0001pt;
=09font-size:11.0pt;
=09font-family:"Calibri",sans-serif;
=09mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
=09{mso-style-priority:99;
=09color:#0563C1;
=09text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
=09{mso-style-priority:99;
=09color:#954F72;
=09text-decoration:underline;}
span.EmailStyle17
=09{mso-style-type:personal-compose;
=09font-family:"Calibri",sans-serif;
=09color:windowtext;}
.MsoChpDefault
=09{mso-style-type:export-only;
=09font-family:"Calibri",sans-serif;
=09mso-fareast-language:EN-US;}
@page WordSection1
=09{size:612.0pt 792.0pt;
=09margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
=09{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-ZA" link=3D"#0563C1" vlink=3D"#954F72">
<div class=3D"WordSection1">
<p class=3D"MsoNormal"><o:p> </o:p></p>
<p class=3D"MsoNormal">HI Guys do anyone know how to fix this. <o:p></o:p><=
/p>
<p class=3D"MsoNormal">I have been following RhysEvans_overview_0.3 to fix =
the ViewVC as this was not updating or creating new revision numbers but it=
s showed in the backend.
<o:p></o:p></p>
<p class=3D"MsoNormal">Tried upgrading it to viewvc 1.1.6 as per file but n=
ow I get this error when trying to create the VIEWVC database. <o:p><=
/o:p></p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
<p class=3D"MsoNormal">Im running Centos 7 with MariaDB<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
<p class=3D"MsoNormal">And because I cant finish this step I cant rebuild t=
he database from the cvsroot<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
<p class=3D"MsoNormal">Any assistance will be greatly appreciated <o:p></o:=
p></p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
<div style=3D"mso-element:para-border-div;border:none;border-bottom:solid w=
indowtext 1.5pt;padding:0cm 0cm 1.0pt 0cm">
<p class=3D"MsoNormal" style=3D"border:none;padding:0cm"><o:p> </o:p><=
/p>
</div>
<p class=3D"MsoNormal">root@/etc~~/usr/local/viewvc-1.1.6/bin/./make-databa=
se<o:p></o:p></p>
<p class=3D"MsoNormal">MySQL Hostname [default: localhost]:<o:p></o:p></p>
<p class=3D"MsoNormal">MySQL User: root<o:p></o:p></p>
<p class=3D"MsoNormal">MySQL Password: ******<o:p></o:p></p>
<p class=3D"MsoNormal">ViewVC Database Name [default: ViewVC]:<o:p></o:p></=
p>
<p class=3D"MsoNormal">ERROR 1064 (42000) at line 6: You have an error in y=
our SQL syntax; check the manual that corresponds to your MariaDB server ve=
rsion for the right syntax to use near 'TYPE=3DMyISAM' at line 6<o:p></o:p>=
</p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
<p class=3D"MsoNormal">[ERROR] The database did not create sucessfully.<o:p=
></o:p></p>
<div style=3D"mso-element:para-border-div;border:none;border-bottom:solid w=
indowtext 1.5pt;padding:0cm 0cm 1.0pt 0cm">
<p class=3D"MsoNormal" style=3D"border:none;padding:0cm">root@/etc~~<o:p></=
o:p></p>
</div>
<p class=3D"MsoNormal"><o:p> </o:p></p>
<p class=3D"MsoNormal">rancid@/etc~~/usr/local/viewvc-1.1.6/bin/./cvsdbadmi=
n rebuild /usr/local/rancid/var/CVS/CVSROOT<o:p></o:p></p>
<p class=3D"MsoNormal">Using repository root `/usr/local/rancid/var/CVS'<o:=
p></o:p></p>
<p class=3D"MsoNormal">Purging existing data for repository root `/usr/loca=
l/rancid/var/CVS'<o:p></o:p></p>
<p class=3D"MsoNormal">Traceback (most recent call last):<o:p></o:p></p>
<p class=3D"MsoNormal"> File "/usr/local/viewvc-1.1.6/bin/./cvsd=
badmin", line 181, in <module><o:p></o:p></p>
<p class=3D"MsoNormal"> db.PurgeRepository(root)<o:p></o:=
p></p>
<p class=3D"MsoNormal"> File "/usr/local/viewvc-1.1.6/lib/cvsdb.=
py", line 545, in PurgeRepository<o:p></o:p></p>
<p class=3D"MsoNormal"> rep_id =3D self.GetRepositoryID(r=
epository, auto_set=3D0)<o:p></o:p></p>
<p class=3D"MsoNormal"> File "/usr/local/viewvc-1.1.6/lib/cvsdb.=
py", line 233, in GetRepositoryID<o:p></o:p></p>
<p class=3D"MsoNormal"> return self.get_id("reposito=
ries", "repository", repository, auto_set)<o:p></o:p></p>
<p class=3D"MsoNormal"> File "/usr/local/viewvc-1.1.6/lib/cvsdb.=
py", line 102, in get_id<o:p></o:p></p>
<p class=3D"MsoNormal"> id =3D self.sql_get_id(table, col=
umn, value, auto_set)<o:p></o:p></p>
<p class=3D"MsoNormal"> File "/usr/local/viewvc-1.1.6/lib/cvsdb.=
py", line 79, in sql_get_id<o:p></o:p></p>
<p class=3D"MsoNormal"> cursor.execute(sql, sql_args)<o:p=
></o:p></p>
<p class=3D"MsoNormal"> File "/usr/lib64/python2.7/site-packages=
/MySQLdb/cursors.py", line 174, in execute<o:p></o:p></p>
<p class=3D"MsoNormal"> self.errorhandler(self, exc, valu=
e)<o:p></o:p></p>
<p class=3D"MsoNormal"> File "/usr/lib64/python2.7/site-packages=
/MySQLdb/connections.py", line 36, in defaulterrorhandler<o:p></o:p></=
p>
<p class=3D"MsoNormal"> raise errorclass, errorvalue<o:p>=
</o:p></p>
<p class=3D"MsoNormal">_mysql_exceptions.ProgrammingError: (1146, "Tab=
le 'ViewVC.repositories' doesn't exist")<o:p></o:p></p>
<div style=3D"mso-element:para-border-div;border:none;border-bottom:solid w=
indowtext 1.5pt;padding:0cm 0cm 1.0pt 0cm">
<p class=3D"MsoNormal" style=3D"border:none;padding:0cm"><o:p> </o:p><=
/p>
</div>
<p class=3D"MsoNormal"><o:p> </o:p></p>
</div>
<FONT face=3DVerdana size=3D2><FONT face=3DVerdana size=3D2>
<P><FONT face=3DVerdana><STRONG><FONT face=3DVerdana size=3D1>The content o=
f this=20
e-mail is CONFIDENTIAL and subject to the Group Five e-mail legal=20
notice.</FONT><FONT face=3DVerdana></P></FONT></STRONG></FONT>
<P><FONT face=3DVerdana size=3D2><STRONG><FONT size=3D1>Email Legal=20
Notice:</FONT></STRONG> </FONT><FONT face=3D"Times New Roman"><SPAN=20
style=3D"COLOR: #1f497d"><FONT face=3DCalibri><A=20
href=3D"http://www.groupfive.co.za/legal_notice.php">http://www.groupfive.c=
o.za/legal_notice.php</A></FONT><O:P></O:P></SPAN></P></FONT></FONT></FONT>
<P><FONT face=3D"Times New Roman"><SPAN style=3D"COLOR: #1f497d"><FONT=20
size=3D2></P>Scanned by<FONT color=3D#000000> </FONT><STRONG><FONT=20
color=3D#4f1f91>MailMarshal</STRONG></FONT></FONT><FONT color=3D#000000 siz=
e=3D2>=20
</FONT><FONT color=3D#808080><FONT size=3D2>- Marshal's comprehensive email=
content=20
security solution</FONT>. </FONT>
<P></P><O:P></O:P></SPAN></FONT>
</body>
</html>
------=_Part_15348_628251775.1441202892385--