In Moodle 1.8 platform, whenever you encounter the captioned error during login, the /var is likely to be full.
The solution, obviously... clean up the /var to feed more free space to it.
Thursday, November 15, 2007
Thursday, November 1, 2007
Tracing IP and e-mail header information
I found some resources for tracing IP and e-mail header stuff...
Find the IP of the e-mail sender via header:
http://www.infobanc.com/articles/faida5_12.htm
Trace the IP location:
http://visualroute.visualware.com/
Find the IP of the e-mail sender via header:
http://www.infobanc.com/articles/faida5_12.htm
Trace the IP location:
http://visualroute.visualware.com/
Wednesday, October 31, 2007
List and comparisons of emulators...
Mayank Sharma provided a nice articles on some alternative emulators other than VPC:
Ref: http://www.linux.com/articles/60742
They are QEMU, Bochs, Virtual Box, VMware Player and VMware server...
Ref: http://www.linux.com/articles/60742
They are QEMU, Bochs, Virtual Box, VMware Player and VMware server...
Wednesday, September 5, 2007
phpgraphy album title length
The title length of albums could be modified at:
found in file "/base/include/yorsh-varval-request_data.inc.php"
field dirtitle
verison 0.93.
found in file "/base/include/yorsh-varval-request_data.inc.php"
field dirtitle
verison 0.93.
Friday, August 24, 2007
apache: /libphp5.so: cannot restore segment prot after reloc: Permission denied
If apache cannot start, with error: /libphp5.so: cannot restore segment prot after reloc: Permission denied, try the following:
% setenforce 0
% setenforce 0
VsFTP 500 OOPS: cannot change directory
cannot change directory:/home/***
500 OOPS: cannot change directory:/home/*******
500 OOPS: child died
Solution (in prompt)
% setsebool ftpd_disable_trans 1
% service vsftpd restart
To make the effect working even reboot, add option -P in setsebool
Reference: http://www.phpchina.com/14881/viewspace_8888.html
500 OOPS: cannot change directory:/home/*******
500 OOPS: child died
Solution (in prompt)
% setsebool ftpd_disable_trans 1
% service vsftpd restart
To make the effect working even reboot, add option -P in setsebool
Reference: http://www.phpchina.com/14881/viewspace_8888.html
Wednesday, June 20, 2007
Using find command in Unix
Just for my memory...
find . -exec grep "keywords" '{}' \; -print
This handly statement finds files contains "keywords" and print the line and the file name as well.
Ref: http://www.athabascau.ca/html/depts/compserv/webunit/HOWTO/find.htm#EX03
find . -exec grep "keywords" '{}' \; -print
This handly statement finds files contains "keywords" and print the line and the file name as well.
Ref: http://www.athabascau.ca/html/depts/compserv/webunit/HOWTO/find.htm#EX03
Tuesday, June 19, 2007
Context level of Moodle
From lib/accesslib.php
25 // context definitions
26 define('CONTEXT_SYSTEM', 10);
27 define('CONTEXT_PERSONAL', 20);
28 define('CONTEXT_USER', 30);
29 define('CONTEXT_COURSECAT', 40);
30 define('CONTEXT_COURSE', 50);
31 define('CONTEXT_GROUP', 60);
32 define('CONTEXT_MODULE', 70);
33 define('CONTEXT_BLOCK', 80);
25 // context definitions
26 define('CONTEXT_SYSTEM', 10);
27 define('CONTEXT_PERSONAL', 20);
28 define('CONTEXT_USER', 30);
29 define('CONTEXT_COURSECAT', 40);
30 define('CONTEXT_COURSE', 50);
31 define('CONTEXT_GROUP', 60);
32 define('CONTEXT_MODULE', 70);
33 define('CONTEXT_BLOCK', 80);
Friday, June 15, 2007
MS Word closed right after it starts
Whenever you experience this sort of problem, most likely it will be the problem of file: normal.dot
Try to seek and delete that file to solve the problem.
Ref: http://word.mvps.org/FAQs/AppErrors/ProbsOpeningWord.htm
Try to seek and delete that file to solve the problem.
Ref: http://word.mvps.org/FAQs/AppErrors/ProbsOpeningWord.htm
Tuesday, June 12, 2007
Create create VPN connection in Windows XP
In Windows XP, make sure the Telephony, Remote Access Connection Manager, and Remote Access Auto Connection Manager services are running.
Ref: http://support.microsoft.com/default.aspx?scid=kb;en-us;329441
Ref: http://support.microsoft.com/default.aspx?scid=kb;en-us;329441
Subscribe to:
Posts (Atom)
CSP on Apache
To add CSP to root if sort of funny. The following will NOT work for most cases !! <LocationMatch "^/$"> Header s...
-
When Office2003 couldn't find file SKU011.CAB: regedit -> [HKEY_LOCAL_MACHINE] -> [SOFTWARE] -> [Microsoft] -> [Office] -...
-
The resolution can be changed by editing the BlueStack's registry: HKLM\SOFTWARE\BlueStacks\Guests\Android\FrameBuffer\0\Height and ...
-
Suppose you got a file in Big5 containing some HKSCS characters (e.g. 深水埗, 赤鱲角, etc). When your environment (Ref: Charset.defaultCharset( ) ...