HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=16)
-   -   httpd broken after ISPConfig install (http://www.howtoforge.com/forums/showthread.php?t=6990)

ACDII 20th September 2006 21:15

httpd broken after ISPConfig install
 
Just did a fresh install of Fedora Core 4, followed http://www.howtoforge.com/perfect_se...dora_core_4_p5 to the letter, followed the installation of ISPConfig, I did make a mistake with the naming at one point by making it www.name.domain.com, and the following line was domain.com. I dont know if that is the root cause, but HTTPD will not start.

Here is the last part of the ./setup

Connected successfully to db db_ispconfig
no crontab for root
Restarting some services...
httpd not running, trying to start
Shutting down postfix: [ OK ]
Starting postfix: [ OK ]
Shutting down proftpd: [ OK ]
Starting proftpd: [ OK ]
Shutting down ISPConfig system...
/root/ispconfig/httpd/bin/apachectl stop: httpd (no pid file) not running
ISPConfig system stopped!
Starting ISPConfig system...
Syntax error on line 205 of /root/ispconfig/httpd/conf/httpd.conf:
Cannot load /root/ispconfig/httpd/libexec/libphp5.so into server: /root/ispconfig/httpd/libexec/libphp5.so: cannot restore segment prot after reloc: Permission denied
/root/ispconfig/httpd/bin/apachectl startssl: httpd could not be started
ISPConfig system is now up and running!
Congratulations! Your ISPConfig system is now installed. If you had to install quota, please take the steps described in the installation manual. Otherwise your system is now available without reboot.

Looks as though php is broken, but I didnt have any issues when I installed the services originally, and the web server was working OK until I installed ISPConfig.

Do I need to uninstall it, or what?:confused: I am not Savvy with unix, so I would need some walk throughs to uninstall it.

ACDII 20th September 2006 21:45

Some Additional Info

Found this while reinstalling after removing /home/admispconfig and /root/ispconfig

I have a rather large list, so I will only post a small part of it.

/tmp/ISPConfig/install_ispconfig/compile_aps/php-5.1.4/ext/mbstring/mbstring.c:151: warning: initialization discards qualifiers from pointer target type
/tmp/ISPConfig/install_ispconfig/compile_aps/php-5.1.4/ext/mbstring/mbstring.c:152: warning: initialization discards qualifiers from pointer target type
/tmp/ISPConfig/install_ispconfig/compile_aps/php-5.1.4/ext/mbstring/mbstring.c:153: warning: initialization discards qualifiers from pointer target type
/tmp/ISPConfig/install_ispconfig/compile_aps/php-5.1.4/ext/mbstring/mbstring.c:154: warning: initialization discards qualifiers from pointer target type
/tmp/ISPConfig/install_ispconfig/compile_aps/php-5.1.4/ext/mbstring/mbstring.c:155: warning: initialization discards qualifiers from pointer target type
/tmp/ISPConfig/install_ispconfig/compile_aps/php-5.1.4/ext/mbstring/mbstring.c:156: warning: initialization discards qualifiers from pointer target type
/tmp/ISPConfig/install_ispconfig/compile_aps/php-5.1.4/ext/mbstring/mbstring.c:157: warning: initialization discards qualifiers from pointer target type
/tmp/ISPConfig/install_ispconfig/compile_aps/php-5.1.4/ext/mbstring/mbstring.c:158: warning: initialization discards qualifiers from pointer target type
/tmp/ISPConfig/install_ispconfig/compile_aps/php-5.1.4/ext/mbstring/mbstring.c: In function 'zif_mb_strcut':
/tmp/ISPConfig/install_ispconfig/compile_aps/php-5.1.4/ext/mbstring/mbstring.c:1848: warning: pointer targets in assignment differ in signedness
/tmp/ISPConfig/install_ispconfig/compile_aps/php-5.1.4/ext/mbstring/mbstring.c:1889: warning: pointer targets in initialization differ in signedness
/tmp/ISPConfig/install_ispconfig/compile_aps/php-5.1.4/ext/mbstring/mbstring.c: In function 'zif_mb_convert_variables':
/tmp/ISPConfig/install_ispconfig/compile_aps/php-5.1.4/ext/mbstring/mbstring.c:2718: warning: pointer targets in initialization differ in signedness
/tmp/ISPConfig/install_ispconfig/compile_aps/php-5.1.4/ext/mbstring/mbstring.c:2729: warning: pointer targets in initialization differ in signedness
/tmp/ISPConfig/install_ispconfig/compile_aps/php-5.1.4/ext/mbstring/mbstring.c: In function 'zif_mb_send_mail':
/tmp/ISPConfig/install_ispconfig/compile_aps/php-5.1.4/ext/mbstring/mbstring.c:3229: warning: pointer targets in assignment differ in signedness
/tmp/ISPConfig/install_ispconfig/compile_aps/php-5.1.4/ext/mbstring/mbstring.c: In function 'php_mb_gpc_encoding_converter':
/tmp/ISPConfig/install_ispconfig/compile_aps/php-5.1.4/ext/mbstring/mbstring.c:3642: warning: pointer targets in assignment differ in signedness
/tmp/ISPConfig/install_ispconfig/compile_aps/php-5.1.4/ext/mbstring/mbstring.c:3657: warning: pointer targets in assignment differ in signedness
/tmp/ISPConfig/install_ispconfig/compile_aps/php-5.1.4/ext/mbstring/mb_gpc.c: In function '_php_mb_encoding_handler_ex':
/tmp/ISPConfig/install_ispconfig/compile_aps/php-5.1.4/ext/mbstring/mb_gpc.c:318: warning: pointer targets in assignment differ in signedness
/tmp/ISPConfig/install_ispconfig/compile_aps/php-5.1.4/ext/mbstring/mb_gpc.c:321: warning: pointer targets in assignment differ in signedness
SPConfig/install_ispconfig/compile_aps/php-5.1.4/ext/mbstring/php_mbregex.c -o ext/mbstring/php_mbregex.lo
/tmp/ISPConfig/install_ispconfig/compile_aps/php-5.1.4/ext/mbstring/php_mbregex.c: In function '_php_mb_regex_ereg_exec':
/tmp/ISPConfig/install_ispconfig/compile_aps/php-5.1.4/ext/mbstring/php_mbregex.c:562: warning: pointer targets in passing argument 4 of 'onig_search' differ in signedness
/tmp/ISPConfig/install_ispconfig/compile_aps/php-5.1.4/ext/mbstring/php_mbregex.c: In function '_php_mb_regex_ereg_replace_exec':
<snip>

/tmp/ISPConfig/install_ispconfig/compile_aps/php-5.1.4/main/streams/streams.c:766: warning: pointer targets in assignment differ in signedness
/tmp/ISPConfig/install_ispconfig/compile_aps/php-5.1.4/main/streams/streams.c: In function 'php_stream_get_record':
/tmp/ISPConfig/install_ispconfig/compile_aps/php-5.1.4/main/streams/streams.c:857: warning: pointer targets in passing argument 1 of 'zend_memnstr' differ in signedness
/tmp/ISPConfig/install_ispconfig/compile_aps/php-5.1.4/main/streams/streams.c:857: warning: pointer targets in passing argument 4 of 'zend_memnstr' differ in signedness

till 21st September 2006 11:55

Have you disbaled SELinux?

If yes, please reinstall ISPConfig. Run:

/root/ispconfig/uninstall

and then install ISPConfig again.

ACDII 21st September 2006 17:47

I bit the dust and rebuilt from scratch. I followed the perfect setup to the letter this time, the last install I did everything. I now have httpd working, but when I try to access the ISPConfig site it doesn't come up. I can get to the port 80 site though. I get an error;

Could not establish an encrypted connection because certificate presented by 10.15.1.7 is invalid or corrupted. Error Code: -8182

Looks like its an ssl issue, how can I resolve it?

till 21st September 2006 17:53

Search the forum for the erroe message and you will find some posts like this one ;)

The certificate seems to be corrupt. Create a new one as described here: http://www.howtoforge.com/forums/showthread.php?t=121

ACDII 21st September 2006 20:16

Excellent, so it is something others have had an issue with. I will give it a try and see if it works. Then I can move forward to doing the rest of the things I need. I shouldnt have any issues running CVS, Tacacs, and Rancid on the same box should I?




*** It WOrks! *******

:happydance:


All times are GMT +2. The time now is 23:48.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.