Unable to restart prosody

I am trying to do manual setup of jitsi.

Getting error in first step itself.

Getting following error when restart prosody :

Couldn’t write pidfile at /run/prosody/prosody.pid; /run/prosody/prosody.pid: No such file or directory
Shutting down: Couldn’t write pidfile
Activated service ‘s2s’ on []:5269, [::]:5269
Activated service ‘http’ on [
]:5280, [::]:5280
Error binding encrypted port for https: No certificate present in SSL/TLS configuration for https port 5281
Error binding encrypted port for https: No certificate present in SSL/TLS configuration for https port 5281
Activated service ‘https’ on no ports
Activated service ‘component’ on [::1]:5347, [127.0.0.1]:5347
Shutting down…
Shutdown status: Cleaning up
Shutdown complete