HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


Internal Server Error During Installation

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#64982 (In Topic #13975)
Avatar

Fan in training

Installation of OCPortal 4.2 Fails half way thru

We are running a Linux Server. We control the entire machine (i.e. not a virtual host on this box). This is CentOS5. Running Apache 2.2.3.

We have an existing domain www.Saivasiddhanta.org�(EUR-)� the files for this site are in

/home/saiva/public_html/

We use Virtual Min as our control panel and have ftp assess and if we log in to your "easy" install and provide the credentials for this particular user, both the data.ocp and the install.php files have "saiva" as the owner and group, which is correct for files on this site. We run www.saivaSiddhanta.org/install.php and we get the everything, fill it all out and click to install. Meanwhile i'm watching the public_html folder from another terminal session�(EUR-)� (it is empty to start with other than data.ocp and install.php) The installer appears to run just fine, files are appearing.. the web interface switches to the "setting permissions" phase, and then fails with the usual but non-descript "internal server error, contact your root administrator" which of course is not helpful.

We tried several times and were able to duplicated this. I checked the server error log and we had this tail:

Code

<br />17:22:192010][notice]mod_fcgid:process/home/saiva/public_html/cron.php(21866)exit(shuttingdown),terminatedbycallingexit(),returncode:0[SatNov2717:22:192010][notice]mod_fcgid:process/home/saiva/public_html/cron.php(21867)exit(shuttingdown),terminatedbycallingexit(),returncode:0[SatNov2717:22:192010][notice]mod_fcgid:process/home/saiva/public_html/cron.php(21879)exit(shuttingdown),terminatedbycallingexit(),returncode:0[SatNov2717:25:052010][notice]mod_fcgid:call/home/saiva/public_html/cron.phpwithwrapper/home/saiva/fcgi-bin/php5.fcgi[SatNov2717:42:262010][notice]mod_fcgid:call/home/saiva/public_html/install.phpwithwrapper/home/saiva/fcgi-bin/php5.fcgi[SatNov2718:25:092010][notice]mod_fcgid:call/home/saiva/public_html/install.phpwithwrapper/home/saiva/fcgi-bin/php5.fcgi[SatNov2718:25:092010][notice]mod_fcgid:call/home/saiva/public_html/install.phpwithwrapper/home/saiva/fcgi-bin/php5.fcgi[SatNov2718:25:382010][notice]mod_fcgid:process/home/saiva/public_html/cron.php(32057)exit(lifetimeexpired),terminatedbycallingexit(),returncode:0[SatNov2718:28:262010][notice]mod_fcgid:process/home/saiva/public_html/cron.php(884)exit(communicationerror),terminatedbycallingexit(),returncode:0[SatNov2718:33:462010][notice]mod_fcgid:process/home/saiva/public_html/cron.php(5085)exit(communicationerror),terminatedbycallingexit(),returncode:0[SatNov2718:35:052010][notice]mod_fcgid:call/home/saiva/public_html/index.phpwithwrapper/home/saiva/fcgi-bin/php5.fcgi[SatNov2718:35:202010][notice]mod_fcgid:process/home/saiva/public_html/cron.php(5086)exit(communicationerror),terminatedbycallingexit(),returncode:0[SatNov2718:35:422010][notice]mod_fcgid:call/home/saiva/public_html/install.phpwithwrapper/home/saiva/fcgi-bin/php5.fcgi[SatNov2718:39:002010][notice]mod_fcgid:process/home/saiva/public_html/cron.php(5959)exit(communicationerror),terminatedbycallingexit(),returncode:0[SatNov2718:39:202010][notice]mod_fcgid:call/home/saiva/public_html/install.phpwithwrapper/home/saiva/fcgi-bin/php5.fcgi[SatNov2718:42:102010][notice]mod_fcgid:process/home/saiva/public_html/cron.php(6229)exit(communicationerror),terminatedbycallingexit(),returncode:0[SatNov2718:49:172010][notice]mod_fcgid:call/home/saiva/public_html/install.phpwithwrapper/home/saiva/fcgi-bin/php5.fcgi[SatNov2718:54:532010][notice]mod_fcgid:process/home/saiva/public_html/cron.php(6860)exit(communicationerror),terminatedbycallingexit(),returncode:0[SatNov2719:00:582010][notice]mod_fcgid:call/home/saiva/public_html/install.phpwithwrapper/home/saiva/fcgi-bin/php5.fcgi[SatNov2719:04:242010][notice]mod_fcgid:process/home/saiva/public_html/cron.php(5945)exit(communicationerror),terminatedbycallingexit(),returncode:0<br /><br />

I don't know if this is specific enough to trouble shoot, if not then please advise, as mentioned we "own" (actually lease) the box and have full access, including root, in case we need to be monitoring some other logs. It looks to me like we have a good installation (see below) and possibly the permission phase is completed and it's the data base set up phase that is failing. We have created a MySQL database, and the user and password are working.

drwxr-xr-x 26 saiva saiva 4096 Nov 28 14:30 .
drwxr-x�(EUR-)" 13 saiva saiva 4096 Nov 27 18:58 ..
drwxr-xr-x 3 saiva saiva 4096 Nov 27 19:03 adminzone
-rw-r�(EUR-)"r�(EUR-)" 1 saiva saiva 2438 Nov 27 19:03 backend_cloud.php
-rw-r�(EUR-)"r�(EUR-)" 1 saiva saiva 2375 Nov 27 19:03 backend.php
-rw-r�(EUR-)"r�(EUR-)" 1 saiva saiva 2466 Nov 27 19:03 banner.php
drwxr-xr-x 3 saiva saiva 4096 Nov 27 19:03 cms
-rw-r�(EUR-)"r�(EUR-)" 1 saiva saiva 19830 Nov 27 19:03 code_editor.php
drwxr-xr-x 3 saiva saiva 4096 Nov 27 19:03 collaboration
-rw-r�(EUR-)"r�(EUR-)" 1 saiva saiva 16057 Nov 27 19:03 config_editor.php
drwxr-xr-x 12 saiva saiva 4096 Nov 27 19:04 data
drwxr-xr-x 6 saiva saiva 4096 Nov 27 19:04 data_custom
-rw-r�(EUR-)"r�(EUR-)" 1 saiva saiva 31450778 Nov 27 19:00 data.ocp
-rw-r�(EUR-)"r�(EUR-)" 1 saiva saiva 505 Nov 27 19:04 decache.sh
drwxr-xr-x 5 saiva saiva 4096 Nov 27 19:04 exports
-rw-r�(EUR-)"r�(EUR-)" 1 saiva saiva 6695 Nov 27 19:04 fixperms.bat
-rw-r�(EUR-)"r�(EUR-)" 1 saiva saiva 1102 Nov 27 19:04 fixperms.sh
drwxr-xr-x 3 saiva saiva 4096 Nov 28 14:30 forum
-rw-r�(EUR-)"r�(EUR-)" 1 saiva saiva 226 Nov 28 14:30 hphp_debug.sh
-rw-r�(EUR-)"r�(EUR-)" 1 saiva saiva 1723 Nov 28 14:30 hphp.sh
-rw-r�(EUR-)"r�(EUR-)" 1 saiva saiva 6026 Nov 28 14:30 .htaccess
drwxr-xr-x 3 saiva saiva 4096 Nov 28 14:30 imports
-rw-r�(EUR-)"r�(EUR-)" 1 saiva saiva 3923 Nov 28 14:30 index.php
-rw-r�(EUR-)"r�(EUR-)" 1 root root 15 Nov 27 19:32 info.php
-rw-r�(EUR-)"r�(EUR-)" 1 saiva saiva 792708 Nov 27 18:59 install.php
drwxr-xr-x 3 saiva saiva 4096 Nov 28 14:30 lang
drwxr-xr-x 3 saiva saiva 4096 Nov 28 14:30 lang_cached
drwxr-xr-x 3 saiva saiva 4096 Nov 28 14:30 lang_custom
-rw-r�(EUR-)"r�(EUR-)" 1 saiva saiva 2503 Nov 28 14:30 netlink.php
-rw-r�(EUR-)"r�(EUR-)" 1 saiva saiva 11712 Nov 28 14:30 ocp.hdf
drwxr-xr-x 10 saiva saiva 4096 Nov 28 14:30 pages
drwxr-xr-x 2 saiva saiva 4096 Nov 28 14:30 persistant_cache
drwxr-xr-x 3 saiva saiva 4096 Nov 28 14:30 personalzone
-rw-r�(EUR-)"r�(EUR-)" 1 saiva saiva 5291 Nov 28 14:30 plain.htaccess
-rw-r�(EUR-)"r�(EUR-)" 1 saiva saiva 2419 Nov 28 14:30 poll.php
-rw-r�(EUR-)"r�(EUR-)" 1 saiva saiva 6633 Nov 28 14:30 recommended.htaccess
-rw-r�(EUR-)"r�(EUR-)" 1 saiva saiva 10664 Nov 28 14:30 rootkit_detection.php
drwxr-xr-x 2 saiva saiva 4096 Nov 28 14:30 safe_mode_temp
drwxr-xr-x 3 saiva saiva 4096 Nov 28 14:30 site
drwxr-xr-x 8 saiva saiva 4096 Nov 28 14:31 sources
drwxr-xr-x 6 saiva saiva 4096 Nov 27 19:03 sources_custom
drwxr-xr-x 2 saiva saiva 4096 Nov 28 01:26 stats
drwxr-xr-x 3 saiva saiva 4096 Nov 27 19:03 text
drwxr-xr-x 3 saiva saiva 4096 Nov 27 19:03 text_custom
drwxr-xr-x 3 saiva saiva 4096 Nov 27 19:03 themes
drwxrwxrwx 2 saiva saiva 4096 Nov 28 14:30 tmp
drwxr-xr-x 22 saiva saiva 4096 Nov 27 19:03 uploads

So, what to do now?

Sivakatirswami





Back to the top
 
Posted
Rating:
#64996
Avatar

No idea I'm afraid, it sounds like something is crashing on the server.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#65006
Avatar

Fan in training

Any thoughts on other logs I could monitor?
Back to the top
 
Posted
Rating:
#65011
Avatar

No. If I were in your position I'd step through the code line by line, but not sure if you're comfortable doing that.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#65019
Avatar

Fan in training

I am a programmer but I do everything in LiveCode, and PostGreSQL

though I have "messed around" with php config files and themes of course (you pretty much have to be able to do at least that much with any modern php cms)  so, I have no problem with the "comfort" level… its more a matter of know how… The installer script is your script, so… I would not know where to begin.– open install.php and set a lot of break points? and have it output the result to the screen (that's how I would do it in LiveCode)
Back to the top
 
Posted
Rating:
#65023
Avatar

Simplest works best. Put in exit('!'); to the function for the problematic step and move it down until you find the problem (obviously you can move it down many lines at once and then kind of narrow in).


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: