becoz am trying to rotate the shaft of a generator using magnetic force
If you mean you are trying to drive a generator using only magnets, you are going to be disappointed. Despite all the claims advertising free power, usually with a load of pseudoscientific evidence, it is still contrary to the Laws of Thermodynamics. You cannot create energy from nothing.
Graphite coating as used in Cathode Ray Tube