an error occurred while processing this directive

mydomain

Well-Known Member
Aug 10, 2003
138
0
166
We have submitted a ticket 12 hours ago almost and not had any feedback or had it assigned to an engineer at cPanel, its causing us a lot of customer issues so if anyone can help it would be greatly appreciated.

In all user cPanel pages we receive:

an error occurred while processing this directive

The /usr/local/cpanel/logs/error_log shows entries such as:

Code:
(internal warning) Fri Sep 22 23:23:06 2006 [28813] warn: isdedicatedip() requires one argument at /usr/local/cpanel/Cpanel/DIp.pm line 38
        Cpanel::DIp::isdedicatedip(undef) called at cpanel.pl line 3062
        main::expvar('$isallowedssl') called at cpanel.pl line 741
        main::execiftag('<cpanelif $isallowedssl>') called at cpanel.pl line 3617
        main::dotag(undef) called at cpanel.pl line 3507
        main::parsehtml('GLOB(0x8c1d528)') called at cpanel.pl line 368
        Carp::cluck('isdedicatedip() requires one argument') called at /usr/local/cpanel/Cpanel/DIp.pm line 38
        Cpanel::DIp::isdedicatedip(undef) called at cpanel.pl line 3062
        main::expvar('$isallowedssl') called at cpanel.pl line 741
        main::execiftag('<cpanelif $isallowedssl>') called at cpanel.pl line 3617
        main::dotag(undef) called at cpanel.pl line 3507
        main::parsehtml('GLOB(0x8c1d528)') called at cpanel.pl line 368

Code:
(internal warning) Fri Sep 22 23:23:00 2006 [28813] warn: Unable to understand response from admin bin: apache sent: LISTSUBDOMAINS 0 at /usr/local/cpanel/Cpanel/AdminBin.pm line 65, <ADMINRES> line 4.
        Cpanel::AdminBin::adminfetch ('apache', '/usr/local/apache/conf/httpd.conf', 'LISTSUBDOMAINS', 'storable', 0) called at /usr/local/cpanel/Cpanel/SubDomain.pm$
        Cpanel::SubDomain::listsubdomains() called at /usr/local/cpanel/Cpanel/SubDomain.pm line 247
        Cpanel::SubDomain::countsubdomains() called at cpanel.pl line 1671
        main::dosubdomain('countsubdomains()') called at cpanel.pl line 538
        main::exectag('<cpanel SubDomain="countsubdomains()">') called at cpanel.pl line 3617
        main::dotag(undef) called at cpanel.pl line 3507
        main::parsehtml('GLOB(0x8c1d528)') called at cpanel.pl line 368
Any help is greatly appreciated on this.
 

linux.newbie

Well-Known Member
Sep 8, 2006
73
0
156
Hi,

I too am getting the exact message pasted below.. Have tried reinstalling perl, switched to current, done upcp a couple of times.
 

angelina_holy

Well-Known Member
Aug 6, 2006
113
0
166
Fatal error

I also got this error . i tried changing the ownership of the file from nobody to user and it worked
 

siya

Member
Sep 28, 2006
22
0
151
Hii,

We are also experiencing this error. No fixes found yet.

angelina:
Is it httpd.conf. But, that's not a permanent solution.
 

angelina_holy

Well-Known Member
Aug 6, 2006
113
0
166
Let me clarify it , I this issue for a some files in my control panel and it was fixed changing its permission .

But since you say "In all user cPanel pages we receive:an error occurred while processing this directive " , it seems to be a server wide issue .
there seems to be problem in cpanel.pl file . I would suggest to upgrade the version of cpanel

Try whm>>updateconfig>> set manual (stable)
Then whm >> cpanel>>update to latest version

This might solve the problem
 

Scamby

Registered
Feb 17, 2006
2
0
151
We're also seeing this, httpd.conf fix doesn't appear to help for this server :(

Tried switching from Current to Release, and then to Stable, doesn't help.

Anyone else got any ideas?
 

siya

Member
Sep 28, 2006
22
0
151
Any help!!?

Hey Mike (mydomain), any response from cpanel on your ticket!!?

It seems to be a bug in cpanel. But, it's strange that only a couple of servers out of hundreds are affected. Forced upcp is also not fixing it. We have tried changing permissions on httpd.conf, cpanel user files and a couple of others that seemed to be related. But, no help. :(

Any ideas ??
 
Last edited:

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,462
25
473
Go on, have a guess
Rather than "me too"'ing you'd be better off logging the problem either in bugzilla or through your cPanel license provider and then posting the solution here.
 

jclarke

Member
Oct 8, 2005
9
0
151
dynamic-link.h:57

I'm having similar issues and haven't gotten any kind of responsive from cPanel yet.

It looks like mine in tracing back to the complied programs not running, for example if i try to run /usr/local/cpanel/bin/apachewrap it returns:

apachewrap: dynamic-link.h:57: elf_get_dynamic_info: Assertion `! "bad dynamic tag"' failed.
Aborted

Any other complied program is returning the same error.
 

barko

Member
Apr 16, 2003
13
2
153
chirpy said:
Rather than "me too"'ing you'd be better off logging the problem either in bugzilla or through your cPanel license provider and then posting the solution here.
umm...

Already have - been waiting for over 3 days for a response.
 

color

Active Member
Aug 31, 2006
27
0
151
I have restored the file /usr/local/cpanel/bin/cpwrap from previous CPanel build and it works now.
 

Latic

Member
Feb 15, 2004
5
0
151
Any chance you could send me the cpwrap file you use?

--EDIT

I downgraded then upgraded again.

If anyone needs the file let me know.
 
Last edited:

jclarke

Member
Oct 8, 2005
9
0
151
cPanel has put up a new Edge version and this update fixed the issue on my server.
 

angelina_holy

Well-Known Member
Aug 6, 2006
113
0
166
Hey linux.newbie,

it seeme that the cpanel.pl file has become corrupt on some of your server . Since it works fine on other servers you can try this ,

1. cpanel.pl is located in /usr/local/cpanel/whostmgr/docroot/cgi/rvsitebuilderinstaller/RVSInstaller/cpanel.pl

2. rename the rvsitebuilderinstaller directory to say rvsitebuilderinstaller_old
3. Then copy the new rvsitebuilderinstaller directory and all its contents from the other server that is working fine
4 .This may solve the problem