Cannot read files after moving to new server
Thanks for reply,
i renamed "Upload a file" to" BaigiangNMTH", but i can't upload any file on system.
@ Lê Hoa`n
"moved" to a different server. Server is what OS?
If CentOS 6.x/RedHat Enterprise 6, is SELINUX running?
if output of above shows:
Current mode: enforcing
it is on and might be the reason. Change from 'enforcing' to 'permissive':
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - SELinux is fully disabled.
Reset of SELINUX requires restart of system.
Were *all* the files/folders in moodledata moved to the new server?
From /var/www/ of old server:
scp moodledata root@newserver:/var/www/
When using scp as above moodledata gets tagged as belonging to root:root.
moodledata is located in /var/www/ apache already has access to that location.
Logged on as root user new server:
chown apache:apache moodledata -R
chmod ugo+rwx moodledata -R
Check your apache access/error logs.
If all those checkout, turn on debugging.
'spirit of sharing', Ken
Hope I will get solution from you!!
I have latest Moodle installation on my local server and accessible over LAN.
The conversation with Davo Smith, i have copied here.
i tried installing latest ghost script but the problem still persists.
secondly as you advised for using Annotate PDF,
1. If I disable the Feedback PDF, to use annotate PDF, it does not show Annotation Tab.
2. when i tried opening Annotate PDF, there was an error so I could not apply it (???)
3. Can we rotate the PDF while checking ( as if there is original file in landscape page format, it shows in annotation as portrait only)
How do I resolve the error?
the help link does not relate to the problem.
Emma and Davo have both recommended un-installing the old plugin and
use the built in. I'd add +1 to those suggestions. Adding to an existing
posting about an issue that's not really related isn't really going to get you a different answer.
About the only thing I would tell you is to check on the file which is
what the error reports - but you've said that help link isn't the problem?
Path to noodle's data directory can be found in config.php file of the code.
The '....' below you fill i with all those numbers/letters seen in the Debug info.
is there a 8c directory?
is there a 96 directory?
is there a file? 8c96.... 865?
What are owneership/permissions on that file?
What are ownerships/permissions on 8c on 96 as well?
Is it a PDF?
copy the 8c96....865 file to another location AND change it's name to check.pdf
cp 8c96....865 c:\check.pdf
See if you can open the check.pdf file.
'spirit of sharing', Ken
Thanks for giving guideline, I checked for the folders such as "8c" "96" etc in the respective error messages, as I created folders in the moodledata and the respective location, with continue button the debugging mode gave me more no of such folder errors, so created all the folders and the files.
The file I created was like right click and create new note.txt files and renamed it with the encrypted file name and amazingly it worked for me.
Thanks once again.