purplecat: Hand Drawn picture of a Toy Cat (Default)
purplecat ([personal profile] purplecat) wrote in [site community profile] dw_dev_training2013-06-12 09:38 am

Help! I've broken my dreamhack!

For a while my dreamhack has been throwing odd errors - e.g.,

file error - tropo-red.tt: not found at /dreamhack/home/8362-purplecat/dw/cgi-bin/DW/Template.pm line 365.\n, referer: http://user3.purplecat.hack.dreamwidth.net/

Today it was behaving very badly, with apache refusing to start and stop correctly, git throwing wierd errors when I tried to update develop and so on. I eventually realised I'd run out of space - deleted my back-up save of my old mercurial repositories and managed to get apache and git behaving again.

However, somewhere along the way I seem to have fubarred the database:


dh-purplecat@newhack:~/dw/bin/upgrading$ ./update-db.pl -r -p --innodb
Updating cluster: 0
Use of uninitialized value in concatenation (.) or string at /dreamhack/home/8362-purplecat/dw/cgi-bin/DBI/Role.pm line 245.
Use of uninitialized value in concatenation (.) or string at /dreamhack/home/8362-purplecat/dw/cgi-bin/DBI/Role.pm line 245.

cluster: status
0: ERROR: Can't connect to the database (clust#0), so I can't update it. (Access denied for user 'dh-purplecat'@'localhost' (using password: NO))

Use of uninitialized value in concatenation (.) or string at /dreamhack/home/8362-purplecat/dw/cgi-bin/DBI/Role.pm line 245.
Use of uninitialized value in concatenation (.) or string at /dreamhack/home/8362-purplecat/dw/cgi-bin/DBI/Role.pm line 245.
Couldn't get master handle for population. at ./update-db.pl line 212.


Any idea what I've done, or how I can fix it?

Or even why I ran out of space - that worries me a bit too.
momijizukamori: Green icon with white text - 'I do believe in phosphorylation! I do!' with a string of DNA basepairs on the bottom (Default)

[personal profile] momijizukamori 2013-06-12 09:54 am (UTC)(link)
I cannot help with the errors, but the space issue is probably the apache logs - it turned out at one point mine had gotten to like 300mb because they weren't being rotated/deleted/etc.
alierak: (Default)

[personal profile] alierak 2013-06-12 12:35 pm (UTC)(link)
If you've run out of space during an update, it's possible that some files are missing or truncated. I guess the database issue sounds like a problem with ext/local/etc/config-private.pl (where the password is supposed to be kept). Yours seems to be missing.