By mistake I have applied the command,

sudo rm -rf /etc/init.d/apache2 restart

after that i can't run apache2

How can I solve this?

Edit
Report