Hi if you get error Like Below
Failed to initialize central HHBC repository:\n Failed to initialize schema in /var/run/hhvm/hhvm.hhbc: RepoQuery::step(repo=0x7f814678e600) error: 'CREATE TABLE main.UnitSourceLoc_6ba408ef27e1fc7820c8bd6352989f40c1acb812(unitSn INTEGER, pastOffset INTEGER, line0 INTEGER, char0 INTEGER, line1 INTEGER, char1 INTEGER, PRIMARY KEY (unitSn, pastOffset));' --> (13) database or disk is full\n Failed to open /var/www/.hhvm.hhbc: 14 - unable to open database file\n
Failed to initialize central HHBC repository:\n Failed to initialize schema in /var/run/hhvm/hhvm.hhbc: RepoQuery::step(repo=0x7fdf7b38e600) error: 'CREATE TABLE main.UnitSourceLoc_6ba408ef27e1fc7820c8bd6352989f40c1acb812(unitSn INTEGER, pastOffset INTEGER, line0 INTEGER, char0 INTEGER, line1 INTEGER, char1 INTEGER, PRIMARY KEY (unitSn, pastOffset));' --> (13) database or disk is full\n Failed to open /var/www/.hhvm.hhbc: 14 - unable to open database file\n
Solution
create /var/www folder
and change owner to www-data
in /var folder run below commands
mkdir www
chown www-data:www-data www
Failed to initialize central HHBC repository:\n Failed to initialize schema in /var/run/hhvm/hhvm.hhbc: RepoQuery::step(repo=0x7f814678e600) error: 'CREATE TABLE main.UnitSourceLoc_6ba408ef27e1fc7820c8bd6352989f40c1acb812(unitSn INTEGER, pastOffset INTEGER, line0 INTEGER, char0 INTEGER, line1 INTEGER, char1 INTEGER, PRIMARY KEY (unitSn, pastOffset));' --> (13) database or disk is full\n Failed to open /var/www/.hhvm.hhbc: 14 - unable to open database file\n
Failed to initialize central HHBC repository:\n Failed to initialize schema in /var/run/hhvm/hhvm.hhbc: RepoQuery::step(repo=0x7fdf7b38e600) error: 'CREATE TABLE main.UnitSourceLoc_6ba408ef27e1fc7820c8bd6352989f40c1acb812(unitSn INTEGER, pastOffset INTEGER, line0 INTEGER, char0 INTEGER, line1 INTEGER, char1 INTEGER, PRIMARY KEY (unitSn, pastOffset));' --> (13) database or disk is full\n Failed to open /var/www/.hhvm.hhbc: 14 - unable to open database file\n
Solution
create /var/www folder
and change owner to www-data
in /var folder run below commands
mkdir www
chown www-data:www-data www
What an awesome written by you! I am too glad to read this kind of informative blog article. Thanks to sharing this with us, really thank you!!!!!!
ReplyDeleteDubai VPS Server
This is what I was wondering for! Nice information. Keep it up
ReplyDeleteGermany VPS Server
This comment has been removed by the author.
ReplyDeleteIt's very good that you have created this type of blog to solve Different Linux Problems with secured solutions. I literally got useful information from your blog!
ReplyDeleteIf you are looking for the best hosting services in the cheapest price with complete security, you can choose USA VPS Hosting Services.
We offer great Facilities at moderate costs.