2018-10-22 14:41:17,883 KingPhisher.Server.CLI DEBUG king phisher version: 1.11.0 python version: 3.6.6 2018-10-22 14:41:17,888 AdvancedHTTPServer INFO listening on 0.0.0.0:80 2018-10-22 14:41:17,889 KingPhisher.Server INFO serving files has been enabled 2018-10-22 14:41:17,892 KingPhisher.Server.Database INFO initializing database connection with driver postgresql 2018-10-22 14:41:17,893 KingPhisher.Server.Database DEBUG postgresql-setup was not found 2018-10-22 14:41:17,916 KingPhisher.Server.Database DEBUG postgresql service is already running via systemctl 2018-10-22 14:41:19,154 KingPhisher.Server.Database DEBUG encountered a sqlalchemy OperationalError while initializing the database Traceback (most recent call last): File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 2158, in _wrap_pool_connect return fn() File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 345, in unique_connection return _ConnectionFairy._checkout(self) File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 791, in _checkout fairy = _ConnectionRecord.checkout(pool) File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 532, in checkout rec = pool._do_get() File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 1196, in _do_get self._dec_overflow() File "/usr/lib/python3/dist-packages/sqlalchemy/util/langhelpers.py", line 66, in __exit__ compat.reraise(exc_type, exc_value, exc_tb) File "/usr/lib/python3/dist-packages/sqlalchemy/util/compat.py", line 187, in reraise raise value File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 1193, in _do_get return self._create_connection() File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 350, in _create_connection return _ConnectionRecord(self) File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 477, in __init__ self.__connect(first_connect_check=True) File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 674, in __connect connection = pool._invoke_creator(self) File "/usr/lib/python3/dist-packages/sqlalchemy/engine/strategies.py", line 106, in connect return dialect.connect(*cargs, **cparams) File "/usr/lib/python3/dist-packages/sqlalchemy/engine/default.py", line 411, in connect return self.dbapi.connect(*cargs, **cparams) File "/usr/lib/python3/dist-packages/psycopg2/__init__.py", line 130, in connect conn = _connect(dsn, connection_factory=connection_factory, **kwasync) psycopg2.OperationalError: FATAL: password authentication failed for user "king_phisher" FATAL: password authentication failed for user "king_phisher" The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/share/king-phisher/king_phisher/server/database/manager.py", line 337, in init_database inspector = sqlalchemy.inspect(engine) File "/usr/lib/python3/dist-packages/sqlalchemy/inspection.py", line 63, in inspect ret = reg(subject) File "/usr/lib/python3/dist-packages/sqlalchemy/engine/reflection.py", line 139, in _insp return Inspector.from_engine(bind) File "/usr/lib/python3/dist-packages/sqlalchemy/engine/reflection.py", line 134, in from_engine return bind.dialect.inspector(bind) File "/usr/lib/python3/dist-packages/sqlalchemy/dialects/postgresql/base.py", line 2028, in __init__ reflection.Inspector.__init__(self, conn) File "/usr/lib/python3/dist-packages/sqlalchemy/engine/reflection.py", line 109, in __init__ bind.connect().close() File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 2102, in connect return self._connection_cls(self, **kwargs) File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 90, in __init__ if connection is not None else engine.raw_connection() File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 2188, in raw_connection self.pool.unique_connection, _connection) File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 2162, in _wrap_pool_connect e, dialect, self) File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 1476, in _handle_dbapi_exception_noconnection exc_info File "/usr/lib/python3/dist-packages/sqlalchemy/util/compat.py", line 203, in raise_from_cause reraise(type(exception), exception, tb=exc_tb, cause=cause) File "/usr/lib/python3/dist-packages/sqlalchemy/util/compat.py", line 186, in reraise raise value.with_traceback(tb) File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 2158, in _wrap_pool_connect return fn() File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 345, in unique_connection return _ConnectionFairy._checkout(self) File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 791, in _checkout fairy = _ConnectionRecord.checkout(pool) File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 532, in checkout rec = pool._do_get() File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 1196, in _do_get self._dec_overflow() File "/usr/lib/python3/dist-packages/sqlalchemy/util/langhelpers.py", line 66, in __exit__ compat.reraise(exc_type, exc_value, exc_tb) File "/usr/lib/python3/dist-packages/sqlalchemy/util/compat.py", line 187, in reraise raise value File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 1193, in _do_get return self._create_connection() File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 350, in _create_connection return _ConnectionRecord(self) File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 477, in __init__ self.__connect(first_connect_check=True) File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 674, in __connect connection = pool._invoke_creator(self) File "/usr/lib/python3/dist-packages/sqlalchemy/engine/strategies.py", line 106, in connect return dialect.connect(*cargs, **cparams) File "/usr/lib/python3/dist-packages/sqlalchemy/engine/default.py", line 411, in connect return self.dbapi.connect(*cargs, **cparams) File "/usr/lib/python3/dist-packages/psycopg2/__init__.py", line 130, in connect conn = _connect(dsn, connection_factory=connection_factory, **kwasync) sqlalchemy.exc.OperationalError: (psycopg2.OperationalError) FATAL: password authentication failed for user "king_phisher" FATAL: password authentication failed for user "king_phisher" (Background on this error at: http://sqlalche.me/e/e3q8) 2018-10-22 14:41:19,202 KingPhisher.Server.CLI CRITICAL server failed to build with error: initialization failed 2018-10-22 14:41:19,203 KingPhisher.Plugins.Manager INFO unloading 0 plugins