Tuesday, 7 July 2015

HHVM Failed to open /var/www/.hhvm.hhbc

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

Share This!



5 comments:

  1. 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!!!!!!
    Dubai VPS Server

    ReplyDelete
  2. This is what I was wondering for! Nice information. Keep it up
    Germany VPS Server

    ReplyDelete
  3. This comment has been removed by the author.

    ReplyDelete
  4. It'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!
    If 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.

    ReplyDelete

Here We Write The Problems we face at different situations and Solutions to those problems.