Dear Experts,
Kndly help to resolve the issue reported during startup pgadmin4 server mode on ubuntu 16.04
dram@vipgadmin:~$ cd .pgadmin4
dram@vipgadmin:~/.pgadmin4$ chmod +x lib/python2.7/site-packages/pgadmin4/pgAdmin4.py
dram@vipgadmin:~/.pgadmin4$ chmod 7777 lib/python2.7/site-packages/pgadmin4/pgAdmin4.py
dram@vipgadmin:~/.pgadmin4$ chmod -R 7777 lib/python2.7/site-packages/pgadmin4/pgAdmin4.py
dram@vipgadmin:~/.pgadmin4$ sudo systemctl daemon-reload
dram@vipgadmin:~/.pgadmin4$ sudo systemctl enable pgadmin4
dram@vipgadmin:~/.pgadmin4$ sudo systemctl start pgadmin4
dram@vipgadmin:~/.pgadmin4$ sudo systemctl status pgadmin4
● pgadmin4.service - Pgadmin4 Service
Loaded: loaded (/etc/systemd/system/pgadmin4.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Mon 2018-03-05 23:57:24 PST; 10s ago
Process: 14190 ExecStart=/root/.pgadmin4/lib/python2.7/site-packages/pgadmin4/pgAdmin4.py (code=exited, status=200/CHDIR)
Main PID: 14190 (code=exited, status=200/CHDIR)
Mar 05 23:57:24 vipgadmin systemd[1]: Started Pgadmin4 Service.
Mar 05 23:57:24 vipgadmin systemd[1]: pgadmin4.service: Main process exited, code=exited, status=200/CHDIR
Mar 05 23:57:24 vipgadmin systemd[1]: pgadmin4.service: Unit entered failed state.
Mar 05 23:57:24 vipgadmin systemd[1]: pgadmin4.service: Failed with result 'exit-code'.
Regards,
Daulat