PDA

View Full Version : Apache and perl.conf error


nenad
2nd December 2005, 17:47
Apache won't start due to following error:

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:

[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:

[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
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
Apache won't start due to following error:

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/freshrpms/fedora/linux/3/freshrpms-release/freshrpms-release-1-1.fc.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
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
[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
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.

nenad
3rd December 2005, 18:25
ISPConfig does not reload config files at all!

OK, ok...

I tought that there is maybie some "ispconfig.conf" file which can be reloaded.:rolleyes:


P.S. what should I do about apt-get? Help? Please?

falko
3rd December 2005, 20:57
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 ?
apt-cache search <package>