Wakaba/Kareha on Dreamhost (71)

1 Name: n1ko 2005-02-21 16:21 ID:SRIIVZIR (Replies) [Del]

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.

2 Name: Anonymous 2005-02-21 16:39 ID:QKTu65m0 (Replies) [Del]

Yes. All I did was copy Wakaba 2.0.4 on, set permissions, make a MySQL database, and fiddle with config.pl a bit.

3 Name: !WAHa.06x36 2005-02-21 17:43 ID:FqgLpoAw (Replies) [Del]

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

4 Name: n1ko 2005-02-22 17:10 ID:rwCUbKVZ (Replies) [Del]

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.

5 Name: !WAHa.06x36 2005-02-22 17:25 ID:DceU83+z (Replies) [Del]

Zero won't work on Dreamhost - it needs Perl 5.8.0... Kareha and Wakaba should both work, though.

6 Name: !WAHa.06x36 2005-02-22 17:51 ID:DceU83+z (Replies) [Del]

Also, Zero is just about to be DEPRECATED!

7 Name: cyrilthefish!ljAhqzG3aU 2005-02-22 20:00 ID:H+vZJr9G (Replies) [Del]

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!

8 Name: !DEEPjKeito 2005-02-23 14:23 ID:Heaven (Replies) [Del]

>>6
Kill it, kill it!

9 Name: Anonymous 2005-02-25 19:30 ID:qUudewrb (Replies) [Del]

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;

10 Name: !WAHa.06x36 2005-02-25 20:08 ID:7ejXpF4X (Replies) [Del]

Did you actually try to hit wakaba.pl through the browser?

11 Name: 9 2005-02-25 20:18 ID:qUudewrb (Replies) [Del]

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.

12 Name: !WAHa.06x36 2005-02-25 21:01 ID:7ejXpF4X (Replies) [Del]

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...

13 Name: Anonymous 2005-02-26 02:03 ID:31ZTCxAf (Replies) [Del]

Huh?

#!/usr/bin/perl

That was at the head of my wakaba.pl. Did you change something from 2.0.4?

14 Name: 9 2005-02-26 04:05 ID:qUudewrb (Replies) [Del]

I changed that in an attempt to fix my problem, but #!/usr/bin/perl didn't work either.

15 Name: !WAHa.06x36 2005-02-26 07:54 ID:7ejXpF4X (Replies) [Del]

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.

16 Name: 9 2005-02-26 14:26 ID:iEEls9fQ (Replies) [Del]

OK, I guess I'll look around Dreamhost's site and then e-mail them about it if I find nothing.

17 Name: 9 2005-02-26 14:42 ID:iEEls9fQ (Replies) [Del]

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. :)

18 Name: !WAHa.06x36 2005-02-26 14:49 ID:+S1qVTsT (Replies) [Del]

mod_suexec sure can be a whiny little bitch.

19 Name: Anonymous : 2006-05-12 08:02 ID:E/UUd5sx [Del]

So is anyone running wakaba on dreamhost these days? What do you think about their services. I'm thinking about choosing them.

20 Name: Anonymous : 2006-05-12 08:27 ID:Heaven [Del]

>>19
http://wakaba.c3.cx/sup/kareha.pl/1147353834/

> I've now (temporarily, at least) moved the site over to dmpk2k's Dreamhost account.

21 Name: anon!21anon4H3U : 2006-05-12 16:27 ID:kZ1LV0b5 [Del]

>>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

22 Post deleted by user.

23 Name: Anonymous : 2006-05-13 01:28 ID:Heaven [Del]

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.

24 Name: Anonymous : 2006-05-24 11:57 ID:yb5Nw1sR [Del]

CHANGE MODE OF DIRECTORY YOU RUN KAREHA TO 755
OR YOU WILL GET 500 ERRORS ON DREAMHOST

25 Name: Anonymous : 2006-05-24 20:03 ID:Heaven [Del]

>>24 THANK YOU MISTER BOLD TEXT MAN!

26 Name: Anonymous : 2006-06-01 00:35 ID:E/UUd5sx [Del]

http://blog.dreamhost.com/2006/05/18/the-truth-about-overselling/
Here is an interesting link. Dreamhost accepts that they ARE overselling.

27 Name: Anonymous : 2006-06-01 05:57 ID:kZ1LV0b5 [Del]

>>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?

28 Name: Anonymous : 2006-06-01 08:06 ID:Heaven [Del]

Why would it be?

29 Name: shinmai : 2007-09-25 10:20 ID:CPJ8siKC [Del]

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..

30 Name: Anonymous : 2007-09-27 01:38 ID:yTUANESx [Del]

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? :[

31 Name: !WAHa.06x36 : 2007-09-27 05:38 ID:Heaven [Del]

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.

32 Name: Anonymous : 2007-09-28 09:08 ID:Heaven [Del]

if they're both on the same 'account', couldn't he use "../../img.domain.net"? Modify for your own directory structure, obviously.

33 Name: Anonymous : 2007-10-02 20:37 ID:k3+OY/Ph [Del]

>>32
hey that worked lol. now i just have to hax futaba_style.pl some more to get this to work

34 Name: Anonymous : 2007-10-03 07:48 ID:BsEZMdiH [Del]

it really isn't that hard. dreamhost is actually amazingly well set up for kareha and wakaba.

35 Name: Anonymous : 2007-10-03 07:51 ID:BsEZMdiH [Del]

set directories to 775 and .pl to 754 for kareha, just a tip

36 Name: Anonymous : 2007-10-04 19:30 ID:k3+OY/Ph [Del]

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.

37 Name: Anonymous : 2007-10-04 22:43 ID:k3+OY/Ph [Del]

>>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 ?

38 Name: Anonymous : 2007-10-05 06:42 ID:Heaven [Del]

>>36

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.

39 Name: Anonymous : 2007-10-05 10:29 ID:Heaven [Del]

>>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.

40 Name: Anonymous : 2007-10-05 16:04 ID:Heaven [Del]

>>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.

41 Name: Anonymous : 2007-10-06 00:56 ID:Heaven [Del]

>>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.

42 Name: Anonymous : 2007-11-12 03:33 ID:RoE0Te4F [Del]

[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.

43 Name: Anonymous : 2007-11-12 04:06 ID:RoE0Te4F [Del]

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?..

44 Name: !WAHa.06x36 : 2007-11-12 05:04 ID:Heaven [Del]

>>43

Read and then edit config.pl.

45 Name: Simon Howard : 2007-11-27 15:21 ID:ASJFH7ro [Del]

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

46 Name: !WAHa.06x36 : 2007-11-27 16:41 ID:Heaven [Del]

It is a good idea, but also lots of work to do it right, so don't hold your breath.

47 Name: Anonymous : 2008-01-02 03:12 ID:lxya1ef+ [Del]

>>44

-----------------
#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.

48 Name: hina : 2008-01-02 04:48 ID:amfrWSJg [Del]

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.

49 Name: Sobota : 2008-08-11 23:53 ID:sKPmNlO2 [Del]

Has anyone here had any luck using Wakaba on Fatcow?

50 Name: Anonymous : 2008-08-13 13:55 ID:Heaven [Del]

>>49

No, why don't you try it out and let us know how it goes?

51 Name: Sobota : 2008-08-13 14:51 ID:sKPmNlO2 [Del]

>>50

I got a few things working so far, but it has yet to come together fully.

52 Name: Anonymous : 2008-08-22 11:00 ID:t4zj44bk [Del]

" # 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?

53 Name: Anonymous : 2008-08-23 15:14 ID:Heaven [Del]

>>52 the other spots before it.

54 Post deleted by moderator.

55 Name: Anonymous : 2008-11-22 21:48 ID:WtR8Uu1U [Del]

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.

56 Name: !WAHa.06x36 : 2008-11-25 10:44 ID:Heaven [Del]

>>55

Since it's using suexec, the default permissions should work, you shouldn't have to change anything. (700 for directories.)

57 Name: Anonymous : 2008-11-25 14:29 ID:WtR8Uu1U [Del]

If I set the directories to 700, then I can't even access them from the web. Besides, dreamhost default is 755.

58 Name: !WAHa.06x36 : 2008-11-26 11:45 ID:Heaven [Del]

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.

59 Name: Anonymous : 2008-11-26 13:51 ID:pqv8pMTs [Del]

>>55 directory permissions to 755 as well.

60 Name: Anonymous : 2008-11-27 03:13 ID:WtR8Uu1U [Del]

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.

61 Name: Anonymous : 2010-03-17 06:05 ID:rjjOg4Wb [Del]

How do i get is so that my site can be, say, somethign.com instead of something.com/wakaba.pl ?

62 Name: Anonymous : 2010-03-17 15:53 ID:Heaven [Del]

>>61
It shouldn't be wakaba.pl regardless. You only want that the very first time after setting up.

63 Name: anonymous : 2010-08-09 16:27 ID:cPEDFaWn [Del]

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. =\

64 Name: Anonymous : 2010-08-09 17:36 ID:Heaven [Del]

>>63
Set the path correct/rebuild caches.

65 Name: anonymous : 2010-08-09 18:00 ID:cPEDFaWn [Del]

Ah, in the Config.pl part! gotcha.

66 Name: anonymous : 2010-08-09 18:56 ID:cPEDFaWn [Del]

>>65

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.

67 Name: Anonymous : 2010-09-13 11:01 ID:Kc+U9m3Q [Del]

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?

68 Name: Anonymous : 2010-09-20 10:50 ID:Kc+U9m3Q [Del]

No feedback on whether >>67 is doable?

69 Post deleted by user.

70 Name: Anonymous : 2011-03-24 21:35 ID:ML2C96ue [Del]

>>67

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.

71 Name: Nathan Magus : 2011-04-26 13:33 ID:o8dS+K60 [Del]

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.

Name: Link:
Leave these fields empty (spam trap):
More options...
Verification: