You need to apply the rated voltage to the solenoids and measure the current draw with an ammeter. That will tell you what type of driver circuit you will need. The 4017s will only drive a few tens of milliamps which is likely far less than the solenoids require. Or is there some type of driver circuit already with the solenoid?