Start when you run opensipsctl ERROR: File /var/run/opensips.pid PID does not exist - OpenSIPS Start failed The error.
General opensips errors we need to look at the cause of the error from the / var / log / syslog inside.
Sure enough, there in syslog
Jun 11 10:25:08 szty-Inspiron-3847 /usr/local/sbin/opensips[3062]: ERROR:uri:db_checks_fixup1: configuration error - no database URL is configured!
Jun 11 10:25:08 szty-Inspiron-3847 /usr/local/sbin/opensips[3062]: ERROR:core:fix_actions: fixing failed (code=-6) at /usr/local//etc/opensips/opensips.cfg:372
Then modify the configuration opensips.cfg