Cannot open bayes databases /home/jav/.spamassassin/bayes_* R/O: tie failed: Inappropriate ioctl for device
Hmm, without more info it's tough to answer why you got that error... It could be a non-existant directory issue, or a non-file matching the * (ie: a subdirectory named bayes_toks instead of a file)
Could you run this command and post the results:
ls -l /home/jav/.spamassassin/