modify the socketfile and database file

modify the socketfile and database file