Msfconsystemic startup in bt5, postgresql error solving

Source: Internet
Author: User
When msfconsole is started, there are some errors. because the problem has been solved, you cannot copy the errors in English. In general, postgresql cannot be started. msf cannot be connected, and then & hellip; & hellip; & he startup msfconsole some errors have occurred, because the problem has been solved, so what errors cannot be copied in English.
 
In general, postgresql cannot be started, and msf cannot be connected.
 
....................................
 
{"Adapter" => "postgresql", "database" => "msf3", "username" => "msf3", "password" => "eccd8310 ", "host" => "127.0.0.1", "port" => 7175, "pool" => 75, "timeout" => 5}
 
.................................... This is a mess of things.
 
 
 
Check that the host of/opt/framework/postgresql/data/postgresql. conf is changed to root (bt5 bug ?)
 
Therefore, chown postgres. postgres/opt/framework/postgresql/data/postgresql. conf
 
 
 
Then restart the service/etc/init. d/framework-S s start, and an error occurs, which means you can delete a lock file.
 
Solution: mv/opt/framework/postgresql/. s. PGSQL.7175.lock/opt/framework/postgresql/. s. PGSQL.7175.lock _ bak
 
 
 
After restarting the postgresql service, the problem of msf running error is solved.

From vbs small shop

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.