Red Hat :: Denyhosts Wont Start CentOS 5.5?

Aug 12, 2010

I did a goole search and found several hits telling me about this error I am getting

service denyhosts start
starting DenyHosts: /usr/bin/env python2.4 /usr/bin/denyhosts.py --daemon --config=/etc/denyhosts.conf

[code]....

View 11 Replies


ADVERTISEMENT

CentOS 5 :: Getting Yum To Work With Repo For Fail2ban / Denyhosts?

Sep 9, 2010

I am having issues getting yum to work with the repos for fail2ban and denyhosts. I followed the centos link on installing/cfg repos. However every time i run yum install fail2ban or denyhosts it does not find the software. I read in several google searches that I should be able to install it using yum. Is that info wrong? These are the link I was s reading too from centos. [URL]. I know I can download the rpm or a tar file but I would like to keep it in sync with yum if possible. May be I have the wrong repo? CentOSPlus is enabled also.

View 3 Replies View Related

Security :: Denyhosts Kicked Out Of Server?

Aug 31, 2010

So I installed denyhosts on my system and I ssh to it fine. Then all of a sudden I got an email saying my ip was added to the /etc/hosts.deny file.I have no clue why. I did not fail the login. So I had an open session and put it in the /etc/hosts.allow file and tried to ssh back in no problem.Then I logged out and all of a sudden I got the email saying my ip was added to the hosts.deny again. Now I am kicked out of the system..

I am guessing I cannot get back in until I get to the console and remove it. I can power on and off the system remotely but I enabled the chkconfig denyhosts on option so it starts on reboot. No remote console is setup.So it looks like I am hozed until I can get to the console, bummer as I was trying to set up a spacewalk server on it. I cannot get to the console for a few days so if anyone has ideas how I can get back in let me know. But denyhosts seems to be working as designed.

This was a default install I did not configure anything funky. Just changed the email to root and started it.I thought about changing my client IP but that wont work as I only have ssh passed on my router to that IP so if I change the client IP I wont get into my routing machine.I think i answered my own question but just thought I would askI guess my real question is why would denyhosts block my IP when the login did not fail and how do i configure it so this does not happen again.

View 8 Replies View Related

Software :: Denyhosts Blocking Router IP?

Jul 9, 2010

I've been using the denyhosts software for about 8 months to block IPs that are trying to connect to my network that shouldn't be. I'm having trouble with it today for the first time and I can't track down the issue.It is installed on the main server which is the outside IP for the network as well. This should allow me to SSH to the hostname/network IP, or the NAT IP as well. It worked fine up until this morning when I started to work on an ftp server, as far as I know I didn't make any changes that should cause problems.

hosts.deny starts with no 192.x.x.x addresses in it. In allowed-hosts for denyhosts I have entered 192.168.1.1 so that the router should never get blocked.I can SSH to the hostname perfectly fine, connection doesn't drop or anything.If I SSH to the NAT address the connection hangs there while the IP address gets added to hosts.denyI can confirm 100% that I was able to SSH to my NAT from within the network with no problem, now it seems to throw the router IP into hosts.deny if I try to connect from within the network using the NAT.Here is the error that I get in /var/log/securesshd[9272]:d not receive identification string from 192.168.1.1I did update my system recently which may have changed the way some files behave, I will try updating Denyhosts as well. It looked like the address being blocked was an IPv6 since it was showing as:sshd[9201]: refused connect from ::ffff:192.168.1.1 (::ffff:192.168.1.1)

View 1 Replies View Related

OpenSUSE :: DenyHosts In 11.3x64b (server Version - No Gui)

Jan 29, 2011

how to install denyhosts on opensuse 11.3 having issues with to install python 2.5....

View 5 Replies View Related

OpenSUSE Network :: Get Denyhosts Working On Suse 10.1?

Jun 2, 2010

I am with a customer who has Suse 10.1 in production environment and connected to the internet.For now I want to install denyhosts on this machine since I see lots of failed login attempts outside office hours.However when I do: python setup.py install I get the message File "setup.py", line 4, in ?from distutils.core import setupmportError: No module named distutils.coreI don't know how to solve this. I have added a repository to install distutils.core but could not find it

View 1 Replies View Related

Ubuntu Installation :: Installing DenyHosts On 9.10 Server?

Mar 8, 2010

i am trying to install denyhost on ubuntu 9.10 server, to make it run as daemon.I am following steps from this linkI have downloaded version 2.5 of denyhosts, but i cannot find thi sfile/usr/bin/denyhosts.py

View 1 Replies View Related

Ubuntu Security :: Denyhosts Keeps Blocking External Ip

Oct 31, 2010

I've been using Deny Hosts for a couple of years now without trouble. My router forwards SSH calls to host tock on my LAN. My router's internet hostname is michigan. I keep an svn repository on tock and access it through michigan. In this way I can update my repository when I'm at home or away.Just today, however, whenever I try any ssh to michigan, I get a closed connection and find michigan in my hosts.deny file. I delete it, make a successful connection, but then on my next attempt - there I am in the hosts.deny file again.

I've worked around it by putting michigan into my hosts.allow file, but I would really like to know what's going on. I've configured Hosts Deny to lock out IPs after three failed attempts, but it is locking out michigan after one successful connection.

View 3 Replies View Related

Software :: Denyhosts Won't Automatically Startup (Fedora 12)

Jul 12, 2010

I have recently installed denyhosts to help guard against bruteforce ssh attacks on my Fedora 12 server from the Fedora repositories. If I manually start denyhosts (as root) using: /usr/sbin/denyhosts.py --daemon

it works fine. The denyhosts log file is created and indeed the /etc/hosts.deny file is updated. However if I make attempts to start denyhosts automatically upon the server restart denyhost fails with a permission denied error for /etc/hosts.deny (error 13) I have tried using chkconfig to enable /etc/init.d/denyhosts on run levels 3, 4 and 5. I have also tried including the line:

/usr/sbin/denyhosts.py --daemon

in /etc/rc.local Both of these attepts report the same error. anyway to automatically start denyhosts or know why this problem might be happening?

View 1 Replies View Related

General :: Denyhosts Keeps Adding IP Address To Hosts.deny?

Aug 10, 2010

I have setup Denyhosts to run on my server, and have been using it succesfully for the last few weeks, to allow me to ssh into my server from my home dev machine.

This morning, I accidentally typed my password incorrectly three times - and ended up being locked out of the system (tghat was ok, because that was what was supposed to happen). I logged into the server via another way and took the following actions (in the order given)

/etc/init.d/ssh stop
/etc/init.d/denyhosts stop
removed my IP address from /etc/hosts.deny
/etc/init.d/ssh start

[Code].....

View 1 Replies View Related

Ubuntu Servers :: Install And Configure Denyhosts On 10.04 Server?

May 3, 2010

I've been running denyhosts on Ubuntu 8.04 servers without any problems using the how-to found hereow that I have a new Ubuntu 10.04 server running, I thought I would just install denyhosts from the Ubuntu repository not realizing that the paths and filenames of the install are different from the how-to I am used to using.I figured out what the name of the new denyhosts config file is (at least new to me) and the new location, but I'm not sure about the "allowed-hosts" config file.Does anybody know where the new path for this file is and whether the filename is still the same?

View 2 Replies View Related

CentOS 5 Server :: DHCPD Doesn't Start - How To Make It Start

Sep 2, 2010

I'm configuring a new Centos 5.5 server in replacement of an old W2K server.The topology of our network is simple : one file/dhcp/dns relay server and workstations (PC's and some MAC's) plus network printers and scanners.All the workstations have dynamic IP addresses (easier because a lot of 'dynamic' changes : new persons with their own laptop, ...) and the server and printers/scanners have fixed IP addresses.I edited the dhcpd.conf (see here underneath), I have the file dhcpd.leases but it doesn't start !

DHCPD.CONF
ddns-update-style interim;
ignore client-updates;

[code].....

View 3 Replies View Related

Ubuntu Security :: Denyhosts Working \ First Time Adding Lots Of Ips To The Hosts.deny?

May 16, 2011

I just set up denyhosts and it worked properly the first time adding lots of ips to the hosts.deny.I then set it to run every 12 hours noon and midnight.I wanted to see if ran properly and I got all this.Does it look like its working?

Code:
May 15 12:00:01 hyrule CRON[14286]: (root) CMD (python /usr/share/denyhosts/denyhosts_ctl.py -c /usr/share/denyhosts/denyhosts.cfg )

[code]...

View 4 Replies View Related

CentOS 5 Server :: VsFTP Iptables Wont Start Get Error - CentOS 5.5

May 11, 2011

i am currently trying to install vsFTP onto my new linux server and btw i just started using linux today this is my first time using linux so i got the ftp installed good it got downloaded and everything then i went to open a port for my server for vsFTP i used this comand to open it "-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 21 -j ACCEPT" then i closed it by pressing ESC then :wq! and it brought me back to my comand line again so now when i try to start the ip table thing with the comand "service iptables start" then when i execute that comand putty respondes with this "Applying iptables firewall rules: iptables-restore: line 1 failed [FAILED]"

The install Guide im using: [URL]

View 5 Replies View Related

CentOS 5 :: Error 'noapic' When Start Centos?

Apr 8, 2009

i restore Centos from backup file,after i have finished,i start centos, it can't start and repost error: IO-APIC + timer doesn't work! Boot with apic=debug and send a report. Then try booting with the 'noapic' option

View 11 Replies View Related

CentOS 5 :: One Centos 5.5 But 2 Different Start-up GUIs?

Jun 1, 2010

I move to Centos in October 2009 from Windoze and machines with 36 bit words. I now have 3 servers with Centos 5.5, 5.5. and 5.2 plus a laptop with 5.4 and am currently trying to put Centos on a 10.2" Netbook running Win XP.

On two 5.5 servers I notice a different graphical start-up process. One starts, from the text announcement "Centos 5.5 Final" with a blue Centos screen. If one displays the text it is shown with a thick blue Centos coloured border. The other starts up with text and stays in text mode until it has displayed the text log-in prompt and then after a few seconds presents the Centos GUI log-in screen.

My question is how can I make both servers, both ostensibly running the identical operating system, behave identically ?

View 2 Replies View Related

CentOS 5 :: GNU GRUB, CentOS Won't Start Up?

Apr 28, 2011

I installed CentOS 5.6 and there was an error, so once it finished, I reburned the cds and installed it again. Now When I start up the cpu, GNU Grub comes up. Version 0.97 (640K lower/2096864K upper memory). How do I get the OS to start up. When i type in boot, I get error 8: Kernel must be loaded before booting".[Moderator edit: Fixed tyop in Subject.]

View 10 Replies View Related

CentOS 5 Server :: Named Won't Start \ Named Stop But Does Not Start Again?

Oct 28, 2009

i've made a big update of almost 300Mb.I'had a working DNS server.Now, when i boot the box, named works and it resolves all the clients.If i make any change (enter a new client for example) and of course i restart named (service named restart), named stop but does not start again !!!In order to get a working named, i 'm obliged to reboot the box?

View 6 Replies View Related

CentOS 5 Networking :: Getting Start W/ Centos Networking \ Ssh Commands But Not Setting Up A System And Stuff?

Feb 19, 2010

I just started setting up a linux box in the office...I have some experience with ssh commands but not setting up a linux system and stuff.The box is connected to our network but I have no clue how to make windows & osx talk with it. How can I go by doing that and also setting up an apache server to be able to connect through network. Right now I have apache/linux/mysql running it works when i go to localhost, but I would also like to let all the computers in office to access it. I would guess that will deal with virtual host which I know how to setup. I just need to setup an IP.

View 19 Replies View Related

CentOS 5 :: CentOS 5.5 Start Error On Xen DomU "Installation Not Started" ?

Dec 22, 2010

I installed CentOS 5.5 x86_64 on server as xen dom0. When i try to install CentOS 5.5 x86_64 as guest (hardware virtualization) i see "Kernel panic"...Installation not started: i see install cd's boot menu, press Enter... that's all.

Dom0 kernel: 2.6.18-194.26.1.el5xen, xen 3.0.3
Only standart installation, repo's and update's...

Code: 8b 72 40 48 8d 4c 24 1c 48 8b 7a 20 ba c4 01 00 00 e8 5f 77
RIP [<ffffffff8008192f>] cpuid4_cache_lookup+0x256/0x356
RSP <ffff81010fc75d60>[code]....

View 2 Replies View Related

CentOS 5 Server :: Reboot The Server With Centos 5.5 The SMB Deamon Doesn't Start?

Feb 22, 2011

when I reboot the server with centos 5.5 the SMB deamon doesn't start?

View 2 Replies View Related

Server :: CentOS - How To Start GUI While SSH

Feb 5, 2011

How to get GUI while ssh to a server? This is what I have so far.
Code:
yum groupinstall "X Window System" "GNOME Desktop Environment" on server
How to start the gui?

View 3 Replies View Related

CentOS 5 :: Installation Does Not Start?

Aug 31, 2009

I downloaded centos 5.3 from [URL[ and burnt a DVD. When I insert dvd into drive and try to boot BIOS from dvd (optical drive) it does not recognize the dvd/does not start the installation process.

I have CentOS-5.3-x86_64-bin-DVD.torrent file in dvd.

View 3 Replies View Related

CentOS 5 :: X Server Won't Start?

Nov 11, 2009

I'm running CentOS 5.4. I rebooted the machine for the first time in at least a month or so. I reboot into runlevel 3 (no X11). Things seem fine. But when I login and try to start X with "startx", the screen goes blank. X doesn't appear to start. In fact, the only thing I can do is reboot the machine and start over. This is really annoying.

View 1 Replies View Related

CentOS 5 :: Start Cup-lpd Without Rebooting?

Dec 9, 2009

I just installed a CentOS 5.4 x 64 on a customer's server last Saturday. I use lpr/lpd to print through this server to our network printers.

yum install cups-lpd
Edit /etc/xinetd.d/cups-lpd: disable = no

I did several restarts on /etc/rc.d/init.d/cups. I even did a "kill -SIGHUP 0" and a "kill -SIGHUP pid_xinetd". No joy. I finally gave up and rebooted: joy. Shades of Windows.

What did I miss? How do I start cup-lpd after yum without rebooting.

View 2 Replies View Related

CentOS 5 :: X Won't Start Desktop?

Apr 9, 2010

I have a CentOS 5 machine here, running Gnome. It has the proprietary ati screen driver, driving twin monitors in Xinerama. I have it set to auto-login as me. It has worked fine for ages.

This morning when I booted it up, instead of getting my usual desktop, I got 2 completely black screens, with an X-shaped mouse cursor. The cursor will move between the two screens OK, so I guess X has started, but I have no display manager. Or something. I have never really understood how X starts up, so I am now at a total loss as to how to find out what is wrong, and fix it. I can get to a login prompt by pressing Ctrl-Alt-F2, but I'm not sure which files to mess with when I get there. I have studied the X log in /var/log/messages, but there are no errors in there.

View 7 Replies View Related

CentOS 5 :: Httpd Will Not Start

Sep 1, 2010

I am trying to set up my httpd on CentOs 5.5 I did some searches and found this link. [URL]

rpm -qa |grep -i httpd
httpd-2.2.3-43.el5.centos.3

I created the ssl files as they described but still it wont start.

ervice httpd start
Starting httpd: [Wed Sep 01 09:25:57 2010] [warn] NameVirtualHost *:80 has no VirtualHosts
[FAILED]
cat ssl_error_log

[Code].....

View 4 Replies View Related

5 :: How To Start Up CentOS Without GRUB

Jan 28, 2011

I'm a freelance now. so i installed CentOS in a portable hard disk for the convenient i move to new place and start my job.
But i found the grub of CentOS is installed on ...uhm... my Computer(?)...actually on my first Hard Disk(start up windows with MBR). and maybe the data of grub was installed on my portable hd. so i can't start CentOS on another computer and i even can't start windows without portable device...

so... is there any way to start up this OS without GRUB? or where should i pay more attention to when setting up to let CentOS could be moveable?

View 3 Replies View Related

CentOS 5 :: VM Does Not Start After Upgrade To 5.6

Aug 16, 2011

I have a machine running Centos and hosting 3 KVM VM also running Centos. After applying upgrade C 5.6 to host and to VMs one of my machines does not start with nwfilter option enabled in it's domain definition. Only following error is visible on console:

marcinw$ sudo virsh start av
error: Failed to start domain av
error: internal error Could not get access to ACL tech driver 'ebiptables'

Before upgrade everything worked as expected. Packages iptables ( enabled ) and ebtables ( not enabled ) are installed on host. SELinux is disabled.

View 1 Replies View Related

General :: Unable To Start X In Centos - VPS - SSH

Oct 18, 2010

# startx
xauth: creating new authority file /root/.serverauth.18174
X Window System Version 7.1.1
Release Date: 12 May 2006
X Protocol Version 11, Revision 0, Release 7.1.1

[Code]....

Fatal server error: xf86OpenConsole: Cannot open /dev/tty0 (No such file or directory)

XIO: fatal IO error 104 (Connection reset by peer) on X server ":0.0" after 0 requests (0 known processed) with 0 events remaining. Couldnt get a file descriptor referring to the console

i have used these commands also

mknod /dev/tty0 c 4 0
chmod 660 /dev/tty0

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved