This forum is no longer active. Please post your questions to our new community site

Forums Tracks

Post installation_500 internal error

Subscribe to Post installation_500 internal error 18 post(s), 3 voice(s)

 
Avatar tcy2112 4 post(s)

I’ve attempted to install Tracks 16.2 2-3 times on a Windows XP (SP3) machine.

in the last part of the install, I get an error message toward the end of the process when Apache restarts. The Apache error logs says
error file does not exist:
C:/program files/Tracks/Apache2/htdocs/favicon.ico

I then click through and complete the install.

on a side note: I’ve tried the install once with the standard folder setup (C:/programs files/Bitnami Tracks Stack) and also C:/program file/Stacks

After the install, from the start menu I went to Launch Bitnami. Once clicking on the Access Bitnami Tracks Stack link, I get the 500 error. I’ve also tried launching from the http://127.0.0.1

...appreciate any help I can get on this!

 
Avatar Beltrán Rueda Administrator 3,714 post(s)

Could you try restart the servers through the Windows shortcuts? This erro could happen when the Apache server is started and the mongrel server has not started yet. Try to restart only the Apache server from the services panel (tracksApache service).

Cheers.

 
Avatar tcy2112 4 post(s)

Thanks for the reply!

I tried restarting the services and all of the servers appear to be running. I tried running the Apache2 SERVICERUN (program files\tracks\apache2\scripts) script to restart the server. It found it to be already in “start.” and would stop it. Launching Bitnami tracks would then result in a time out. Restarting everything again would give the 500 internal…

I must point out that I’m not a programmer. I’m okay with running stuff from the command prompt, but would need fairly explicit direction. I’m sorry if I’m out of my depth here…

Thanks for your patience.

 
Avatar Beltrán Rueda Administrator 3,714 post(s)

Mmmm it is strange. Do you have any firewall enabled? Could you disable the Windows firewall?

 
Avatar tcy2112 4 post(s)

Tried it without the firewall with no luck—same error.

Sorry to be such a newb.

 
Avatar Beltrán Rueda Administrator 3,714 post(s)

Could you try to access from http://127.0.0.1:3001 ?

 
Avatar HikerMike 7 post(s)

Not to hijack, but I am getting the same error. I used the BitNami installer on a W2K system. The install was a little buggy. I was missing libmysql.dll after the install and it kept nagging at me until I grabbed the dll off a public file server. All services are running and were restarted, ruby.exe is running. I am using FF and have allowed scripting to localhost and 127.0.0.1 but I get a 500 Internal Service Error as well when trying to access stacks. I tried the alternate port as well and get a Not Found error.

Update – I uninstalled and reinstalled to c:\Program Files\Tracks
Every went smoothly until the end:
Image Hosted by ImageShack.us

Now I get a Not Found error.

 
Avatar Beltrán Rueda Administrator 3,714 post(s)

Do you have any special proxy configuration in your browser?

 
Avatar HikerMike 7 post(s)

No – none.

I restarted all the services again (although they were already running) and am back to the 500 Internal Server Error.

apache2 access.log:
127.0.0.1 – - [23/Apr/2009:13:42:55 -0400] “GET / HTTP/1.1” 200 2223
127.0.0.1 – - [23/Apr/2009:13:42:55 -0400] “GET /bitnamistack.css HTTP/1.1” 200 2699
127.0.0.1 – - [23/Apr/2009:13:42:57 -0400] “GET /tracks/ HTTP/1.1” 200 122

error log after restarting the service:
Thu Apr 23 12:06:19 2009 [client x.x.x.xx] File does not exist: C:/Program Files/Tracks/apache2/htdocs/favicon.ico
Thu Apr 23 13:23:12 2009 [client 127.0.0.1] File does not exist: C:/Program Files/Tracks/apache2/htdocs/favicon.ico
Thu Apr 23 13:39:20 2009 Parent: Received shutdown signal - Shutting down the server.
Thu Apr 23 13:39:20 2009 Child 2924: Exit event signaled. Child process is ending.
Thu Apr 23 13:39:21 2009 Child 2924: Released the start mutex
Thu Apr 23 13:39:22 2009 Child 2924: All worker threads have exited.
Thu Apr 23 13:39:22 2009 Child 2924: Child process is exiting
Thu Apr 23 13:39:22 2009 Parent: Child process exited successfully.
Thu Apr 23 13:39:23 2009 Apache/2.2.11 (Win32) configured -
resuming normal operations
Thu Apr 23 13:39:23 2009 Server built: Dec 10 2008 00:10:06
Thu Apr 23 13:39:23 2009 Parent: Created child process 3392
Thu Apr 23 13:39:24 2009 Child 3392: Child process is running
Thu Apr 23 13:39:24 2009 Child 3392: Acquired the start mutex.
Thu Apr 23 13:39:24 2009 Child 3392: Starting 64 worker threads.
Thu Apr 23 13:39:24 2009 Child 3392: Starting thread to listen on port 80.

 
Avatar tcy2112 4 post(s)

I saw similar error message after checking the Apache2 error logs.

I also tried IP 127.0.0.1:3001 with the same results.

 
Avatar Beltrán Rueda Administrator 3,714 post(s)

Mmmm

I found this in google, could you take a look and try this solution?

http://e168f08.plugh.org/uncategorized/windows-may-need-to-update-to-rake-083/

gem update rake

Cheers.

 
Avatar HikerMike 7 post(s)

It updated to rake 0.8.4. Same problem though. :(
Do you need any other logs? I should also add, this is installing bitnami-tracks-1.7rc2-1-windows-installer.exe. I did not try an earlier version yet. And this is my 500 error:

Status: 500 Internal Server Error Content-Type: text/html
500 Internal Server Error

 
Avatar HikerMike 7 post(s)

I uninstalled bitnami-tracks-1.7rc2-1-windows-installer.exe and installed bitnami-tracks-1.6-2-windows-installer.exe. Exact same error as above. I applied gem update rake and it updated again to rake 0.8.4. Started services again, but no longer getting a 500 Server Error. Instead, this is from apache2 error.log:
Fri Apr 24 09:51:25 2009 [client 127.0.0.1] File does not exist: C:/Program Files/BitNami/apache2/htdocs/tracks, referer: http://127.0.0.1/

and the page error reads a 404: Not Found The requested URL /tracks/ was not found on this server.

 
Avatar Beltrán Rueda Administrator 3,714 post(s)

HI, I understand that the error could be related to Apache configuration as a proxy server but you should have access from http://127.0.0.1:3001/tracks no?

 
Avatar HikerMike 7 post(s)

No – I get a 500 server error.

Status: 500 Internal Server Error Content-Type: text/html
500 Internal Server Error

 
Avatar Beltrán Rueda Administrator 3,714 post(s)

Ok try the following. Kill any mongrel_service and ruby process in your task manager. Then go to the “Use Tracks” shortcut and type de following:

> cd C:\Program Files\BItNami Tracks Stack\apps\tracks
> ruby script\server RAILS_ENV=”production”

This action should launch the Mongrel server and you can connect through 127.0.0.1:3001.

Cheers.

 
Avatar HikerMike 7 post(s)

I certainly appreciate your help on this, but I am ready to give in.

C:\Program Files\BitNami\apps\tracks>ruby script\server RAILS_ENV=”production”
=> Booting Mongrel (use ‘script/server webrick’ to force WEBrick)
=> Rails application starting on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
  • Starting Mongrel listening at 0.0.0.0:3000
  • Starting Rails with development environment…
  • has_many_polymorphs: rails environment detected
  • has_many_polymorphs: loaded ok
  • has_many_polymorphs: autoload hook invoked
  • has_many_polymorphs: preloading parent model Tag
  • has_many_polymorphs: associating Tag.taggables
  • Rails loaded.
  • Loading any Rails specific GemPlugins
  • Signals ready. INT => stop (no restart).
  • Mongrel 1.1.5 available at 0.0.0.0:3000
  • Use CTRL-C to stop.
    les
  • has_many_polymorphs: WARNING; possibly critical error preloading Tag: #<mysql>
    ::Error: Access denied for user ‘bitnami’@’localhost’ to database ‘tracks_develo
    pment’>

It stops there, so I go to 127.0.0.1:3000/tracks/ and it dumps a large output and a 500 Service Error.

 
Avatar HikerMike 7 post(s)

I certainly appreciate your help on this, but I am ready to give in.

C:\Program Files\BitNami\apps\tracks>ruby script\server RAILS_ENV=”production”
=> Booting Mongrel (use ‘script/server webrick’ to force WEBrick)
=> Rails application starting on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
  • Starting Mongrel listening at 0.0.0.0:3000
  • Starting Rails with development environment…
  • has_many_polymorphs: rails environment detected
  • has_many_polymorphs: loaded ok
  • has_many_polymorphs: autoload hook invoked
  • has_many_polymorphs: preloading parent model Tag
  • has_many_polymorphs: associating Tag.taggables
  • Rails loaded.
  • Loading any Rails specific GemPlugins
  • Signals ready. INT => stop (no restart).
  • Mongrel 1.1.5 available at 0.0.0.0:3000
  • Use CTRL-C to stop.
    les
  • has_many_polymorphs: WARNING; possibly critical error preloading Tag: #<mysql>
    ::Error: Access denied for user ‘bitnami’@’localhost’ to database ‘tracks_develo
    pment’>

It stops there, so I go to 127.0.0.1:3001/tracks/ and I get a 500 Server Error and the DOS window dumps a large output noting the 500 and all the associated files.

Forums Tracks