HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Server Operation (http://www.howtoforge.com/forums/forumdisplay.php?f=5)
-   -   Apache and perl.conf error (http://www.howtoforge.com/forums/showthread.php?t=1514)

nenad 2nd December 2005 17:47

Apache and perl.conf error
 
Apache won't start due to following error:

Quote:

Starting httpd: Syntax error on line 10 of /etc/httpd/conf.d/perl.conf:
Cannot load /etc/httpd/modules/mod_perl.so into server: /etc/httpd/modules/mod_perl.so: undefined symbol: Perl_Ippid_ptr
Everything worked fine until I installed RRDTool.
Actually even then everyhting worked OK, untill I re-created server certificate with ISPConfig.

BTW I have a problem with apt-get too:

Quote:

[root@noc ~]# apt-get upgrade
Reading Package Lists... Done
Building Dependency Tree... Done
You might want to run `apt-get -f install' to correct these.
The following packages have unmet dependencies:
libtool: Depends: gcc (= 3.4.3) but 3.4.4-2.fc3 is installed
E: Unmet dependencies. Try using -f.

HELP!!! :eek:

nenad 2nd December 2005 18:59

If I uncomment that line then I got:

Quote:

[root@noc ~]# service httpd start
Starting httpd: httpd: could not open document config file /etc/httpd/conf/vhosts/Vhosts_ispconfig.conf
[FAILED]

nenad 2nd December 2005 19:14

OK,

I uncomented line, and I added new user in ISPConfig to make it reload config file.

Now httpd runs.

Is there any command to force ISPConfig server to reload config file?

So, in one hand problem resolved, but in other hand it seems that I don't have internal interpretation of perl withi apache (which makes scripts runs faster) ?

till 3rd December 2005 12:20

You dont have to add a new user in ispconfig to restart the httpd.

Go to Management > Server > Services. Select web Server restart and hit save.

nenad 3rd December 2005 16:27

Quote:

Originally Posted by till
You dont have to add a new user in ispconfig to restart the httpd.

Go to Management > Server > Services. Select web Server restart and hit save.

I restart httpd through shell with "service httpd restart".

Question is how to force ISPConfig to reload configuration file?

Falco told me in another thread that I have to change passw. add user etc. to make it reload ISP config file

till 3rd December 2005 16:38

ISPConfig does not reload config files at all. If you mean that you want ISPConfig to rewrite the config file, you will have to add or cahnge a website to let ISPConfig rewrite the vhost configuration.

nenad 3rd December 2005 16:39

Quote:

Originally Posted by nenad
Apache won't start due to following error:

Quote:

Starting httpd: Syntax error on line 10 of /etc/httpd/conf.d/perl.conf:
Cannot load /etc/httpd/modules/mod_perl.so into server: /etc/httpd/modules/mod_perl.so: undefined symbol: Perl_Ippid_ptr
Everything worked fine until I installed RRDTool.
Actually even then everyhting worked OK, untill I re-created server certificate with ISPConfig.

BTW I have a problem with apt-get too:




HELP!!! :eek:


OK. I found solution.

I done this:
-------------------------------------------------------------------
rpm -Uvh http://ftp.freshrpms.net/pub/freshrp....fr.noarch.rpm
yum update
-------------------------------------------------------------------
Then new Perl 5.8 ...etc. was installed altogether with depecies.
Then I uncommented again the line that was troublemaker in /etc/httpd/conf.d/perl.conf
and then I restarted httpd (service httpd restart)

Now everything works fine.

Note that new Perl-5.8... (whatever) was not avaiable in apt-get packages
It's a kind of bug in previous Perl package. Who want to find out more please use Google

nenad 3rd December 2005 16:40

Quote:

Originally Posted by till
ISPConfig does not reload config files at all. If you mean that you want ISPConfig to rewrite the config file, you will have to add or cahnge a website to let ISPConfig rewrite the vhost configuration.

yes, that's what I meant.

Is there a shell command to force ISPConfig server to reload config file?
Or is it reloaded if service ISPConfig isrestarted?

nenad 3rd December 2005 16:43

Quote:

[root@noc ~]# apt-get upgrade
Reading Package Lists... Done
Building Dependency Tree... Done
You might want to run `apt-get -f install' to correct these.
The following packages have unmet dependencies:
libtool: Depends: gcc (= 3.4.3) but 3.4.4-2.fc3 is installed
E: Unmet dependencies. Try using -f.

How to resolve this?

I am using YUM, so I don't know anything about apt-get.
In yum there is yum search *package* so I can find exact name of package that I want to install.

How do I do that with apt-get ?

till 3rd December 2005 16:45

Quote:

Originally Posted by nenad
yes, that's what I meant.

Is there a shell command to force ISPConfig server to reload config file?
Or is it reloaded if service ISPConfig isrestarted?

ISPConfig does not reload config files at all!

If it does not reload config files at all, there cant be a shell command for a non existing function ;)

Config files are loaded or reloaded by daemons like httpd, postfiix, bind, proftpd. You will have to restart the corresponding service to get the config files reloaded.


All times are GMT +2. The time now is 05:14.

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