208->209 upgrade returns error

Hi everyone. I have had 2.0.8 up and running for two days and I am trying
to do the upgrade to 2.0.9 this morning. I have set up the Makefile but
when I make upgrade I get the following error message:

     mv //var/rt2/etc/config.pm //var/rt2/etc/config.pm.old && \
     chmod 000 //var/rt2/etc/config.pm.old

cp -rp ./etc/config.pm //var/rt2/etc/config.pm
/usr/bin/perl -p -i -e "
s’!!DB_TYPE!!‘“mysql”‘g;
s’!!DB_HOST!!’“localhost”‘g;
s’!!DB_PORT!!‘“”‘g;
s’!!DB_RT_PASS!!’“mypassword “‘g;
s’!!DB_RT_USER!!‘“rt_user”‘g;
s’!!DB_DATABASE!!’“rt2”‘g;
s’!!MASON_HTML_PATH!!'”/var/rt2/WebRT/html”‘g;
s’!!MASON_LOCAL_HTML_PATH!!‘“/var/rt2/local/WebRT/html”‘g;
s’!!MASON_SESSION_PATH!!’“/var/rt2/WebRT/sessiondata”‘g;
s’!!MASON_DATA_PATH!!‘“/var/rt2/WebRT/data”‘g;
s’!!RT_LOG_PATH!!’“/tmp”‘g;
s’!!RT_VERSION!!'“2.0.9”'g;
" //var/rt2/etc/config.pm
Substitution replacement not terminated at -e line 1.
make: *** [config-replace] Error 255
[root@iti currenttt]#

I took a look around the Makefile, but I do not know enough about perl to
make good sense of that is happening. Any help would be much appreciated.

Cheers,

–chris

/////\\/////\\
Christopher G. Kolar
Coordinator of Information Technology Integration
Illinois Mathematics and Science Academy
ckolar@imsa.edu – www.imsa.edu/~ckolar
[PGP Public Key ID: 0xC6492C72]

I’ve gotta ask. Are there any weird characters in your rt database password?On Thu, Nov 15, 2001 at 11:49:20AM -0600, Christopher Kolar wrote:

Hi everyone. I have had 2.0.8 up and running for two days and I am trying
to do the upgrade to 2.0.9 this morning. I have set up the Makefile but
when I make upgrade I get the following error message:


     mv //var/rt2/etc/config.pm //var/rt2/etc/config.pm.old && \
     chmod 000 //var/rt2/etc/config.pm.old

cp -rp ./etc/config.pm //var/rt2/etc/config.pm
/usr/bin/perl -p -i -e "
s’!!DB_TYPE!!‘“mysql”‘g;
s’!!DB_HOST!!’“localhost”‘g;
s’!!DB_PORT!!‘“”‘g;
s’!!DB_RT_PASS!!’“mypassword “‘g;
s’!!DB_RT_USER!!‘“rt_user”‘g;
s’!!DB_DATABASE!!’“rt2”‘g;
s’!!MASON_HTML_PATH!!'”/var/rt2/WebRT/html”‘g;
s’!!MASON_LOCAL_HTML_PATH!!‘“/var/rt2/local/WebRT/html”‘g;
s’!!MASON_SESSION_PATH!!’“/var/rt2/WebRT/sessiondata”‘g;
s’!!MASON_DATA_PATH!!‘“/var/rt2/WebRT/data”‘g;
s’!!RT_LOG_PATH!!’“/tmp”‘g;
s’!!RT_VERSION!!'“2.0.9”'g;
" //var/rt2/etc/config.pm
Substitution replacement not terminated at -e line 1.
make: *** [config-replace] Error 255
[root@iti currenttt]#

I took a look around the Makefile, but I do not know enough about perl to
make good sense of that is happening. Any help would be much appreciated.

Cheers,

–chris

/////\\/////\\
Christopher G. Kolar
Coordinator of Information Technology Integration
Illinois Mathematics and Science Academy
ckolar@imsa.edu – www.imsa.edu/~ckolar
[PGP Public Key ID: 0xC6492C72]
http://www.bestpractical.com/products/rt – Trouble Ticketing. Free.

True. I had something similar when I installed 2.0.8, and it was b/c I had
a space in the Makefile after my password. At least, that’s what I think it
was, b/c I fixed that and it worked.

Thanks Josh, an extra space was the problem. Thanks to you too Jesse for
the back and forth over this issue.

–chris

At 12:23 PM 11/15/2001, Josh Krikke wrote:

True. I had something similar when I installed 2.0.8, and it was b/c I had
a space in the Makefile after my password. At least, that’s what I think it
was, b/c I fixed that and it worked.

-----Original Message-----
From: rt-users-admin@lists.fsck.com
[mailto:rt-users-admin@lists.fsck.com]On Behalf Of Jesse Vincent
Sent: Thursday, November 15, 2001 12:59 PM
To: Christopher Kolar
Cc: rt-users@lists.fsck.com
Subject: Re: [rt-users] 208->209 upgrade returns error

I’ve gotta ask. Are there any weird characters in your rt
database password?

Hi everyone. I have had 2.0.8 up and running for two days and
I am trying
to do the upgrade to 2.0.9 this morning. I have set up the
Makefile but
when I make upgrade I get the following error message:


     mv //var/rt2/etc/config.pm //var/rt2/etc/config.pm.old && \
     chmod 000 //var/rt2/etc/config.pm.old

cp -rp ./etc/config.pm //var/rt2/etc/config.pm
/usr/bin/perl -p -i -e "
s’!!DB_TYPE!!‘“mysql”‘g;
s’!!DB_HOST!!’“localhost”‘g;
s’!!DB_PORT!!‘“”‘g;
s’!!DB_RT_PASS!!’“mypassword “‘g;
s’!!DB_RT_USER!!‘“rt_user”‘g;
s’!!DB_DATABASE!!’“rt2”‘g;
s’!!MASON_HTML_PATH!!'”/var/rt2/WebRT/html”‘g;
s’!!MASON_LOCAL_HTML_PATH!!‘“/var/rt2/local/WebRT/html”‘g;
s’!!MASON_SESSION_PATH!!’“/var/rt2/WebRT/sessiondata”‘g;
s’!!MASON_DATA_PATH!!‘“/var/rt2/WebRT/data”‘g;
s’!!RT_LOG_PATH!!’“/tmp”‘g;
s’!!RT_VERSION!!'“2.0.9”'g;
" //var/rt2/etc/config.pm
Substitution replacement not terminated at -e line 1.
make: *** [config-replace] Error 255
[root@iti currenttt]#

I took a look around the Makefile, but I do not know enough
about perl to
make good sense of that is happening. Any help would be much
appreciated.

Cheers,

–chris


http://www.bestpractical.com/products/rt – Trouble Ticketing. Free.


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

/////\\/////\\
Christopher G. Kolar
Coordinator of Information Technology Integration
Illinois Mathematics and Science Academy
ckolar@imsa.edu – www.imsa.edu/~ckolar
[PGP Public Key ID: 0xC6492C72]