| Summary : |
Untuk bagian link ini adalah persoalan-persoalan yang muncul yang saya temui ketika sedang mengerjakan sesuatu di proyek atau pun saat testing.
Terima Kasih.
|
|
| -=Bagi-bagi pengetahuan anda untuk orang lain=- |
RTR-INT(config-if)#ip address 202.202.202.2 255.255.255.252
Bad mask /30 for address 202.202.202.2
RTR-INT(config-if)#
Caranya :
Add di cisco nya :
ip subnet-zero dan ip classless
http://www.velocityreviews.com/forums/t38023-mask-problem-on-2500.html |
* date() [<a href='function.date'>function.date</a>]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Asia/Jakarta' for 'WIT/7.0/no DST' instead[/var/www/html/frontends/php/users.php:557]
* date() [<a href='function.date'>function.date</a>]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Asia/Jakarta' for 'WIT/7.0/no DST' instead[/var/www/html/frontends/php/users.php:557]
caranya :
edit php.ini dan rubah date timezone
date.timezone = Asia/Jakarta |
Apr 16 15:40:11 monitor kernel: type=1400 audit(1239871211.719:60): avc: denied { getattr } for pid=997 comm="httpd" path="/var/www/html/frontends" dev=sda3 ino=10868914 scontext=user_u:system_r:httpd_t:s0 tcontext=user_u:object_r:user_home_t:s0 tclass=dir
Apr 16 15:40:11 monitor kernel: type=1400 audit(1239871211.720:61): avc: denied { getattr } for pid=997 comm="httpd" path="/var/www/html/frontends" dev=sda3 ino=10868914 scontext=user_u:system_r:httpd_t:s0 tcontext=user_u:object_r:user_home_t:s0 tclass=dir
Apr 16 15:40:26 monitor kernel: type=1400 audit(1239871226.284:62): avc: denied { search } for pid=997 comm="httpd" name="frontends" dev=sda3 ino=10868914 scontext=user_u:system_r:httpd_t:s0 tcontext=user_u:object_r:user_home_t:s0 tclass=dir
caranya :
disable dulu selinux
nanti setelah selesai di config eneble kan kan lagi selinux nya |
Cannot load mysql extension. Please check your PHP configuration. - Documentation
caranya :
install module-module php
install module-module mysql
install php-mcrypt
yum -y install mcrypt.i386 php-mcrypt.i386 |
PHP max execution time: 30 sec Fail
PHP BC math support no Fail
GD Version: No Fail
Image formats: No Fail
caranya :
kemungkinan packet2 dari php, gd belum terinstal dan php.ini juga harus di configurasi dulu
|
a) Taking the full backup of all the tables including the data.
Use the following command to accomplish this:
mysqldump -u admin -p admin accounts > accounts.sql
b) Taking the backup of table structures only.
Use the following command to accomplish this:
mysqldump -u admin -p admin --no-data accounts > accounts.sql
c) Taking the backup data only.
Use the following command to accomplish this:
mysqldump -u admin -p admin --no-create-info accounts > accounts.sql
Restoring MySQL Database
Restoring the MySQL is very easy job. You can use the following to command to restore the accounts database from accounts.sql backup file.
mysql - u admin -p admin accounts < accounts.sql
Selain bisa digunakan membackup database ke file, mysqldump bisa juga membackup database ke database mysql di server lain. dengan perintah :
mysqldump –user admin –password=test –opt mydata | mysql –host=192.168.13.13 -C newmydata
Keterangan :
–opt : options ini berfungsi mengoptimalkan fungsing pembacaan database
–host : server tujuan tempat data base tujuan (di server tujuan sudah dibuat newmydata database terlebih dahulu)
-C : options ini berfungsi agar data di kompresi terlebih dahulu sebelum di kirim ke database tujuan |
*** Can't find server name for address 192.168.3.254: Query refused
*** Default servers are not available
Default Server: UnKnown
caranya :
di /etc/named.caching-nameserver.conf ubah dari localhost menjadi any
view localhost_resolver {
# match-clients { localhost; };
# match-destinations { localhost; };
match-clients { any; };
match-destinations { any; };
recursion yes;
include "/etc/named.rfc1912.zones";
};
di /etc/named.rfc1912.zones |
zone "3.168.192.in-addr.arpa" IN {
type master;
file "192.168.3.zone";
allow-update { none; };
allow-query { any; };
};
zone "azmy.co.id" IN {
type master;
file "db.azmy.info";
allow-update { none; };
allow-query { any; };
};
zone "qt.co.id" IN {
type master;
file "db.qt.azmy.info";
allow-update { none; };
allow-query { any; };
};
|
jika muncul seperti ini :
Jan 21 05:12:02 ns1 named[2842]: client 192.168.3.242#1033: view localhost_resolver: query (cache) 'auto.search.msn.com/A/IN' denied
Jan 21 05:12:02 ns1 named[2842]: client 192.168.3.242#1033: view localhost_resolver: query (cache) 'www.azmy.info/A/IN' denied
Jan 21 05:12:02 ns1 named[2842]: client 192.168.3.242#1033: view localhost_resolver: query (cache) 'www.azmy.info.org/A/IN' denied
Jan 21 05:12:02 ns1 named[2842]: client 192.168.3.242#1033: view localhost_resolver: query (cache) 'www.azmy.info.net/A/IN' denied
Jan 21 05:12:02 ns1 named[2842]: client 192.168.3.242#1033: view localhost_resolver: query (cache) 'www.azmy.info.edu/A/IN' denied
Jan 21 05:12:02 ns1 named[2842]: client 192.168.3.242#1033: view localhost_resolver: query (cache) 'auto.search.msn.com/A/IN' denied
Jan 21 05:12:09 ns1 named[2842]: client 192.168.3.242#1033: view localhost_resolver: query (cache) 'auto.search.msn.com/A/IN' denied
Jan 21 05:12:42 ns1 named[2842]: client 192.168.3.245#1025: view localhost_resolver: query (cache) 'time.windows.com/A/IN' denied
ganti di : /etc/named.caching-nameserver.conf
# allow-query { localhost; };
allow-query { any; }; |
Error in named configuration:
/etc/named.rfc1912.zones:58: zone 'azmy.info': missing 'masters' entry
/etc/named.rfc1912.zones:63: zone 'azmy.info': missing 'masters' entry
/etc/named.rfc1912.zones:68: zone 'azmy.info': missing 'masters' entry
/etc/named.rfc1912.zones:73: zone 'azmy.info': missing 'masters' entry
[FAILED]
caranya :
edit file di etc : named.caching-nameserver.conf
tambahin
zone "azmy.info" {
type slave;
file "db.azmy.info";
masters { 202.202.202.2; };
};
zone "azmy.info" {
type slave;
file "db.azmy.info";
masters { 202.202.202.2; };
};
zone "azmy.info" {
type slave;
file "db.azmy.info";
masters { 202.202.202.2; };
};
zone "azmy.info" {
type slave;
file "db.azmy.info";
masters { 202.202.202.2; };
};
zone "azmy.info" {
type slave;
file "db.azmy.info";
masters { 2202.202.202.2; };
};
zone "azmy.info" {
type slave;
file "db.azmy.info";
masters { 202.202.202.2; };
}; |
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
|