Upgrade to 2.0.6 problems?

Hi All,

Has anyone else had a problem upgrading to 2.0.6 ? I’ve just done
everything the same as I always have upgrading to previous versions (I
didnt bother with the 2.0.5.x patch releases though, could this be the
problem ?).

I edit the Makefile accordingly, I ran a make testdeps just to be sure
and a make upgrade give me:

root@cropton:/usr/local/src/rt-2-0-6# make upgrade
mkdir -p /usr/local/rt2/bin
mkdir -p /usr/local/rt2/WebRT/data
mkdir -p /usr/local/rt2/WebRT/sessiondata
mkdir -p /usr/local/rt2/etc
mkdir -p /usr/local/rt2/lib
mkdir -p /usr/local/rt2/WebRT/html
mkdir -p /usr/local/rt2/local/WebRT/html
[ -f /usr/local/rt2/etc/config.pm ] && mv /usr/local/rt2/etc/config.pm
/usr/local/rt2/etc/config.pm.old &&
chmod 000 /usr/local/rt2/etc/config.pm.old
cp -rp ./etc/config.pm /usr/local/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!!’“b0unCy “‘g;
s’!!DB_RT_USER!!’“rt_user”‘g;
s’!!DB_DATABASE!!’“rt2”‘g;
s’!!MASON_HTML_PATH!!’”/usr/local/rt2/WebRT/html”‘g;
s’!!MASON_LOCAL_HTML_PATH!!’"/usr/local/rt2/local/WebRT/html"‘g;
s’!!MASON_SESSION_PATH!!’"/usr/local/rt2/WebRT/sessiondata"‘g;
s’!!MASON_DATA_PATH!!’"/usr/local/rt2/WebRT/data"‘g;
s’!!RT_LOG_PATH!!’"/tmp"‘g;
s’!!RT_VERSION!!’“2.0.6”'g;
" /usr/local/rt2/etc/config.pm
Substitution replacement not terminated at -e line 1.
make: *** [config-replace] Error 255
root@cropton:/usr/local/src/rt-2-0-6#

Now, I may be suffering from a lack of caffeine monday morning syndrome
and may have missed something, this I admit … any ideas anyone ?

Thanks,

Simon.

Hi,

Just had the problem… try and make sure that you don’t have a space
after your DB password (that’s what did it for me)

AndrewOn Monday, September 3, 2001, at 08:01 PM, Simon Woodward wrote:

Hi All,

Has anyone else had a problem upgrading to 2.0.6 ? I’ve just done
everything the same as I always have upgrading to previous versions (I
didnt bother with the 2.0.5.x patch releases though, could this be the
problem ?).

I edit the Makefile accordingly, I ran a make testdeps just to be sure
and a make upgrade give me:

root@cropton:/usr/local/src/rt-2-0-6# make upgrade
mkdir -p /usr/local/rt2/bin
mkdir -p /usr/local/rt2/WebRT/data
mkdir -p /usr/local/rt2/WebRT/sessiondata
mkdir -p /usr/local/rt2/etc
mkdir -p /usr/local/rt2/lib
mkdir -p /usr/local/rt2/WebRT/html
mkdir -p /usr/local/rt2/local/WebRT/html
[ -f /usr/local/rt2/etc/config.pm ] && mv /usr/local/rt2/etc/config.pm
/usr/local/rt2/etc/config.pm.old &&
chmod 000 /usr/local/rt2/etc/config.pm.old
cp -rp ./etc/config.pm /usr/local/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!!’“b0unCy “‘g;
s’!!DB_RT_USER!!’“rt_user”‘g;
s’!!DB_DATABASE!!’“rt2”‘g;
s’!!MASON_HTML_PATH!!’”/usr/local/rt2/WebRT/html”‘g;
s’!!MASON_LOCAL_HTML_PATH!!’"/usr/local/rt2/local/WebRT/html"‘g;
s’!!MASON_SESSION_PATH!!’"/usr/local/rt2/WebRT/sessiondata"‘g;
s’!!MASON_DATA_PATH!!’"/usr/local/rt2/WebRT/data"‘g;
s’!!RT_LOG_PATH!!’"/tmp"‘g;
s’!!RT_VERSION!!’“2.0.6”'g;
" /usr/local/rt2/etc/config.pm
Substitution replacement not terminated at -e line 1.
make: *** [config-replace] Error 255
root@cropton:/usr/local/src/rt-2-0-6#

Now, I may be suffering from a lack of caffeine monday morning syndrome
and may have missed something, this I admit … any ideas anyone ?

Thanks,

Simon.


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

Andrew Yager
Real World Technology Solutions
Real People Real SolUtions™
ph: (02) 9945 2567 fax: (02) 9945 2566
mob: 0405 15 2568