ispCP - Board - Support
Apache startup issues [CentOS] - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: System Setup & Installation (/forum-32.html)
+--- Thread: Apache startup issues [CentOS] (/thread-11111.html)



Apache startup issues [CentOS] - otacon - 07-05-2010 06:26 AM

Everything has started correctly now and I have no issues with one program, but when I try to go to my url at fqhn.remcycle.net I get an internal error 500!

also when I try to go to admin.fqhn.remcycle.net it does not reach the server.


How do I figure out what exactly is having the issue or how do I narrow done my search?


RE: Apache startup issues [CentOS] - foxb - 07-05-2010 12:58 PM

Check your apache logs...


RE: Apache startup issues [CentOS] - otacon - 07-05-2010 03:00 PM

(07-05-2010 12:58 PM)foxb Wrote:  Check your apache logs...

fixed the error 500 by reinstalling bind but I think I still have something wrong since fqhn.remcycle.net is blank now and I still can not get to admin.fqhn.remcycle.net.

httpd error log states

[Mon Jul 05 00:52:04 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/sbi$
[Mon Jul 05 00:52:04 2010] [warn] module fcgid_module is already loaded, skippi$
[Mon Jul 05 00:52:05 2010] [notice] Digest: generating secret for digest authen$
[Mon Jul 05 00:52:05 2010] [notice] Digest: done
[Mon Jul 05 00:52:05 2010] [notice] Apache/2.2.3 (CentOS) configured -- resumin$
[Mon Jul 05 00:53:00 2010] [notice] mod_fcgid: call /var/www/ispcp/gui/index.ph$
<br />
<b>Warning</b>: Directive 'register_long_arrays' is deprecated in PHP 5.3 and $
<br />
<b>Warning</b>: Directive 'magic_quotes_gpc' is deprecated in PHP 5.3 and grea$

I do not see anything wrong in my eyes but if someone else took a look maybe you can see something that I can not?


RE: Apache startup issues [CentOS] - foxb - 07-06-2010 08:16 AM

PHP 5.3 is not(officially) supported by ispCP.

Please reinstall with 5.2.x or You should fix the code manually.


RE: Apache startup issues [CentOS] - otacon - 07-07-2010 10:28 AM

(07-06-2010 08:16 AM)foxb Wrote:  PHP 5.3 is not(officially) supported by ispCP.

Please reinstall with 5.2.x or You should fix the code manually.

After great effort on my part I finally went dow to 5.2.13 on the php, but I am still getting the say issues.


I still have a php issue

Default-error.log

---------------------------

Same unresolved issue at http://isp-control.net/forum/thread-10545-post-80659.html#pid80659
[Tue Jul 06 20:19:43 2010] [error] [client 192.168.1.3] PHP Fatal error: Uncaught exception 'Exception' with message 'Database error: Not connected to default' in /var/www/ispcp/gui/include/class.Database.php:52\nStack trace:\n#0 /var/www/ispcp/gui/include/i18n.php(79): Database::getInstance()\n#1 /var/www/ispcp/gui/include/system-message.php(61): tr('ispCP Error')\n#2 /var/www/ispcp/gui/include/ispcp-config.php(74): system_message('ERROR: The php-...')\n#3 /var/www/ispcp/gui/include/sql.php(34): decrypt_db_password('8uJw9Ad4qcQ=')\n#4 /var/www/ispcp/gui/include/ispcp-lib.php(68): require_once('/var/www/ispcp/...')\n#5 /var/www/ispcp/gui/index.php(31): require('/var/www/ispcp/...')\n#6 {main}\n thrown in /var/www/ispcp/gui/include/class.Database.php on line 52

I down graded by removing

php-common
php-cli
and php

and replacing them with the 5.2.13 versions

--------------

I tried resetting the database password but it still has the same issue

------------------------

Also I tried resetting apache and I am getting

[root@localhost ~]# service httpd restart
Stopping httpd: [ OK ]
Starting httpd: [Tue Jul 06 21:47:04 2010] [warn] module fcgid_module is already loaded, skipping
httpd: apr_sockaddr_info_get() failed for localhost.localdomain
httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
[ OK ]


RE: Apache startup issues [CentOS] - foxb - 07-08-2010 10:09 AM

On my first installation I had similar problems(500), but did not waste time fixing them.

Reinstall from scratch fixed my problem...


RE: Apache startup issues [CentOS] - otacon - 07-09-2010 12:20 AM

(07-08-2010 10:09 AM)foxb Wrote:  On my first installation I had similar problems(500), but did not waste time fixing them.

Reinstall from scratch fixed my problem...

Yes I went ahead and reinstalled and now I do not have a php issue anymore. Now I am having bind issues along with a couple other program I could care less about for now, but since you need bind to get to the admin login page I need to somehow figure that out.