Has anyone been able to make this work? They've got an older version of Perl installed so I compiled a local version of the newest release but I still get 500 errors. Permissions are all set right, .htaccess is proper, scripts point to the local version of perl.
Yes. All I did was copy Wakaba 2.0.4 on, set permissions, make a MySQL database, and fiddle with config.pl a bit.
Wakaba runs just fine on Perl 5.6.0, and several of the WAKAchan boards run on Dreamhost, as far as I know. What does error_log say about the errors? Also, does this work? http://wakaba.c3.cx/sup/kareha.pl/1102836129/6
The error I was getting is "premature end of headers" - Also, I forgot I was trying to install Wakaba Zero, although Kareha was giving me the same problem. I'll try to install Wakaba proper when I get home this evening and see how that goes.
Zero won't work on Dreamhost - it needs Perl 5.8.0... Kareha and Wakaba should both work, though.
Also, Zero is just about to be DEPRECATED!
what WaHa said allready really, but theres a large amount of wakachan wakaba boards on dreamhost allready, i host 6 of them myself on dreamhost alone for example!
>>6
Kill it, kill it!
I am a total noob and can't get Wakaba to do anything other then list perl scripts on my new Dreamhost account, ex: http://muchan.org/test.pl
I think i've tried everything I saw on the wiki, and here...
Spammy stuff below so that (hopefully) I can't be accused of providing too little info
[peso]$ ls -al
total 180
drwxrwxr-x 8 muchan pg169033 4096 Feb 25 15:48 .
drwxr-xr-x 3 muchan pg169033 4096 Feb 25 16:12 ..
-rw-rw-r-- 1 muchan pg169033 525 Feb 25 15:56 .htaccess
-rwxr-xr-x 1 muchan pg169033 9898 Feb 11 21:12 captcha.pl
-rwxr-xr-x 1 muchan pg169033 9425 Feb 25 15:36 config.pl
-rwxr-xr-x 1 muchan pg169033 6619 Feb 19 02:45 config_defaults.pl
drwxrwxr-x 2 muchan pg169033 4096 Feb 13 17:40 css
-rw-rw-r-- 1 muchan pg169033 496 Feb 25 15:48 example.htaccess
drwxrwxr-x 4 muchan pg169033 4096 Feb 11 21:11 extras
-rwxr-xr-x 1 muchan pg169033 19877 Feb 19 02:44 futaba_style.pl
drwxrwxr-x 2 muchan pg169033 4096 Feb 3 00:14 include
drwxrwxr-x 2 muchan pg169033 4096 Jul 29 2004 res
-rw-rw-r-- 1 muchan pg169033 1557 Feb 7 18:33 spam.txt
drwxrwxr-x 2 muchan pg169033 4096 Jul 29 2004 src
-rwxr-xr-x 1 muchan pg169033 9809 Feb 2 23:36 strings_en.pl
-rwxr-xr-x 1 muchan pg169033 121 Feb 25 16:04 test.pl
drwxrwxr-x 2 muchan pg169033 4096 Jul 29 2004 thumb
-rw-rw-r-- 1 muchan pg169033 894 Sep 11 21:20 wakaba.ico
-rw-rw-r-- 1 muchan pg169033 3848 Feb 10 22:39 wakaba.js
-rwxr-xr-x 1 muchan pg169033 38142 Feb 18 20:44 wakaba.pl
-rwxr-xr-x 1 muchan pg169033 18666 Feb 14 01:12 wakautils.pl
[peso]$ cat .htaccess
Options +ExecCGI
AddHandler cgi-handler .cgi .pl
DirectoryIndex wakaba.html index.html
AddCharset utf-8 html
<Files *.sql>
Deny from all
</Files>
<IfModule mod_headers.c>
<Files *.html>
Header add Expires "Mon, 26 Jul 1997 05:00:00 GMT"
Header add Pragma "no-cache"
Header add Cache-Control "max-age=0; must-revalidate; no-cache"
Header unset Vary
</Files>
</IfModule>
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTP_ACCEPT} application/xhtml\+xml
RewriteRule \.html$ - [T=application/xhtml+xml]
</IfModule>
[peso]$ which perl
/usr/local/bin/perl
[peso]$ cat test.pl
#!/usr/local/bin/perl
print "Content-Type: text/html\n\n";
print "<html><body><h1>Perl is working!</h1></body></html>";
[peso]$ head wakaba.pl
#!/usr/local/bin/perl
use CGI::Carp qw(fatalsToBrowser);
use strict;
use CGI;
use DBI;
Did you actually try to hit wakaba.pl through the browser?
If 'hit' means the same thing as paste in my URL bar and press return, yeah- it lists the script contents just like test.pl.
Ah right, didn't notice the link at first. Hmm, that seems funny. I'll leave this to someone who knows a bit more about the setup at Dreamhost, though, because I don't know what trickery to use...
Huh?
#!/usr/bin/perl
That was at the head of my wakaba.pl. Did you change something from 2.0.4?
I changed that in an attempt to fix my problem, but #!/usr/bin/perl didn't work either.
That's not the problem, because Apache is not even trying to run the script. I don't know why, though, it may be that you need to edit the apache config directly, but I don't know if you can do that on Dreamhost.
OK, I guess I'll look around Dreamhost's site and then e-mail them about it if I find nothing.
Working now.
1) for some reason my .htaccess was causing the script execution problem; removing it made the scripts work
2) the wakaba directory was world-writeable and mod_suexec didn't like that
Thanks for trying to help. :)
mod_suexec sure can be a whiny little bitch.
So is anyone running wakaba on dreamhost these days? What do you think about their services. I'm thinking about choosing them.
>>19
http://wakaba.c3.cx/sup/kareha.pl/1147353834/
> I've now (temporarily, at least) moved the site over to dmpk2k's Dreamhost account.
>>19 Pretty good. No complaints, at any rate.
If you do go with them, pass the rewards credit onto cyril, I'm sure he's appreciate it.
http://www.dreamhost.com/rewards.cgi?cyrilthefish
Shanachan is ran on dreamhost, and I haven't had any problems yet.
BTW, the best Dreamhost code is "MAXIMUM" Don't use any of the other ones.
CHANGE MODE OF DIRECTORY YOU RUN KAREHA TO 755
OR YOU WILL GET 500 ERRORS ON DREAMHOST
http://blog.dreamhost.com/2006/05/18/the-truth-about-overselling/
Here is an interesting link. Dreamhost accepts that they ARE overselling.
>>26 http://blog.dreamhost.com/2006/05/31/why-web-hosting-is-here-to-stay/
Look at the second picture- wasn't that/isn't that a 4chan thing?
I can get kareha to run just fine, posts get recorded and everything works. But whenever I try to upload an image. I get a internal server error..
HEY GUYS, I'm trying to get my wakaba board to store it's images on a subdomain like so: img.domain.net instead of domain.net/src/
i am on dreamhost and i get the following error when i set
use constant IMG_DIR => 'http://img.domain.net/'; # Image directory (needs to be writeable by the script)
error:
Error: Could not write to directory.
both the subdomain and the domain are owned by me. they are in the same (unix) group and img.domain.net is chmod 755'd.
why can't i do this? :( dreamhost gave me the usual "sorry can't help you because this is third party software" shit.. so ya, halp pls? :[
Because IMG_DIR is a local path. If you absolutely have to have the images on another domain, you have to make sure that domain is accessible through a local path, and then you have to do some magic in the templates to change links to point there.
if they're both on the same 'account', couldn't he use "../../img.domain.net"? Modify for your own directory structure, obviously.
>>32
hey that worked lol. now i just have to hax futaba_style.pl some more to get this to work
it really isn't that hard. dreamhost is actually amazingly well set up for kareha and wakaba.
set directories to 775 and .pl to 754 for kareha, just a tip
well, now i've got source images, thumbnails, and html res all on seperate subdomains from the actually board. DIDN'T REALIZE I'D HAVE TO EDIT SO MUCH STUFF TO GET IT ALL WORKING PROPERLY. lol but it's working great. :D
one of the only problems i'm experiencing right now is that the cookies aren't working properly. since threads are @ html.domain.net instead of domain.net/res/ the board is not using cookies to remember poster name, email, and such when in reply mode. i assume it's going to be a simple fix, but for the life of me i don't know where i need to look for this specific cookie problem.
>>36
also, when you reply to a thread the post goes through but you are redirected to the 404 page instead of the thread list. would this be fixed in wakaba.pl wakautils.pl or futaba_style.pl ?
I'm pretty sure the cookie security model makes this impossible to fix. I recommend removing the html domain, which isn't really serving any useful purpose.
>>38
i'm pretty sure it is. :) with large threads full of discussion comes larger and larger html file sizes. my host has capped my max concurrent connections and MBPS on my main domain due to the popularity of our board exceeding the resouces they provide. therefor most everything loads slowly from the main domain and there is only one work around for me at the moment. that is, every subdomain and domain on dreamhost is treated as a seperate entity. each one gets it's own allowed number of connections, MBPS, etc. putting the images, html, and thumbnails on seperate subdomains means that they will not be subject to the cap on the main domain.
there's gotta be a way to muck around with the cookie model.. hmm.
>>39 No, the cookie model is designed so that you can't work around it. Browsers won't let a domain set or check for cookies not related to that domain. Period.
>>40
even if it's from the same domain?_? p.s. i wasn't saying "YES IT IS SETUP TO BE ABLE TO DO THIS" i meant it's got to be possible some how.
[edit] Why Perl CGIs can fail mysteriously
Dreamhost runs suexec. suexec requires that all cgi scripts and the directories in which they reside not be writable by anyone but the owner (ie, user). This means that you have to change the permissions of the script as below using chmod:
chmod -R 755 perldir
Worked for me as far as getting the:
http://wakaba.c3.cx/sup/kareha.pl/1102836129/6
to work.
I guess I'll try this Wakaba again because Futallabalably needs so much changed and added to be neat and Kasabatrevor doesn't seem to work right.
Software error:
No ADMIN_PASS or NUKE_PASS defined in the configuration at /usr/share/perl/5.8/CGI/Carp.pm line 314.
BEGIN failed--compilation aborted at config_defaults.pl line 126.
Compilation failed in require at wakaba.pl line 17.
BEGIN failed--compilation aborted at wakaba.pl line 17.
what?..
Read and then edit config.pl.
I have been using Xee for quite a while and find it very useful.
I wonder whether in the next version you could have a configure the status bar.
I would like to put selected EXIF options on. ie f/stop, ISO, Shutter Speed, lens
It is a good idea, but also lots of work to do it right, so don't hold your breath.
-----------------
#use constant ADMIN_PASS => 'qwerty'; # Admin password. For fucks's sake, change this.
#use constant NUKE_PASS => 'qwerty'; # Password to nuke a board. Change this too, NOW!
------------------
I edited, but this error again
-------------------
No ADMIN_PASS or NUKE_PASS defined in the configuration at config_defaults.pl line 8.
BEGIN failed--compilation aborted at config_defaults.pl line 126.
Compilation failed in require at z:\home\wakaba\www\wakaba.pl line 17.
BEGIN failed--compilation aborted at z:\home\wakaba\www\wakaba.pl line 17.
remove the hashes at the start of the lines of code you've edited (#use constant becomes use constant).
If you don't remove those hashes, the code thinks you've left things default and haven't entered a pass, for example.
http://wakaba.c3.cx/sup/kareha.pl/1192108766/ and http://wakaba.c3.cx/docs/docs.html are also useful.
Has anyone here had any luck using Wakaba on Fatcow?
No, why don't you try it out and let us know how it goes?
I got a few things working so far, but it has yet to come together fully.
" # DBI data source string (mysql version, put server and database name in here) "
Can someone define this for me? Am I supposed to put the SQL info in the other spots before it or literally in the parentheses?
How do you get the permissions to work for this? If I set 755 to be able to execute (since dreamhost is running suexec), then the script is unable to make the HTML files in the directory. Apparently there's a way to do this, since there are other wakaba boards on dreamhost, but I can't for the life of me figure it out.
Since it's using suexec, the default permissions should work, you shouldn't have to change anything. (700 for directories.)
If I set the directories to 700, then I can't even access them from the web. Besides, dreamhost default is 755.
Oh, right, my bad. Either way, it should work pretty much by default. At least it's had for me, and this site is hosted on Dreamhost right now.
Even if I have all permissions to 755 (it's the default, remember?), it doesn't work. The script says it cannot create the HTML files.
How do i get is so that my site can be, say, somethign.com instead of something.com/wakaba.pl ?
>>61
It shouldn't be wakaba.pl regardless. You only want that the very first time after setting up.
Hey guys, any way i can actually fix the 404 error i keep getting every time i click "reply"?
I don't know what to do. =\
actually, i did that... annnnd. It didn't work. I'm sure i got the correct cache paths down.
BTW, i'm on dreamhost too.
Are any of the wakachan/iichan boards hosted on Dreamhost? Do they notice boards hosting what are obviously other people's images? I want to add an image board to replace one that's gone down, and the only economical way for me to do it is to add another domain to my existing Dreamhost account (thus hosting would be free and I'd only pay for domain name reg). But I'm nervous about the possibility of getting everything I host with them (including personal/professional stuff) shut down. Any experience?
lulz.net used to be on dreamhost. According to the guy that runs it, he got kicked off from getting too many dmca complaints. But he still runs several other domains off of his dreamhost account, and apparently they were unaffected.
I tried running Kareha on X10 Prime hosting (my account is on the Chopin server and I have been paying for this account at the Prime level (adfree-infinity-prime)). I tried a lot of what was said above to get Kareha BBS to work on X10, but apparently nothing worked (i.e. everything failed).
On the other hand, I have Kareha and used to (and soon will again) have Wakaba running on a NearlyFreeSpeech account I use for business purposes (but it's my personal account since I don't just use it for business purposes all the time - my personal newspaper clipping tiddlywiki is there too). Everything works there perfectly fine.
I am just wondering if anyone else has similar troubles or got Kareha to work with X10 and/or Hosting24. Would be glad to know. Thanks.
Magus, over and out.