Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 2nd December 2005, 17:47
nenad nenad is offline
Senior Member
 
Join Date: Nov 2005
Location: Novi Sad, Serbia
Posts: 415
Thanks: 13
Thanked 5 Times in 5 Posts
Default 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!!!
Reply With Quote
Sponsored Links
  #2  
Old 2nd December 2005, 18:59
nenad nenad is offline
Senior Member
 
Join Date: Nov 2005
Location: Novi Sad, Serbia
Posts: 415
Thanks: 13
Thanked 5 Times in 5 Posts
Default

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]
Reply With Quote
  #3  
Old 2nd December 2005, 19:14
nenad nenad is offline
Senior Member
 
Join Date: Nov 2005
Location: Novi Sad, Serbia
Posts: 415
Thanks: 13
Thanked 5 Times in 5 Posts
Default

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) ?
Reply With Quote
  #4  
Old 3rd December 2005, 12:20
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,046
Thanks: 826
Thanked 5,384 Times in 4,231 Posts
Default

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.
Reply With Quote
  #5  
Old 3rd December 2005, 16:27
nenad nenad is offline
Senior Member
 
Join Date: Nov 2005
Location: Novi Sad, Serbia
Posts: 415
Thanks: 13
Thanked 5 Times in 5 Posts
Default

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
Reply With Quote
  #6  
Old 3rd December 2005, 16:38
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,046
Thanks: 826
Thanked 5,384 Times in 4,231 Posts
Default

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.
Reply With Quote
  #7  
Old 3rd December 2005, 16:39
nenad nenad is offline
Senior Member
 
Join Date: Nov 2005
Location: Novi Sad, Serbia
Posts: 415
Thanks: 13
Thanked 5 Times in 5 Posts
Default

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!!!

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

Last edited by nenad; 3rd December 2005 at 16:44.
Reply With Quote
  #8  
Old 3rd December 2005, 16:40
nenad nenad is offline
Senior Member
 
Join Date: Nov 2005
Location: Novi Sad, Serbia
Posts: 415
Thanks: 13
Thanked 5 Times in 5 Posts
Default

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?
Reply With Quote
  #9  
Old 3rd December 2005, 16:43
nenad nenad is offline
Senior Member
 
Join Date: Nov 2005
Location: Novi Sad, Serbia
Posts: 415
Thanks: 13
Thanked 5 Times in 5 Posts
Default

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 ?
Reply With Quote
  #10  
Old 3rd December 2005, 16:45
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,046
Thanks: 826
Thanked 5,384 Times in 4,231 Posts
 
Default

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.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 15:59.


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