Ubuntu :: Getting Error While Installing Deny Host On Desktop
Aug 25, 2010
I have deny host installed and working on my laptop, running Lucid. On attempting to install it on my desktop, also running Lucid I get the following message when trying to start the service
graham@graham-desktop:~$ sudo service denyhosts start
[sudo] password for graham:
starting DenyHosts: /usr/bin/denyhosts.py --daemon --config=/usr/share/denyhosts/denyhosts.cfg
sh: /usr/bin/denyhosts.py: not found
Its very strange as on the laptop denyhosts.py is not used.
I have an Asterisk on an externally hosted vServer with Lenny. In order to further protect the SSH access I intended to change the Port number 22 to something like 55555. For this I changed the /etc/ssh/sshd_config file and restarted ssh. This caused unfortunately the following problems:
(1) The first login works but DenyHost writes now the IP in its list so that the second login with the same IP is blocked.
(2) With RESET_ON_SUCCESS = yes several logins were possible with the same IP, but later it also was blocked for some still unknown reasons.
(3) Files can be uploaded for being edited, but they can't always be saved. When they can't be saved the next login with this IP is blocked. It thus looks like the blocking can occur while being connected. When the files can't be saved it is however still possible to copy files from the computer to the vServer.
I add below the entries in the auth.log from a logout and a login. It shows further how suddenly the attempts to save files were blocked. After this session the IP used for it was blocked. I don't know where the message "Unable to open env file: /etc/default/locale" comes from. If I remember right I had these messages already before. I don't know how much that is really important.
I've just installed ubuntu and am trying to install xubuntu desktop. when I run the command: aptitude install xubuntu-desktop...here's what I get:The following new packages will be installed:grub-efi{a}0 packages upgraded, 1 newly installed, 0 to remove and 1 will not be upgraded.Need to get OB/818KB of archives. After unpacking 2269 KB will be used.Do you want to continue ? Yetc etc.
dpkg: error processing /var/cache/apt/archives/grub_ef1_-1ubuntu_i386.deb trying to overwrite '/usr/bin/grub-mkimage' which is also in package grub-pc dpkg-deb subprocess paste killed by signal (Broken pipe)
I downloaded and installed the Ubuntu desktop edition and when I boot up I have the options to boot either Windows 7, or Ubuntu (so far so good), however, when I select Ubuntu I get a message saying that the following file is corrupt:
File: ubuntuwinbootwubildr.mbr
status: 0xc000000f
Info: The selected entry could not be loaded because the application is missing or corrupt.
Any thoughts on this? Would just re-installing it fix the problem?
I am trying to install OpenSUSE 11.3 on a Dell T3500 Desktop machine. The configuration (related to the problem) of the machine is as follows:
Intel Xeon CPU W3520, 4GB RAM Intel 82801 SATA RAID Controller Samsung HD161GJ 160 GB SATA, Optiarc DVD+-RW AD-7230S
When I try to boot from the OpenSUSE 11.3 x86_64 DVD, I get a curses based screen which says, "Make sure that CD number 1 is in your drive." (with OK and Back buttons). On pressing Back and trying to install again, I get an angry red dialog, which declares, "No repository found."
I tried connecting an external USB DVD drive and then booting from it, then this problem did not come and the install went to start the GUI. But then it could not find the (rather any) hard disk!
We have a set of these identical machines and the problem is fully repeatable on all of them (I tried downloading and burning the DVD image again, that didn't help). The same machines have OpenSUSE 11.1 and 11.2 installed on them and there was no such problem installing those.
Many of mails sent from my mail server that are in Queue;The main reason is deffered by domains like yahoo,aol,etc.but there is one more error that i keep getting and that is Host Unknown,Below is an example from mail log,The catch is,test mail sent on the same email id sent from my personal mail from the same server i.e. url was deliveredHowever,another mail containing client information sent from customercare@mycompanysdomain ended up in queue.
There are more examples of the same,around 20 domain have the same problem.
The short form of my question: Can I log into a remote host from a local host (on the same LAN) and get the full GUI desktop environment of the remote host?
Long form of question: I worked for years on Solaris hosts with the CDE environment. Our server hosts were in another physical location. My desktop machine was another Sun Solaris host which also ran CDE. At the CDE login screen, I could click a dropdown menu and tell it to login to one of the server hosts at the remote location. In my login script on the remote machine, I had "export DISPLAY=localhostname:0.0", where localhostname was the hostname of my desktop host. There was also some kind of security command that had to be in the login script to allow the windows to be sent to another host, but unfortunately, I cannot remember what that command is.
What I want to do is configure another host on my LAN, but without a mouse, keyboard, and display monitor. I would like to run the GUI desktop of the new host on my current main host, just like I did at work. Is this possible in Ubuntu with Gnome?
I am planning to make my own server as a web host on the Internet not at the local area with the desktop 10.10 desktop edition with the domain name you know like the hosting providers hostgator or bluehost.
installing Virtual Box on Fedora 12 (host O/S)? I need to install Fedora 12 then Virtual Box, then any other OSes as VMs? A list of available VMs under Fedora 12 / Virtual Box would be nice as well with any helpful hints on installing these VMs.
Anyone have any guides to installing Virtual Box on Fedora 12 (host O/S)? I need to install Fedora 12 then Virtual Box, then any other OSes as VMs? A list of available VMs under Fedora 12 / Virtual Box would be nice as well with any helpful hints on installing these VMs.
I'm trying to setup my Ubuntu 9.10 laptop to host a small website that I can practice and learn stuff with and I'm a little stuck at the minute.
I have got Apache2 and the LAMP stack installed okay, along with phpMyAdmin and can give my external IP to anyone with the http:// and anyone can view my website that way but what I want to do is have my IP resolve into a domain name like ooloo-website.net but I don't know how to do this.
Is there any way that I can do this like register my IP to a free DNS and domain website without buying a domain or using one of those free ones like ooloo.webhost.net or do I need to host everything myself like DNS and the domain? Can I even do all of this myself?
Is it possible to use ubuntu 10.04 lts desktop version as a web host for a production site?. If it is possible, can anyone give me links on how to do it?
If I have a hard-disk with Ubuntu fully installed on it and I want to - all of a sudden - use Windows XP, is it mandatory that I firstly format the hard-disk first? So far, I have used two versions of Windows XP; one of them is from a few years before the other. Both copies of Windows XP when in start-up from booting from CD are causing errors. One of them is a BSOD error (0x0000007B) and the next Windows CD is stopping and giving me an error with setupdd.sys (error code 4). Is it required that the hard-disk is formatted before you even put a Windows boot CD in?
I have access to a unmanaged dedicated server on the net. I am considering loading Ubuntu Server to this for web/mail/ftp serving. If I install Ubuntu Desktop to my local machine is it possible for me to administer the server using Ubuntu Desktop (using the GUI)? I connect to the net over ADSL. Any guides/advice for setting up Ubuntu as a web/mail/ftp with a key focus on keeping to secure? I know how to install LAMP but as I have root I need to learn a little more than I did when I was on a shared host.
I have succeeded in using Remote Desktop Viewer to make a VNC connection to a remote WAN computer and it was quick enough to manipulate the remote computer in real time.I found the host name by getting the remote target computer to put the following url into a browser - http://www.showmyip.com/ - It returned the address for the router which I put into the Host: text entry box in the Remote Desktop Viewer window. E.g. for my computer at the time of submitting my enquiry the address was 'host81-129-54-226.range81-129.btcentralplus.com'.The remote router that I connected to needed to have the port 5900 forwarded to the remote target computer.I now want to progress to running VNC through a SSH tunnel for additional security. In the Remote Desktop Viewer there is a configuration line
'use host' <text box to enter host name> 'as a SSH tunnel'.What is the correct syntax to enter in the text box? It would help my understanding if you used the example address above as a basis for a response.Many unexpected connection attempts reported on my router, if that was you, thank you for the novel way in responding to the question and providing the syntax.The 'bible' on syntax appears to be found here:- http://unixhelp.ed.ac.uk/CGI/man-cgi?ssh+1
FC13/KDE How do I make a Guest img on hard drive and install Guest on a FC13 host? Is there a set of instruction for doing it on a FC13 host? I went to this website for the FC13 KVM instructions, but near the bottom of page 1 he starts off with making a Guest, Debian Lenny, on ubuntu. Chapter 4 Creating A Debian Lenny Guest (Image-Based).
He has got me so confused at this point on whether he is installing a Fedora or Ubuntu Guest. On that 1st page all steps for making a Host is completed on my Host computer. [URL]. I have got the Windows XP disk in the CD ROM ready to go. If you do a Google search on KVM. Any prior instructions just does not work for Fedora 13
Are there programs for this? Really really simple page layouts that you can edit and host from a graphical desktop that has your web browsers and Pidgen and VLC media player and everything running on it at the same time?
My boss is asking me if there is any way to run a full version of Ubuntu from a flash drive without installing virtualbox/vmware on a windows host. I've been searching pendrivelinux.com and really haven't found anything. Can someone point me in the right direction?
I'm running Fedora 15 with Gnome 3. I installed Gnome-Do using 'yum install gnome-do'. I opened it from the Terminal by typing 'gnome-do' but I keep getting an error message that says
Could not load desktop item: libgnome-desktop-2.so.17
Gnome-Do opens but it doesn't display any application I search for and when I try opening the Gnome-Do preferences, it quits.
I installed gnome-desktop-2.32.0-8.fc16.i686.rpm from here: [url] and then installed Gnome-Do. Everything works fine now.
sudo still works, but every time I run it, it says it's unable to resolve the host. I tried to change stuff in visudo, but there wasn't anything about the host as far as I could tell.
I am using fedora 14..i wanna create webservice in fedora 14...i am able to create sevice in server machine...but the client not able to get service from the server.it shows an error an i/o error has occured.no route to host.....we checked the ip address and port...i am able to ping the server...its connecting ...but it shows this error...?
When I open Konqueror, on Fedora 15 KDE, it opens to the default Start Page just fine. When I try to visit any other website, it gives me an Unknown Host Error. The documentation I found for KDE just said that if I get that error, it means that either the website does not exist or I am not connected to the internet, but I'm quite sure I'm connected to the internet.
I am using Fedora-10 on 64-bit quad-core xeon processors. I ran ssh-keygen and established passwordless connection between host-client and created a host file named lamhosts as follows:
172.16.122.11 cpu=4 172.16.122.21 cpu=4
where 11 is the host server and 21 is one of the nodes. When I executed 'lamboot -v lamhosts', it failed to boot nodes ssi:boot:base:linear: Failed to boot n1 (172.16.122.21). By googling, I found the error but couldn't yet find a solution.
I have a strange problem with using curl function in php on slackware machines. So far I tested this on 2 PCs. I din't test it on any other distributions, so I don't know if it's only slackware problem.
Problem is that I can't use php curl in normal way. It can be tested wit simple code:
Code: $ch = curl_init("url"); $content = curl_exec($ch); if (curl_error($ch)) { echo(curl_error($ch) . "<br>"); } echo($content); When I'm opening this php script in browser I'm getting error message:
Code: Couldn't resolve host 'google.lv' but I can use curl command in terminal, also it works when I run this php script in terminal like:
Code: php ./curl_test.php So problem is not in curl or php itself, but in apache, because this happens only when this script is running in apache.
Searching google a lot, I got to conclusion that apache can't read /etc/resolve.conf file during startup. Strange thing is that it happens only when httpd starts during system startup, but if I'm stopping httpd and starting it again manually, it works as it should until I'll reboot my PC. Restarting httpd also do not work, I need to do start -> stop.
I think that apache reads /etc/resolve.conf only when it starting up and as I have DHCP, maybe network is still not ready at the moment of httpd startup.
I didn't try to configure php as php-cgi instead of apache module, I think then it would work normally because each php script would be separate process and it would read dns information each time, so the same like starting php script in terminal with command:
Code: php ./curl_test.php I think there are some ways to workaround it, e.g. delay somehow start of httpd during system startup, or something like that, but I want to find reason of this problem and make it work without any workaround.
I installed ntop on our server, after installing it, i ran ntop as a daemon. shortly after we lost the ability to ssh into the server.tried restarting ssh, but it didn't work, so had to restart the entire server.Where should we look to find why ssh suddenly stopped?
the error ssh gave when we try to connect was like: ssh: no route to host what log files should i look at and what should i look for to find the cause of the error?
When I run sudo apt-get update I get the following message at the bottom:
[Code]....
I have tried numerous ways to add the keys i.e: gpg --keyserver keyserver.ubuntu.com --recv-keys EF4186FE247510BE && gpg --export --armor EF4186FE247510BE | sudo apt-key add - However, I then get the following message: