WHM/Cpanel (Centos 6) Installing bugzilla - cpanel

I have installed bugzilla on my whm/cpanel server but it's redirecting me to 500 error.
My error log contains
[Wed Aug 03 00:11:09.525772 2016] [cgi:error] [pid 8054] [client :32814] AH01215: BEGIN failed--compilation aborted at index.cgi line 19.: index.cgi
[Wed Aug 03 00:11:09.525716 2016] [cgi:error] [pid 8054] [client :32814] AH01215: Compilation failed in require at index.cgi line 19.: index.cgi
[Wed Aug 03 00:11:09.525655 2016] [cgi:error] [pid 8054] [client :32814] AH01215: BEGIN failed--compilation aborted at Bugzilla.pm line 19.: index.cgi
[Wed Aug 03 00:11:09.525538 2016] [cgi:error] [pid 8054] [client :32814] AH01215: Can't locate CGI/Carp.pm in #INC (#INC contains: . lib/x86_64-linux-thread-multi lib /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5) at Bugzilla.pm line 16.: index.cgi
I didn't find solution for this by googling. Please anyone help me.
Thanks,
Lanka.

24x7servermanagement server should have some problem with compatibility or not installed all required modules. Is your bugzilla installed successfully after switching server to AWS?
You can find complete installation guide for bugzilla here..
If you still receive error, provide us error message logs details from new server.

I can see there are some library missing on your server and due to that you are getting all these error. Please check your library status with following command.
./checksetup.pl --check-modules

Related

Apache httpd does not accept file >2GB, LFS Support, 32bit

Unable to upload Large file in apache httpd-2.4.48 (compiled as 32bit binary)
Apache is compiled as 32bit package on 64bit processor,
below error is observed when we try to upload file >2GB.
[Mon Jul 26 22:05:10.750215 2021] [authz_core:debug] [pid 22794] mod_authz_core.c(843): [client 10.188.103.247:63730] AH01628: authorization result: granted (no directives), referer: http://10.188.103.118/?MAIN=WELCOME
[Mon Jul 26 22:05:10.750465 2021] [contentwebserver:debug] [pid 22794] ccontentwebserver.cpp(1125): [client 10.188.103.247:63730] CContentWebServer:: SessionID=[ContentWebServer_10.188.103.247.138f674dea80ace6fa180df6e5a20dcb] ignoreSessionTimeout=[1], referer: http://10.188.103.118/?MAIN=WELCOME
[Mon Jul 26 22:05:10.843785 2021] [core:debug] [pid 22794] protocol.c(1389): [client 10.188.103.247:63730] AH10242: client sent invalid Content-Length (2785018852): /contentwebserver/upload, referer: http://10.188.103.118/Administration/SystemUpdates/nSystemUpdatesUpload.html?v=1625526276ta
[Mon Jul 26 22:05:10.843869 2021] [headers:debug] [pid 22794] mod_headers.c(890): AH01503: headers: ap_headers_error_filter()
however, the upload operation is successful when the file size is <2GB without any issues.
We had tried compiling apache httpd-2.4.48 with apr_cv_use_lfs64=yes flag and confirmed from config.log
mod_contentwebserver.so is apache httpd module.
please let us know how to proceed further on this?

apache not working, shows a "404 page not found" error

i have been trying to set up apache2 on my ubuntu 16.04 but after successful install i get a 404 page not found error whenever i type localhost in the browser. I have uninstalled and installed apache2 several times but the problem still persists.
This is the output of my /var/log/apache2/error.log file..
[Tue Jun 26 02:20:52.809104 2018] [mpm_event:notice] [pid 1010:tid 139925306578816] AH00491: caught SIGTERM, shutting down
[Tue Jun 26 02:20:58.753357 2018] [mpm_event:notice] [pid 1359:tid 139843231913856] AH00489: Apache/2.4.18 (Ubuntu) configured -- resuming normal operations
[Tue Jun 26 02:20:58.753554 2018] [core:notice] [pid 1359:tid 139843231913856] AH00094: Command line: '/usr/sbin/apache2'

QGIS Server Not working

alright guys I have been stuck on this for the last 2,3 days I have searched online for a solution, I have tried re-installing QGIS Server. But I can't get the Digital Maps to Load.
I am using Windows Server 2008 R2.
I install packages using the osgeo4w-setup file.
After installing when I browse to localhost:9090/ I can see the following.
Then the next step when I browse to:
http://localhost:9090/qgis/qgis_mapserv.fcgi.exe?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetCapabilities&map=d:/dgmps/GIS.qgs
I get following error:
In the Apache Error Log files I am getting this:
First I was getting this error:
[Sat Mar 07 00:25:40 2015] [warn] [client 127.0.0.1] (OS 109)The pipe has been ended. : mod_fcgid: get overlap result error
[Sat Mar 07 00:25:40 2015] [error] [client 127.0.0.1] Premature end of script headers: qgis_mapserv.fcgi.exe
So I followed all links 1 , 2 I could find online, after that I was getting the following error:
The Error Log in Apache Error Log is:
[Sat Mar 07 23:24:18 2015] [error] [client 127.0.0.1] Premature end of script headers: qgis_mapserv.fcgi.exe
[Sat Mar 07 23:24:18 2015] [error] [client 127.0.0.1] Warning 1: Unable to find driver ECW to unload from GDAL_SKIP environment variable.\r
[Sat Mar 07 23:24:18 2015] [error] [client 127.0.0.1] Warning 1: Unable to find driver ECW to unload from GDAL_SKIP environment variable.\r
[Sat Mar 07 23:24:18 2015] [error] [client 127.0.0.1] Warning 1: Unable to find driver JP2ECW to unload from GDAL_SKIP environment variable.\r
[Sat Mar 07 23:24:18 2015] [error] [client 127.0.0.1] Warning 1: Unable to find driver ECW to unload from GDAL_SKIP environment variable.\r
[Sat Mar 07 23:24:18 2015] [error] [client 127.0.0.1] Warning 1: Unable to find driver JP2ECW to unload from GDAL_SKIP environment variable.\r
[Sat Mar 07 23:24:18 2015] [error] [client 127.0.0.1] QFSFileEngine::open: No file name specified\r
[Sat Mar 07 23:24:18 2015] [error] [client 127.0.0.1] ImportError: No module named site\r
Anybody know the solution to this?
A bit late for an answer, but it might still help someone:
copy all .dll from osgeo4w/bin to osgeo4w/apps/qgis/bin
copy all .py from osgeo4w/apps/python/Lib to osgeo4w/apps/qgis/bin
copy folder "encodings" from osgeo4w/apps/python/Lib to osgeo4w/apps/qgis/bin
amend the httpd.conf file as follows (I'm using the 64 bit, so be careful when copy-pasting):
DefaultInitEnv PATH "C:\OSGeo4W64\bin;C:\OSGeo4W64\apps\qgis\bin;C:\OSGeo4W64\apps\grass\grass-#grassversion#\bin;C:\OSGeo4W64\apps\grass\grass-#grassversion#\lib;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem"
DefaultInitEnv QGIS_PREFIX_PATH "C:\OSGeo4W64\apps\qgis"
DefaultInitEnv QT_PLUGIN_PATH "C:\OSGeo4W64\apps\qgis\qtplugins;C:\OSGeo4W64\apps\qt4\plugins"

Error after updating Apache on Ubuntu 13.04 (Raring Ringtail)

I have an error after updating my packages. When trying to start my webserver, it throws the following error.
$ sudo service apache2 restart
* Restarting web server apache2 [fail]
* The apache2 configtest failed.
Output of config test was:
AH00526: Syntax error on line 84 of /etc/apache2/apache2.conf:
Invalid command 'LockFile', perhaps misspelled or defined by a module not included in the server configuration
Action 'configtest' failed.
The Apache error log may have more information.
And the Apache error log is (from file /var/log/apache2/error.log):
[Sat Aug 17 01:30:03 2013] [notice] Apache/2.2.22 (Ubuntu) PHP/5.4.17RC1 configured -- resuming normal operations
[Sat Aug 17 01:41:38 2013] [notice] caught SIGTERM, shutting down
[Sat Aug 17 03:10:11.132425 2013] [mpm_prefork:notice] [pid 4182] AH00163: Apache/2.4.6 (Ubuntu) PHP/5.5.1-2+debphp.org~raring+2 configured -- resuming normal operations
[Sat Aug 17 03:10:11.143718 2013] [core:notice] [pid 4182] AH00094: Command line: '/usr/sbin/apache2'
[Sat Aug 17 03:13:56.527245 2013] [mpm_prefork:notice] [pid 4182] AH00169: caught SIGTERM, shutting down
What things do I have to do to recover or fix my server up?
Replace in apache2.conf:
LockFile /var/lock/apache2/accept.lock
with
Mutex file:${APACHE_LOCK_DIR} default
Actually, it is better to use a semaphore. Under Unix systems it is a lot faster and uses fewer resources.
And the option is just this:
Mutex sem

Error after upgrading to Apache 2.4.6

The "a2ensite""a2dissite" are not working
Echo:
ERROR: Site XXXXXX does not exist!
I swear it exists in sites-available folder.
After I typed a2ensite and double clicked the Tab button, it shows the /root directory.
There must be something wrong with the a2en/dissite script.
How can I make it back to work?
=====================
Here are the last lines of the error log:
[Sun Aug 04 22:59:31.406192 2013] [mpm_event:notice] [pid 5378:tid 140459282536256] AH00489: Apache/2.4.6 (Ubuntu) configured -- resuming normal operations
[Sun Aug 04 22:59:31.406433 2013] [core:notice] [pid 5378:tid 140459282536256] AH00094: Command line: '/usr/sbin/apache2'
[Sun Aug 04 23:09:44.648984 2013] [mpm_event:notice] [pid 5378:tid 140459282536256] AH00491: caught SIGTERM, shutting down
[Sun Aug 04 23:09:46.001182 2013] [mpm_event:notice] [pid 5692:tid 139671144335168] AH00489: Apache/2.4.6 (Ubuntu) configured -- resuming normal operations
[Sun Aug 04 23:09:46.001490 2013] [core:notice] [pid 5692:tid 139671144335168] AH00094: Command line: '/usr/sbin/apache2'
Renaming site configuration files in /etc/apache2/sites-available/* into *.conf helped.
Example, when enabling site dummy.com, configuration file must be named dummy.com.conf.
Another solution is to change this line in /etc/apache2/apache2.conf from:
IncludeOptional sites-enabled/*.conf
to:
IncludeOptional sites-enabled/*