| View previous topic :: View next topic   | 
	
	
	
		| Author | 
		Message | 
	
	
		baboo Senior Member
 
  Joined: 04 Sep 2007 Posts: 676
 
  | 
		
			
				 Posted: Sun Mar 22, 2009 5:21 am    Post subject: lame mistake | 
				     | 
			 
			
				
  | 
			 
			
				I remotely tried to login to server with ssh but forgot password and now locked out. I searched for know_hosts but can not find it. How do I remove the lock?   
 
 
Also, I have a couple of issues. Here are the error messages:
 
 
Mar 21 19:37:43 ns1 named[3871]: client 204.11.51.59#32803: query (cache) './NS/IN' denied
 
Mar 21 19:37:44 ns1 last message repeated 2 times
 
Mar 21 19:47:02 ns1 named[3871]: network unreachable resolving 'current.cvd.clamav.net/TXT/IN': 2001:1418:13:1::1#53
 
Mar 21 19:49:59 ns1 named[3871]: client 208.78.169.236#32803: query (cache) './NS/IN' denied
 
Mar 21 19:50:00 ns1 last message repeated 2 times
 
Mar 21 19:56:15 ns1 named[3871]: network unreachable resolving 'TINNIE.ARIN.NET/AAAA/IN': 2001:440:2000:1::21#53
 
Mar 21 19:56:15 ns1 named[3871]: network unreachable resolving 'moevax.edu.tw/A/IN': 2001:500:3::42#53
 
Mar 21 19:56:15 ns1 named[3871]: network unreachable resolving 'moevax.edu.tw/AAAA/IN': 2001:500:3::42#53
 
Mar 21 19:56:16 ns1 named[3871]: lame server resolving 'rns1.twnic.net' (in 'twnic.NET'?): 192.83.166.11#53
 
Mar  19:56:16 ns1 named[3871]: lame server resolving 'rns2.twnic.net' (in 'twnic.NET'?): 192.83.166.11#53
 
Mar 21 19:56:16 ns1 named[3871]: lame server resolving 'rns3.twnic.net' (in 'twnic.NET'?): 192.83.166.11#53
 
Mar 21 19:56:16 ns1 named[3871]: lame server resolving 'ns.twnic.net' (in 'twnic.NET'?): 140.111.1.2#53
 
 
 
Also, I cannot get mail to receive. Itos as if something is blocking it. Any thoughts on how to trouble shoot it/
 
 
thanks | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		baboo Senior Member
 
  Joined: 04 Sep 2007 Posts: 676
 
  | 
		
			
				 Posted: Sun Mar 22, 2009 5:26 am    Post subject: here's email log | 
				     | 
			 
			
				
  | 
			 
			
				Mar 21 20:05:35 ns1 postfix/trivial-rewrite[10793]: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
 
Mar 21 20:05:35 ns1 postfix/smtpd[10790]: NOQUEUE: reject: RCPT from wm52.inbox.com[64.135.83.52]: 450 4.3.2 <dweebman@cliqn.com>: Recipient addres | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		gerasimos_h Site Admin
 
  Joined: 09 Aug 2007 Posts: 1757 Location: Greece
  | 
		
			
				 Posted: Sun Mar 22, 2009 9:54 am    Post subject:  | 
				     | 
			 
			
				
  | 
			 
			
				It seems fail2ban lock you out.
 
You need to restart the server to clear the iptables rules.
 
You can also change permanent ban to seconds in /etc/fail2ban/jail.conf.
 
Also if your ip you use to login is static you can add it to ignore it, even if its failing to login.
 
 
gerasimos_h _________________ Superb! Mini Server Project Manager
 
http://sms.it-ccs.com | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		baboo Senior Member
 
  Joined: 04 Sep 2007 Posts: 676
 
  | 
		
			
				 Posted: Sun Mar 22, 2009 3:45 pm    Post subject:  | 
				     | 
			 
			
				
  | 
			 
			
				thanks for the help. Very tired and frustrated right now.
 
 
It seems as if something is blocking inbound. I did not start sms firewall, but does it start on boot? 
 
 
Could blacklist be stopping inbound?
 
 
I've had all this working under 1.4.1, so I am really frustrated to why I can't get it to work under 1.4.2. 
 
 
any ideas? | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		gerasimos_h Site Admin
 
  Joined: 09 Aug 2007 Posts: 1757 Location: Greece
  | 
		
			
				 Posted: Sun Mar 22, 2009 4:06 pm    Post subject:  | 
				     | 
			 
			
				
  | 
			 
			
				Have you reboot the server?
 
If you trying to test from your IP Fail2ban adds a drop all anywhere from your IP, so it's useless to try anything unless you reboot the server.
 
 
gerasimos_h _________________ Superb! Mini Server Project Manager
 
http://sms.it-ccs.com | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		baboo Senior Member
 
  Joined: 04 Sep 2007 Posts: 676
 
  | 
		
			
				 Posted: Sun Mar 22, 2009 6:22 pm    Post subject:  | 
				     | 
			 
			
				
  | 
			 
			
				| thanks for the help. I am in the process of fixing things now. | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		 |