Without logging there is no way I could see to be sure which version a database is.

If you have two Oracle homes, it would be perfectly possible that you have similar initSID.ora files in both of them, for 9i and 10g version databases with the same SID. The easiest way I can think of on finding out which it really is is logging in and querying v$version.