On a solaris 2.7 sparc machine I see these errors in
the /var/adm/messages file

Jul 26 23:42:48 sug sqwebmail[9333]: sqwebmail: Cache create failure -
bad code.Jul 26 23:43:05 sug sqwebmail[9336]: sqwebmail: Cache create
failure - bad code.Jul 26 23:43:44 sug sqwebmail[9340]: sqwebmail: Cache
create failure - bad code.

sqwebmail seems to be working fine. But i'm not sure why these
error messages are showing up.

The other thing is the:

su -c "/usr/local/share/sqwebmail/cleancache.pl" bin

Line isn't happy on solaris. 

# su -c "/usr/local/share/sqwebmail/cleancache.pl" bin
su: Unknown id: /usr/local/share/sqwebmail/cleancache.pl

So I'm running this in roots crontab:

10 * * * * /usr/local/share/sqwebmail/cleancache.pl 2>&1 > /dev/null

Maybe that is messing things up.
When I run 

su - bin "/usr/local/share/sqwebmail/cleancache.pl"
I get:
# su - bin "/usr/local/share/sqwebmail/cleancache.pl"
/usr/local/share/sqwebmail/cleancache.pl: =/var/run/sqwebmail: not found
/usr/local/share/sqwebmail/cleancache.pl: =7200: not found
/usr/local/share/sqwebmail/cleancache.pl: syntax error at line 18:
`chdir' unexpected

Any ideas?

Ken Jones

Reply via email to