I tried to install my rails application. However it does not work properly (the rails welcome screen's "About your application environment" link gives a "Application error Rails application failed to start properly" message), and the error log shows plenty of FastCGI warnings and fcg incomplete header errors:
[Thu Mar 6 07:44:20 2008] [warn] FastCGI: (dynamic) server "/home/user/public_html/dir/public/dispatch.fcgi" has failed to remain running for 30 seconds given 3 attempts, its restart interval has been backed off to 600 seconds
[Thu Mar 6 07:39:47 2008] [error] [client 91.120.172.159] FastCGI: incomplete headers (0 bytes) received from server "/home/user/public_html/dir/public/dispatch.fcgi"
[Thu Mar 6 07:39:47 2008] [warn] FastCGI: (dynamic) server "/home/user/public_html/dir/public/dispatch.fcgi" has failed to remain running for 30 seconds given 3 attempts, its restart interval has been backed off to 600 seconds
[Thu Mar 6 07:39:47 2008] [error] [client 91.120.172.159] FastCGI: comm with (dynamic) server "/home/user/public_html/dir/public/dispatch.fcgi" aborted: (first read) idle timeout (30 sec)
Gathering header information file(s) from server(s) Server: CentOS-3 - Addons retrygrab() failed for: http://mirror.centos.org/centos/3/ad...rs/header.info Executing failover method failover: out of servers to try Error getting file http://mirror.centos.org/centos/3/ad...rs/header.info [Errno 4] IOError: <urlopen error >
when I run /etc/easyapache it too fails
Quote:
root@server1 [~]# /scripts/easyapache Testing connection speed...(this could take a while)............Done Ping:32.076 Testing connection speed to 69.90.250.35 using pureperl...(120500.00 bytes/s)...Done Ping:32.179 Testing connection speed to 69.90.250.34 using pureperl...(120500.00 bytes/s)...Done Ping:49.545 Testing connection speed to 69.72.164.152 using pureperl...(76681.82 bytes/s)...Done Ping:49.605 Testing connection speed to 69.72.164.155 using pureperl...(70291.67 bytes/s)...Done Ping:51.603 Testing connection speed to 198.66.92.147 using pureperl...(76681.82 bytes/s)...Done 5 usable mirrors located Fetching http://layer1.cpanel.net/buildapache.sea (0)....@69.90.250.35......connected......receiving...1%...2%...3%...4%...5%...6%...7%...8%...9%...10%...11%...13%...14%...15%...16%...17%...18%...19%. ..20%...21%...22%...23%...25%...26%...27%...28%...29%...30%...31%...32%...33%...34%...35%...36%...38%...39%...40%...41%...42%...43%...44%...45%...46%. ..47%...48%...50%...51%...52%...53%...54%...55%...56%...57%...58%...59%...60%...62%...63%...64%...65%...66%...67%...68%...69%...70%...71%...72%...73%. ..75%...76%...77%...78%...79%...80%...81%...82%...83%...84%...85%...87%...88%...89%...90%...91%...92%...93%...94%...95%...96%...97%...98%...100%...... Done Creating directory buildapache Verifying archive integrity... All good. Uncompressing buildapache........................................................................................................................................... ...................................................................................................................................................... ...................................................................................................................................................... ................................................................. Checking Update System........Your operating system's rpm update method (yum) was not able to locate the glibc package. This is an indication of an improper setup. You must correct this error before you can proceed. Please correct the conflicts and try again! initfpsuexec: using apache 1.x support Waiting for httpd to restart..............finished.
My rails application does not start, it displays a 404 error. The application log (public_html/user/log/production.log) contains:
"MissingSourceFile (no such file to load -- postgres)"
The error message in the log file contains: MissingSourcefile (no such file to load)
I installed Ruby Gems via whm > apache update and Ruby Rails manually. What else am I to do to get this working? Postgres was compiled as well and has always been installed.
root@server [~]# which postgres /usr/bin/postgres
root@server [~]# php -m [PHP Modules] bcmath calendar ctype curl domxml eAccelerator exif ftp gd gettext ionCube Loader mbstring mcrypt mysql openssl overload pcre pdf pgsql posix pspell session sockets standard swf tokenizer xml xmlrpc Zend Optimizer zlib
The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.
a 503 Service Temporarily Unavailable error was encountered while trying to use an ErrorDocument to handle the request.
Cpanel server / Centos 5 / PHP 5 The rubygems installer first displays an error message: "Warning ... broken gem detected.. reinstalling!"
The server itself gives a "Service Temporarily Unavailable" error ** Daemonized, any open files are closed. Look at log/mongrel.pid and log/mongrel.log for info. ** Starting Mongrel listening at 0.0.0.0:12001 ** Starting Rails with production environment... /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/connection_adapters/postgresql_adapter.rb:713:in `initialize': FATAL: password authentication failed for user "user" (PGError) from /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/connection_adapters/postgresql_adapter.rb:713:in `connect' from /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/connection_adapters/postgresql_adapter.rb:713:in `connect' from /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/connection_adapters/postgresql_adapter.rb:237:in `initialize' from /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/connection_adapters/postgresql_adapter.rb:23:in `new' from /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/connection_adapters/postgresql_adapter.rb:23:in `postgresql_connection' from /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/connection_adapters/abstract/connection_specification.rb:291:in `send' from /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/connection_adapters/abstract/connection_specification.rb:291:in `connection=' from /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/connection_adapters/abstract/connection_specification.rb:259:in `retrieve_connection' ... 26 levels... from /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/command.rb:212:in `run' from /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:281 from /usr/local/bin/mongrel_rails:19:in `load' from /usr/local/bin/mongrel_rails:19 .htaccess content:
I was thinking about getting Ruby on Rails on one of my VPSs. But my host said that it might cause problems. I DO NOT WANT PROBLEMS. Ruby on rails really looks cool. I want to use it to run a CMS written in Ruby on Rails.
I installed RoR on my Mac OS X, but then I decided to use Locomotive and the RMagick bundle. I want to remove the copy I uninstalled, but how do you remove it on a mac?
I am currently a 1 and 1 customer, and unfortinately they do not support ROR . Anyways that put to one side can anyone recommend a free ROR hosting company, or a company that will charge around £20.00 to get my ROR website hosted?
Ruby on Rails is running quite slow. I've had my server administration company look at it after I looked at it myself. I'm running out of ideas and was planning on trying a last-ditch memory upgrade to see if it helps. I'm not so sure it will.
Everything is installed and the app. is working, it just takes ~5-7 seconds to load. There are no errors or anything. Has anyone had this problem or could anyone suggest something to try?
This is a cPanel server. I've monitored the loading and dispatch.cgi runs during the load and all like it should.
I'm trying to get Ruby on Rails to work on my cPanel 11 box. I followed the instruction on the cPanel website and it seems like Ruby on Rails is now properly installed. I created a RoR project via cPanel and added a rewrite rule.
Now when I visit the URL, I get the following error message in my browser:
We're sorry, but something went wrong.
We've been notified about this issue and we'll take a look at it shortly.
I have sqlite3 installed as well as the sqlite3-ruby gem. I've been Googling for hours but I just can't find to seem the solution. The only thing I can find is that I have to install sqlite3-ruby gem, sqlite3 and sqlite3-dev but I already have them. I also found a permissions-fix which changes permissions on the gem to 644 but that didn't fix it either.
In the components part of Plesk 8.01 you can install a "ruby on rails support" component, does anyone know if this is actually Ruby? And how can I see if Ruby is actually running, through SSH?
if anyone has managed to get to get Ruby on Rails (RoR) running on a Plesk server WITHOUT using Mongrel or other such proxied servers? The problem I have is that it should work out of the box - Parallels (who created Plesk) state that Plesk 9 is RoR ready and just required FastCGI support to be enabled - however after reading lots of instructions and FAQ's I am no closer to getting it up and running.
I have uploaded typo files to /etc/rails_apps/typo and setup mysql database user password. When I visit the domain at [url]typo I get a 503 / Service Temporarily Unavailable error message.
I was a happy client of Ruby Ring tech, but few days ago my Shared server Cpenl got missing in action... It showed some issue on listens... i submit a ticket to Ruby Ring tech and they said they will fix it soon... but for about 3 days nothing happen... suddenly today my shared server is also gone missing... cant connect to any of my websites and page cannot be displayed on cpanel also.. I submitted tickets.. but still no answer, now about 12 + hours downtime....
I was a happy client of Ruby Ring tech, but few days ago my Shared server Cpenl got missing in action... It showed some issue on listens... i submit a ticket to Ruby Ring tech and they said they will fix it soon... but for about 3 days nothing happen... suddenly today my shared server is also gone missing... cant connect to any of my websites and page cannot be displayed on cpanel also.. I submitted tickets.. but still no answer, now about 5 -6 hours downtime....
I'm wonder whats happening.....? hope that they will fix the things soon.... plzz if any 1 of Ruby Ring tech see this reply to this thread.... i like to know whats going and how soon you can give the server back
adding my hostname as a domain so that i can get a email admin@hostname.
so i pretty much messed up my dns configs by deleting my main domain and adding it back.
i guess i removed the dns entries of the nameservers together. (main domain meaning globalwebmanager.com, nameservers are ns1 and ns2.globalwebmanager.com, and yes i deleted the entire zone) [url]shows many errors like LAME nameservers, SPOF, no SOA records. if you need any details just ask.
how do you fix open dns errors. i tried adding the line recursion no; in /etc/named.conf and the yum update i did wasn't the culprit right?
Whenever I try to run yum update on Cent OS I get this error:
---> Package udev.i386 0:095-14.20.el5_3 set to be updated Traceback (most recent call last): File "/usr/bin/yum", line 29, in ? yummain.user_main(sys.argv[1:], exit_code=True) File "/usr/share/yum-cli/yummain.py", line 229, in user_main errcode = main(args) File "/usr/share/yum-cli/yummain.py", line 145, in main (result, resultmsgs) = base.buildTransaction() File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 647, in buildTransaction (rescode, restring) = self.resolveDeps() File "/usr/lib/python2.4/site-packages/yum/depsolve.py", line 704, in resolveDeps for po, dep in self._checkFileRequires(): File "/usr/lib/python2.4/site-packages/yum/depsolve.py", line 939, in _checkFileRequires if not self.tsInfo.getOldProvides(filename) and not self.tsInfo.getNewProvides(filename): File "/usr/lib/python2.4/site-packages/yum/transactioninfo.py", line 414, in getNewProvides for pkg, hits in self.pkgSack.getProvides(name, flag, version).iteritems(): File "/usr/lib/python2.4/site-packages/yum/packageSack.py", line 300, in getProvides return self._computeAggregateDictResult("getProvides", name, flags, version) File "/usr/lib/python2.4/site-packages/yum/packageSack.py", line 470, in _computeAggregateDictResult sackResult = apply(method, args) File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 861, in getProvides return self._search("provides", name, flags, version) File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 43, in newFunc return func(*args, **kwargs) File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 837, in _search for pkg in self.searchFiles(name, strict=True): File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 43, in newFunc return func(*args, **kwargs) File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 586, in searchFiles self._sql_pkgKey2po(rep, cur, pkgs) File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 470, in _sql_pkgKey2po pkg = self._packageByKey(repo, ob['pkgKey']) File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 413, in _packageByKey po = self.pc(repo, cur.fetchone()) File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 68, in __init__ self._read_db_obj(db_obj) File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 94, in _read_db_obj setattr(self, item, _share_data(db_obj[item])) TypeError: unsubscriptable object [root@liquidwind jeeves]#
root@server [~]# service exim restart Shutting down clamd: [ OK ] Shutting down exim: [ OK ] Shutting down antirelayd: [ OK ] Shutting down spamd: [ OK ] Starting clamd: [ OK ] Starting exim-26: [ OK ] Starting exim: [ OK ] Starting exim-smtps: [ OK ] Starting antirelayd: [ OK ] Starting spamd: [1814] warn: server socket setup failed, retry 1: spamd: could not create INET socket on 127.0.0.1:783: Address already in use [1814] warn: server socket setup failed, retry 2: spamd: could not create INET socket on 127.0.0.1:783: Address already in use [1814] error: spamd: could not create INET socket on 127.0.0.1:783: Address already in use
spamd: could not create INET socket on 127.0.0.1:783: Address already in use
I tried forced exim update, restarted xinetd, nothing works.
root@server [~]# mysql -u divingho_dhadmin -p divingho_divinghols < /home/divingho/mysql/divinghols.sql Enter password: ERROR 1044 (42000) at line 11: Access denied for user 'divingho_dhadmin'@'localhost' to database 'divinghols'
The username is right, the password I use is correct. I even deleted, recreated the mysql database and username, still giving the same error. The path to sql file is right and only 68k in size.