mod_ruby problems on openSuSE 12.2
I've tried current IspConfig (126.96.36.199) on OpenSuSE 12.2 (After making a image with clonezilla of my running OpenSuse 12.1 config). while I'm capable of getting it working, There's one problem lingering.
I can successfuly complie mod_ruby, but after installation, Apache won't start and I get an error about "ruby_dln_librefs" not defined.
I couldn't find any possible solutions on the net and found mod_ruby to be unmaintained for three years now. I suspect it having to do with ruby 1.9 being experimental in mod_ruby 1.3.0, and the current version of Ruby (1.9.3) used by the distro not being compatible.
Unfortunately, since I've got only one system running, and I reverted back to my 12.1 image (which works perfectly well), I can't do any more testing.
has anyone necountered the same and found a solution (besides not installing ruby. It's not needed for IspConfig, I know).
As far as I found out, It's not working on latest releases of Fedora either, so maybe IspConfig should be checking if it is installed and not offer the option on the pannel if it isn't. If it is installed and selected, a wrong conf/vhost file for apache may be generated, resulting in a failure to start the site or arpoache as a whole.
with kind regards,
I dont know if is same issue i got, but the extra features arent working on debian 6 too.
Tried on 2 setups:
1 - 1 Dedicated Server with all stuff
2 - Multiserver Scenario
I tried test using this:
Perl (save as test.pl)
Get this features will be my last researchs, i will try get the tomcat up too, but not sure if gonna get all working like i wish.
Regarding your tests, perl ruby and python are working fine here on a debian perfect setup, I downloaded the original vmware image from howtoforge without any modifications which is the exact copy & paste install of the published guide.
Reagarding your tests:
1) Perl: Did you put the perl code into the cgi-bin directory as required and accessed it trough cgi-bin?
2) Thats "ruby on rails" code for a rails application server and nothing to be executed in a apache webserver.
3) Do you have mod_pythoin installed and did the file had the correct .py ending?
How to test perl, ruby and python on a ispconfig server:
Here are the instructions on how to test perl, python and ruby:
Perl: Ensure that cgi is enabled in the site settings, then create a file "hello.pl in the cgi-bin folder of the website with this content:
chmod +x hellp.pl
chown web1:client0 hello.pl
(change user and group to match the user and group of the website) on the file and enter:
in the browser. You will see the output "Hello World!"
Ruby: Create a file "hello.rbx" in the web folder with this content:
chmod +x hellp.rbx
chown web1:client0 hello.rbx
and open the url http://www.yourdomain.com/hello.rbx in your browser and you will see the test "Hello World" in the browser.
Python support was not implemented in ispconfig at the time the debian 6 setup was written, so it is included in newer guides like the ubuntu ones only. To enable python on a debian 6 server run:
To test it, create a file "hello py" in the web folder of the site
My goal is have an webserver able to run all kind of application for small user.
Simple in my country there many hosts enterprises, actually very cheap, since our internet speed sux...
So many people here pay around US$ 12,00 for have:
10 GB webspace
5 database of 5 gb each (total 25 GB for databases - this limit is for avoid "hackers" store lot of stuff as binary inside mysql and avoid the webspace limit for example)
5 mails 1 gb each
Unlimited bandwith *
Total Space from HD (40GB per user)
Max upload capped to 100 kbps
And this runing linux with all kind of support, tomcat, perl, python, etc...
For me, as enduser, the mostly cheapest ISP charge me around US$ 200,00
1 IP Dedicated
Upload between 300kbps and 600 kbps (mostly time stay on 300 kbps)
So i think this show how unfair and hard is for enduser try become a smallhost..
And i dont saying nothing about power energy, my power energy account come US$ 150,00 more expensive while i`m trying get this working...
I`m trying get this working for who know make some money (or at least recover what i already spended), but for now my expenses become:
US$ 200,00 (ISP)
US$ 150,00 (Power Energy)
Total of those monthly expenses: US$ 350,00
The list have more things, like:
But i`m focusing on try get the montlhy fees payed by my future users at least...
So for get this goal, first i need be able to provide samethings like big hosts does here (php, perl, ruby, tomcat, etc...)
Second i need be more cheapest...
If i charge my future users for around US 10,00 for 40GB HD space like the big hosts does, i will need at least 35 users (and 1400GB free on HD ) for pay my current bills with "structure"..
I have no idea how many users my PC will handle, but i hope i can get at least 200 users (my limit of harddisk space is 4TB - then there another problem here), for this become profitable.
Then i dont see any problem in become a user supporter (the one who pay the website subscription here), buy your modules, etc.. But first i need grab some money instead only spend like i`m doing on last 2 months trying this "perfect" setup working...
The tests i posted before, i did using IIS on Windows 2008, except by ruby on rails, all others tests worked perfectly, i have an free license of Windows 2008 from University, but only for academic use...
I have tested other solutions like plesk, cpannel, etc... But they fail on dont accept users like me behind a NAT...
I recognize your great work here, making this opensource, and trying help people, this is one of the reasons while i keep trying get this working, for be able to retribute as supporter and consumer of your futures plugins.
I dindt give up yet, i`m trying finish my setup, i hope i can do it this month.
Why do you want to host your server at home or in the office instead of renting one in a datacenter? You get a Core i7 server with 2x 3TB harddisks and 16GB Ram and 100Mbit internet connection for about 65 USD a month. Unlimited bandwidth and electricity included.
The last destruction happened when i was following one guide here to enable antivirus check on ftp uploads...
My ftp stopped work, without any info on logs, so the snapshot saved me.
And after setup something, i start all kind of tests again, i test mails, ftp, all software on the list from another post (all kind of cms, ecommece, etc..) for be sure everything is working, keeping an eye on the logs, if there no problem i keep going trying get more features, in an error, i try fix while logs give me some info, if there no info, snapshot is my last resource and then i discart the features which dont work on my scenario...
"You dont have tomcat support, while host X or Z or all other bigger hosts have..."
On previous year i hired one VPS from UK for six months, around US$ 180,00, with nice upload, something around 6 mbps, etc..
Got some clients, and was good, not profitable, but at least i was getting my personal websites hosted free (since my clients was paying for me in the end), but then, noone know the truth or can confirm this, seems the ISPs here started does an boycott / censorship, and then many websites (outside of Brazil) wasnt working sometimes, this includes my VPS hired... (Some ISPs claimed as hacker attack...)
I dont need say i lost all my few clients... My ISP here on Brazil says is UK host fault, asking for the support on UK they sayed is Brazilian ISP fault...
For test i did an subscription VPS of one month in USA, and checked UK VPS was fine... But not usefull for me...
I got sued for some clients and since then i have learned / got trauma in use something outside of my country...
Paying for an host here dont gonna become profitable for me...
Becoming a host if any client mine try sue me, i can do same with my ISP, but cant do it against hosts in other country.
Or in other words, i have the power to try solve the things fast.
I`m freelancer DBA (MSSQL), and try get this working on my home would be a source of fixed income, instead every week need try get an new contract.
|All times are GMT +2. The time now is 06:16.|
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.