Fatal error: require_once(): Failed opening required 'pre.php' in /usr/share/tuleap/src/www/index.php - tuleap

I have installed xampp and then tuleap in centos and gave /usr/share/tuleap/src/www as document root in /etc/httpd/conf/httpd.conf
When I hit the url, I am getting the following error:
Warning: require_once(pre.php): failed to open stream: No such file or directory in /usr/share/tuleap/src/www/index.php on line 9
Fatal error: require_once(): Failed opening required 'pre.php' (include_path='.:/opt/lampp/lib/php') in /usr/share/tuleap/src/www/index.php on line 9
I am also seeing that the document root points to /usr/share/tuleap/src/www and pre.php is not in this folder. Instead it is at include/pre.php I am totally confused on this directory structure. I didn't change any code after installing tuleap.
Please let me know how to fix this issue.
Thanks in advance!

Related

SVN Put request failed at 1059.44MB

Error: Commit failed (details follow): Error: While preparing 'C:\IT-TEST\FILE.iso' for commit Error: PUT request on '/test-repo/!svn/txr/6581-57h/IT-TEST/FILE.iso' failed
I got this error when trying to upload(with SVNTORTOISE) to my repo file which size is more than 1059~1060MB.
What in server side need to be edit?
OS:Oracle Linux
Software: SVN+HTTPd
Resolved by adding LimitRequestBody 0 to httpd.conf and reloading the service.
Thanks all for help :)

Longident.flat error when trying to migrate a file from bucklescript to rescript

Trying to rescript bucklescript-tea and after using rescript convert -all
All the files converted except for 2 files that handle http stuff this error showed up
Fatal error: Longident.flat
Fatal error: exception Whole_compiler.Misc.Fatal_error
Any ideas on how this can be fixed?
Thank you!

Check Sum Errors on Checkout

On a virtual host server, I have 1 repository that I can no longer checkout from a remote computer. Checkout works fine if I'm checking out on the server itself. All other repositories on the same virtual host server work without a problem, though none of them have as many files as this one.
When I check out on a remote computer, checkout goes a certain number of files, then starts displaying checksum errors, usually between 2 and 6 at a time. If I delete the checked out folder and try again with a new folder, it will stop after about the same number of files, and the collection of files with checksum errors is different from the previous checkout. Checking out on a different remote computer gets the same random results.
First try:
Error: Checksum mismatch for
Error: 'C:\Users\jkorc\Documents\Projects\VHost\RoyalProvincial\Genealogy\Settle\settle.shtml':
Error:
Error: expected: b450dbef2a3ceb9542a4e22b4b3e50fe
Error: actual: 9454a4eb5afdbc215bffcc619f537fa3
Error: Additional errors:
Error: Checksum mismatch for
Error: 'C:\Users\jkorc\Documents\Projects\VHost\RoyalProvincial\Genealogy\Settle\lndnjv1.shtml':
Error:
Error: expected: e187d974743d0129a6c72413f205458c
Error: actual: 73c0b6aba9a9a42409e2cf7e6d043049
Error: Additional errors:
Error: Checksum mismatch for
Error: 'C:\Users\jkorc\Documents\Projects\VHost\RoyalProvincial\Genealogy\Settle\lndfraser.shtml':
Error:
Error: expected: 151444dc294357ba42a640333c94b6f7
Error: actual: 900ffa360acd460773acbe1759578533
Error: Additional errors:
Error: Checksum mismatch for
Error: 'C:\Users\jkorc\Documents\Projects\VHost\RoyalProvincial\Genealogy\Settle\lndretn1.shtml':
Error:
Error: expected: 6b8791dc78b0af936d6d7e70e11b69ee
Error: actual: dd7af732663345c6401861c89331adea
Error: Additional errors:
Error: Checksum mismatch for
Error: 'C:\Users\jkorc\Documents\Projects\VHost\RoyalProvincial\Genealogy\Settle\lndrfa2.shtml':
Error:
Error: expected: 7451fedd09e1f99adf4c4af2668c4942
Error: actual: 548f947ce54c697957daa4efa4192786
Error: Additional errors:
Error: Checksum mismatch for
Error: 'C:\Users\jkorc\Documents\Projects\VHost\RoyalProvincial\Genealogy\Settle\lndpwar3.shtml':
Error:
Error: expected: f7fba4f2a3a468df6c4948eaa034e119
Error: actual: 0f3c2da13e55a7c0271743e7d145cfca
Error: Additional errors:
Error: Checksum mismatch for
Error: 'C:\Users\jkorc\Documents\Projects\VHost\RoyalProvincial\Genealogy\Settle\lndrhe1.shtml':
Error:
Error: expected: 32cc673b06be5806bc6bc66000d5ec75
Error: actual: 5356175235c395577793e9fa9f0b9bb7
Second try:
Error: Checksum mismatch for
Error: 'C:\Users\jkorc\Documents\Projects\VHost\RoyalProvincial\Genealogy\Settle\Petition_Teder_M_1795.shtml':
Error:
Error: expected: c29978209a203cd254c641bd931739e5
Error: actual: e4042c36b5ff42a01eb890044d64b131
Error: Additional errors:
Error: Checksum mismatch for
Error: 'C:\Users\jkorc\Documents\Projects\VHost\RoyalProvincial\Genealogy\Settle\lndbrng1.shtml':
Error:
Error: expected: 6daeec06c6290557ca6b0de0d551fc43
Error: actual: 598d6bad86117e4cf8f384ed523800aa
I created a new repository of the same files on the same server. Same problem, except I start getting checksum errors after downloading only about a dozen files instead of a few hundred. The server is on Subversion 1.13.0, Tortoise is 1.13.1.
Any ideas what kind of problem I should be looking for?
My assumption would be that a certain folder has a corrupt checksum (for whatever reason).
Fist of all I'd check integrity of the SVN. Some instyructions can be found here:
https://www.darklaunch.com/fix-svnadmin-checksum-mismatch-while-reading-representation.html
There's quite some people experiencing this issue. The easy work around normally mentioned is to recreate the repo:
Copy the content to a temporary directory
Add the folder as new one to SVN
As the new content will get new checksums, those should be ok for all folders afterwards
If you want to do some direct editing, here's a post that corrected the SVN files successfully (use at own risk, make backups!)
https://maymay.net/blog/2008/06/17/fix-subversion-checksum-mismatch-error-by-editing-svnentries-file/
I once had strange behaviour when content on net packages had been capped as well. That was caused by the MTU (Maximum Transfer Unit). SVN seem to struggle here as well, so adjust the setting in your network infrastructure. Here's a link to a similar issue with SVN involved.
https://serverfault.com/questions/392881/tortoise-svn-repo-browser-checkout-over-vpn
As summary: To isolate the issue I would do the following steps:
A) See if the repo's SVN metadata is cause:
log to server
copy the repo as filesystem (without SVN data)
create a new repo with the files
connect svn client from other host. If all goes well the SVN metadata is corrupt
b) Check if it's host/network specific
Do the same as A but from other host (= create the repo from there)
List item
c) Check if network MTU is ok
do check up to which size packets will be transferred ok (will not go into details as this is very OS/infrastructure related, but you'll find lot's of infos)
note hops/VPNs/multiple routers/IPv4-IPv6 can all play into this
Having written all that: Did you crosscheck behaviour with a second SVN client in the first place? Might be the first thing to do.

rlm_eap error running freeradius in openwrt

I am running openwrt on beagle bone black board. I am getting following error while running freeradius.
radiusd -X
rlm_eap: SSL error error:02001002:lib(2):func(1):reason(2)
rlm_eap_tls: Error reading certificate file /etc/freeradius2/certs/server.pem
rlm_eap: Failed to initialize type tls
/etc/freeradius2/eap.conf[17]: Instantiation failed for module "eap"
/etc/freeradius2/sites/default[312]: Failed to find "eap" in the "modules" section.
/etc/freeradius2/sites/default[254]: Errors parsing authenticate section.
when i checked there is no "cert" directory present in /etc/freeradius2/. Plz help
Problem was solved after installing freeradius2-democerts_2.2.7-1_omap.ipk
after installing following error might trouble:
Debug: Module: Checking authorize {...} for more modules to load
Error: /etc/freeradius2/sites/default[160]: Failed to find "reject" in the "modules" section.
Error: /etc/freeradius2/sites/default[69]: Errors parsing authorize section.
to resolve this go to /etc/freeradius2/sites/default line no. 160. comment the line which has reject word.

Apache 2 error after performing Update on Ubuntu Server

root#ubuntu:-$ apachectl restart
Gives me this error:
apache2: Syntax error on line 140 of /etc/apache2/apache2.conf: Syntax
error on line 1 of /etc/apache2/mods-enabled/perl.load: Cannot load
/usr/lib/apache2/modu les/mod_perl.so into server:
/usr/lib/apache2/modules/mod_perl.so: cannot open s
hared object file: No such file or directory Action 'restart' failed.
The Apache error log may have more information.
IN line 140 of apache2.conf there is this:
Include mods-enabled/.load*
Include mods-enabled/.conf*
In the file perl.load there is only one line:
LoadModule perl_module /usr/lib/apache2/modules/mod_perl.so
Kindly assist me on how I can rectify this as it was working properly until apache did and update and it wont restart now.

Resources