I am in the process of upgrading my database from Oracle 9i to 10.2.0.1.0
on Solaris.

I completed all the pre-upgrade scripts. I logged into the 10G database as
sqlplus '/ as sysdba'

startup upgrade

When I run the script catupgrd.sql I get the following error:

SELECT TO_NUMBER('Not ONLINE for READ/WRITE') from ts$
2 WHERE name='SYSAUX' AND online$ !=1;
SELECT TO_NUMBER('Not ONLINE for READ/WRITE') from ts$
*
ERROR at line 1:
ORA-01722: invalid number

Can somebody please explain the problem to me and tell me how to
rectify this issue.

Thanks in advance to all who answer this post.

Paul