Whats the meaning of Ttl
in nload output? Whats the period of calculation?
# Curr: 151.28 MBit/s
# Avg: 161.08 MBit/s
# Min: 144.97 MBit/s
# Max: 192.01 MBit/s
# Ttl: 126055.90 GByte
Whats the meaning of Ttl
in nload output? Whats the period of calculation?
# Curr: 151.28 MBit/s
# Avg: 161.08 MBit/s
# Min: 144.97 MBit/s
# Max: 192.01 MBit/s
# Ttl: 126055.90 GByte
I'm using lsync for incremental backup. After 6 month it generated about 6GB log file in /var/log/lsyncd/lsyncd.log
.
I decide to change log level to reduce log generation. there is an option '-log' in lsync man file and there is a config file in 'nano /etc/lsyncd.lua'.
I want know how set '-log' option in 'lsyncd.lua' file to disable or change log level?
In a fresh installation of CenotOS 6 in a VPS after running sysctl -p /etc/sysctl.conf
I got this errors:
error: "net.bridge.bridge-nf-call-ip6tables" is an unknown key
error: "net.bridge.bridge-nf-call-iptables" is an unknown key
error: "net.bridge.bridge-nf-call-arptables" is an unknown key
What is the starting point to solving this errors?
I try opening my dns port by following rules:
iptables -A INPUT -p udp -m state --state NEW --dport 53 -j ACCEPT
iptables -A INPUT -p tcp -m state --state NEW --dport 53 -j ACCEPT
service iptables save
service iptables restart
But It not works, then I try Opening DNS from following:
system-config-firewall-tui
And it works.
What's the relation between iptables and firewall?
After looking into the MySQL error file, I found an error regarding disk space. Now I think its the reason for MySQL crashing:
[root@xxxx ~]# cat /var/lib/mysql/xxxx.com.err
120528 17:45:05 [Note] Crash recovery finished.
/usr/sbin/mysqld: Disk is full writing './mysql-bin.~rec~' (Errcode: 28). Waiting for someone to free space... (Expect up to 60 secs delay for server to continue after freeing disk space)
Could this be the reason behind the crashes?
I get too connection error on my site from today...
PDOException: SQLSTATE[08004] [1040] Too many connections in lock_may_be_available() (line 167 of /home/sevensibir/domains/7sib.ir/public_html/includes/lock.inc).
I think its an attack, because when I run mysqltuner.pl
I get:
[!!] Highest connection usage: 100% (152/151)
but I know I have about 500 visit per day. how can I found if this is an attack. and how can I stop it?
I have an LDAP server runs on:
ldap://129.168.0.117:389
or
ldap://roshd.org:389
where roshd.org = 129.168.0.117
I have this configuration in config.php in phpldapadmin:
$servers = new Datastore();
$servers->newServer('ldap_pla');
$servers->setValue('server','name','My LDAP Server');
$servers->setValue('server','host','192.168.0.117');
$servers->setValue('server','port',389);
$servers->setValue('login','auth_type','session');
$servers->setValue('login','bind_id','cn=Manager,dc=roshd,dc=org');
$servers->setValue('login','bind_pass','secret');
$servers->setValue('auto_number','search_base','ou=People,dc=roshd,dc=org');
in my sldap.conf:
...
database bdb
directory /usr/local/var/openldap-data
suffix "dc=roshd,dc=org"
rootdn "cn=Manager,dc=roshd,dc=org"
rootpw secret
...
but when I attemp to login in phpldapadmin, I got this error. is there any idea?
Unable to connect to LDAP server My LDAP Server
Error: Can't contact LDAP server (-1) for user
error Failed to Authenticate to server
Invalid Username or Password.
I've the following configuration:
SSLEngine on
SSLCertificateFile /etc/httpd/conf/login.domain.com.crt
SSLCertificateKeyFile /etc/httpd/conf/login.domain.com.key
SSLCipherSuite ALL:-ADH:+HIGH:+MEDIUM:-LOW:-SSLv2:-EXP
but I don't know how to generate .crt
and .key
files.
I have Tomcat and Apache web server. by MOD_JK I configure Apache to send request for http://127.0.0.1/cas
to Tomcat.
http://127.0.0.1/cas
works correctly and Tomcat response to it.
now I want this https://127.0.0.1/cas
to work, (SSL).
I search it and found that I need Virtualhost on Apache that send requests to Tomcat, my question is how can I create a SSL Virtualhost?
and should I remove all configuration that I create before this for http://127.0.0.1/cas
?