Ubuntu :: Reinstall The FTP Servers They Won't Start Because The Config Files Are Gone?

Mar 31, 2010

I built out a headless VMWare v2.0.2 Server. I managed to work all that out but now I'm having some trouble getting my virtual machines on the server. I installed both proftpd and vsftpd but neither server lets me log in. 'Login Failed' is always returned (using the only account on the machine - created during the install).

So I decided to install samba, but samba chokes on large files. I tried over and over again to copy a 10GB VMDK file over samba and it gets to 5% or so and suddenly tells me there is a network problem and dies (which there is no network problem as these machines are all on the same subnet plugged into the same gigabit switch).

So now I'm back to FTP. Unfortunately when I ran apt-get remove proftpd, it didn't remove any of the config files (/etc/proftpd/*) so I manually deleted them. Now when I try to reinstall the FTP servers they won't start because the config files are gone. What's the apt-get syntax to completely uninstall these servers as if they had never been installed so I can start clean? I really don't want to have to do a complete system re-install just to fix 300KB FTP servers.

View 2 Replies


Ubuntu Installation :: Reinstall Apache2 - Recreating Config Files

May 11, 2010

I've deleted /etc/apache2 and did run:
sudo apt-get -o DPkg::Options::="--force-confmiss" --reinstall install apache2.2-common
to get the default config back.

But starting the server via:
sudo /etc/init.d/apache2
results in:

Syntax error on line 161 of /etc/apache2/apache2.conf:
Invalid command 'Order', perhaps misspelled or defined by a module not included in the server configuration
line 160-163 look like this:

<Files ~ "^.ht">
Order Allow,Deny # line in question
Deny from all

The funny thing is that the exact same definition is in a debian lenny server config on another server. So why did this install a not working config?

I just removed apache2 via:
sudo aptitude remove apache2
sudo rm -r /etc/apache2
and reinstalled it via:
sudo aptitude install apache2
which also did not fix the config bug?

For testing I installed apache2 on another ubuntu 9.10 and did just copy the folder /etc/apache2 to my local installation - this fixed the problem. Still, why cant I reinstall apache2 with a working config?

View 8 Replies View Related

Ubuntu Servers :: Config - Change / Add From The Default OpenSSH Config Files To Get Tunnelling To Work?

Jul 10, 2011

I'm running Ubuntu Server 11.04 with OpenSSH, trying to create an ssh tunnel (for web traffic) to it from my (also Ubuntu) laptop. This is the command I'm using to create the tunnel:

Code: ssh -ND localhost:8080 george@ I had it all working on a virtual machine.. which was deleted What settings/lines do I need to change/add from the default OpenSSH config files to get tunnelling to work? I've Googled and AllowTcpForwarding is set to yes, as is X11Forwarding.. but it still doesn't work. Chrome can connect to the server, but says the connection was closed before any data was sent.

View 3 Replies View Related

Ubuntu :: Uninstall (including Any Config Files) And Reinstall The Windows Manager

Jun 11, 2011

I've destroyed my desktop.

I'm using Ubuntu 11.04 and I would much like to uninstall (including any config files) and reinstall the windows manager.

Is there a set of commands I can run to achieve this?

View 1 Replies View Related

Ubuntu Servers :: Reinstall XAPP And Copy The Index.php Files From Another Comp?

Apr 18, 2010

First off. I'm not using Ubuntu Server. But I'm trying to get XAMPP set up so I can test Wordpress themes I make. Using 9.10. I got XAMPP installed using the Instructions from Apache Friends. When I went to Localhost I got the language page. Selected English but nothing happened.

Here's my Index.php:

if (!empty($_SERVER['HTTPS']) && ('on' == $_SERVER['HTTPS'])) {
$uri = 'https://';
} else {
$uri = 'http://';
$uri .= $_SERVER['HTTP_HOST'];
header('Location: '.$uri.'/xampp/');

Something is wrong with the XAMPP installation :-( I searched and found a couple Index.php files. Deleted one. And now when I go to localhost I get a "Index of" page.I removed the XAMPP folder, Deleted Apache, PHP from Synaptic(They got reinstalled when i reinstalled XAMPP btw). Installed LAMP but it still does it. Maybe reinstall XAPP and copy the index.php files from another Comp?.

View 3 Replies View Related

Fedora Networking :: How To Reinstall System-config-network

Mar 28, 2009

I want to reinstall "system-config-network" in Fedora10. I have now system-config-network 1.5.95 and I want to have system-config-network 1.4.3 (it is from fedora8)

View 3 Replies View Related

Fedora Servers :: Cannot Start Apache - No Read / Write Access To HTTP Files

Jan 14, 2009

I am trying to setup my webserver and I am trying to make a website to run under suexec but somehow I cannot start my apache it directly fails and SELinux is giving me errors and don't really know what to do with it, it is giving me some command to type but not sure if this will make my server less secure. The SELinux error is as follow:

SELinux prevented httpd reading and writing access to http files.

Detailed Description:
SELinux prevented httpd reading and writing access to http files. Ordinarily httpd is allowed full access to all files labeled with http file context. This machine has a tightened security policy with the httpd_unified turned off, this requires explicit labeling of all files. If a file is a cgi script it needs to be labeled with httpd_TYPE_script_exec_t in order to be executed. If it is read-only content, it needs to be labeled httpd_TYPE_content_t, it is writable content. it needs to be labeled httpd_TYPE_script_rw_t or httpd_TYPE_script_ra_t. You can use the chcon command to change these contexts. Please refer to the man page "man httpd_selinux" or FAQ [URL] "TYPE" refers to one of "sys", "user" or "staff" or potentially other script types.

Allowing Access:
Changing the "httpd_unified" boolean to true will allow this access: "setsebool
-P httpd_unified=1"

Fix Command:
setsebool -P httpd_unified=1

I will write down how I did setup my server so maybe you can see a mistake I did. First I changed my Apache httpd.conf I added the following to it:
ServerName localhost
DocumentRoot /var/www/html
DirectoryIndex index.html index.html index.shtml index.php

SuexecUserGroup ulyaoth ulyaoth
ServerAdmin webmaster@ulyaoth.org
ServerName test.ulyaoth.org
DocumentRoot /var/www/ulyaoth/www/html
ErrorLog /var/www/ulyaoth/logs/error_log
CustomLog /var/www/ulyaoth/logs/access_log common
DirectoryIndex index.html index.htm index.shtml index.php
ScriptAlias /cgi-bin/ /var/www/ulyaoth/www/cgi-bin/
<Directory /var/www/ulyaoth/www/cgi-bin/>
AllowOverride none
Order allow,deny
Allow from all
Options +execCGI
AddHandler cgi-script .cgi .pl

Then I created the username "ulyaoth" with the group "ulyaoth" as I specified with my suexec, then I created all the directories as specified in my httpd.conf and "chown ulyaoth:ulyaoth (dirname)" them to the right group and username.

View 10 Replies View Related

Ubuntu Servers :: Debconf: DbDriver "config": /var/cache/debconf/config.dat Is Locked By Another Process

Jun 15, 2011

I recentled upgraded all the packages on my server and now I have an issue where I can't get any thing to install or uninstall do to errors, This is what I get:

praetorian@praetorian:~$ ps ax | grep dpkg
7330 pts/1 Ss+ 0:00 /usr/bin/dpkg --status-fd 21 --configure bind9 cups cups-bsd
7331 pts/1 S+ 0:00 /usr/bin/perl -w /usr/share/debconf/frontend /var/lib/dpkg/info/bind9.postinst configure 1:9.7.3.dfsg-1ubuntu2


View 9 Replies View Related

Ubuntu :: Tor Config Failed Cannot Start?

Jul 19, 2011

I installed tor with this :-

sudo apt-get install tor
And After installation, When I ran from vidalia , it gave me error :-


View 2 Replies View Related

Fedora Installation :: Dualbootsystem - Reinstall Grub - Can't Start Again

Nov 8, 2009

For some applications i still have windows XP installed. Because of the fact that Windows has to be reinstalled once a year (it's only windows ) I deleted the MBR accidentely. Now I can't start Fedora again. hen I start Linux using the Installation CD of Fedora 10 my partition is not mounted automatically because I am using LVM.


View 10 Replies View Related

Slackware :: Failed HD...drat \ Reinstall And Start From Scratch?

Feb 19, 2011

The hard drive that I used with Slackware64 has died, so it's time to reinstall and start from scratch.I have been using Slackware64 for over a year now and I enjoyed it...but now with a fresh start, I'm thinking about either going to Slackware64 -Current or going to the 32 bit version.Things I wanted in Slackware64, but couldn't get, were WINE, Skype and VirtualBox. I could have gotten those if I went "MultiLib" but I didn't want to do that, I wanted a pure 64 bit system.If you had to redo your system again, would you stick with your current O/S or would you change it up.

View 9 Replies View Related

Ubuntu Networking :: Clean Start With Wireless Config ?

Apr 30, 2010

I had put in a broadcom 4318 (airforce) card and it showed up in network tools as wlan6 with multicast disabled, inactive, and etc. the bf cutter tool also showed up in hardware drivers.

However, after trying to get the card functional - it no longer shows up in network tools nor is bf cutter in the hardware section.

I tried installing broadcom's proprietary driver among some other solutions. I'm running karmic 9.10.

How to start with a clean slate and get my wlan6 to appear again, so I can install this proprietary driver or use driverloader?

View 2 Replies View Related

OpenSUSE :: Can't Start VirtualBox - Reinstall Kernel Module By Executing

Mar 10, 2011

I have been having some problems with virtualbox starting. So here is the issue: When I start a VM I get the following: Code: Kernel driver not installed (rc=-1908). The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. reinstall the kernel module by executing


I am seeing quite a few entries about the usb. I am not sure if that is common or if its unrelated. I am running x86 11.3, and virtualbox 4.0.4 I have tried to uninstall, and even go back to 3.2

View 8 Replies View Related

OpenSUSE :: Ntfs-Config Don't Start In 11.4?

Mar 11, 2011

Ntfs-Config dont't start in OpenSuse 11.4 - Kde .

Output terminal:

host-002:/home/predieri # ntfs-config
Traceback (most recent call last):
File "/usr/bin/ntfs-config", line 102, in <module>
main(args, opts)


View 5 Replies View Related

Ubuntu Servers :: Can't Seem To Reinstall Postfix?

Jun 30, 2010

I can't seem to reinstall Postfix. I followed a guide and couldn't get it to work. After I retried a few times I gave up and deleted all files and folders I could find related to Postfix. Well I realized what the issue was and now that I want to try reinstalling Postfix it won't allow me.

When I type:

sudo apt-get install postfix
Reading package lists... Done
Building dependency tree
Reading state information... Done
postfix is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
1 not fully installed or removed.


View 9 Replies View Related

Ubuntu :: Printing Applet (system-config-printer) Won't Start?

Apr 23, 2011

Trying to add printers to a new install, and system-config-printer doesn't start. CUPS is working, and I am able to add and manage printers using http://localhost:631, but I would prefer to use the applet.

lee@tycho:~$ system-config-printer
Traceback (most recent call last):
File "/usr/share/system-config-printer/system-config-printer.py", line 104, in <module>


Similar problems (possibly different causes) include [URL], from only three weeks ago, but no responses, and this one [URL], which I don't think is the issue because I don't seem to have an "extra" python install at /usr/local/bin/python.

View 3 Replies View Related

Ubuntu :: All Files Gone After Trying To Reinstall Gnome Panel?

Jun 22, 2010

yesterday I uninstalled evolution - thats where the horror started. Today I had my whole gnome panel on top missing, which makes it practically impossible to work on netbook remix. Then I tried to follow instructions in this post.[URL] hile trying to run that stuff in the terminal that I went into with strg-alt-f1, I think I either created a new user (with the same name???) or something else happened, ANYWAY NOW AFTER RESTARTING ALL FILES IN MY HOME FOLDER ARE GONE, SO ARE ALL MY SETTINGS. the programs are oddly still there, even the additional ones that I installed. but for the rest all settings, passwords and files are like after a fresh ubuntu installation to clean hard disk. btw i run lucid lynx on an eeepc 1008ha.

View 9 Replies View Related

Ubuntu Installation :: Can't Reinstall Common Files?

Aug 10, 2010

I ran this line: aptitude purge x11-common and all common files, all the tools I need are gone from my desktop. I have an amd64 with ubuntu +gnome on it.

Is there a way to reverse this --other than installing 1gb of packages one by one?

View 3 Replies View Related

Ubuntu :: Reinstall Gnome Files From Kubuntu?

Nov 7, 2010

I set up Kubuntu today because the keyboard input was messed up in GNOME, due to some file being corrupted. Does anybody know how to replace GNOME files in Kubuntu? I'm new to it, trying to find my way around.

View 3 Replies View Related

Ubuntu Multimedia :: How To Reinstall Sound Files On 10.10

Nov 10, 2010

I've just done a fresh install of ubuntu 10.10 and it works great, but I was feeling adventurous one day and mess up my sound experimenting with different drivers.What I am asking is what would be all the programs I could reinstall to get it back to the original install?I've all ready tried Code:sudo apt-get --purge --reinstall install libasound2What other programs could I try?

View 8 Replies View Related

Ubuntu :: [Chroot] How To Reinstall Kernel Files

Sep 10, 2010

While learning about Ubuntu, I made an error in a chroot code...

This doesn't work either code...

Does someone know how to solve this?

View 1 Replies View Related

Ubuntu Servers :: MySql Database Won't Start - How To Make It Start

May 4, 2011

I have a mysql database and i use it with apache for my webpages. And I guess it dosen't start when the computer starts so I have to manually start it with "sudo /etc/init.d/mysql start" This returns fail so i went to '/var/run/mysqld/' and the folder was empty. I don't know if this is the problem or not. How can I fix this?

View 9 Replies View Related

OpenSUSE Hardware :: Multiple Errors When Trying To Start Ntfs Config

May 27, 2011

First of all, ntfs-config does not appear in the menu in openSUSE 11.4 Gnome 2.32. When I try to start it using the run command(Alt + F2) it gives the following error in a small window: Insufficient Rights. You need administrative rights to start this application. I then try to run it as root (su -l or su) and it gives the following error:


All these packages and others are already installed in my computer.

View 9 Replies View Related

Ubuntu :: Reinstall Without Wiping My Personal Data Files ?

May 3, 2011

How do I reinstall Ubuntu without wiping my personal data files?

View 9 Replies View Related

Ubuntu :: Uninstall ATI Drivers And Reinstall Original Files

Jun 12, 2011

I am running a recently installed minimal install. I am having some fun building the system up but trying to keep things slim. I have installed the ATI catalyst drivers working from the tutorial here under 'Installing the Restricted Drivers Manually': [URL]... After successfully getting the ATI driver running, I realise I really don't need or want it and am wanting to uninstall it completely and return the config to the way it was. Some of that I can do with the aid of some of the links I have found but installing the ATI drivers no doubt killed some of the packages that were there in the first place (graphics was fine in the first place incidentally). Question: What might these squashed packages be so I can reinstall them and have graphics setup as it was before I installed the ATI drivers and how can I remove all trace of the ATI drivers?

View 8 Replies View Related

Ubuntu Servers :: How To Config Sendmail In 10.10

Apr 17, 2011

I want config ubuntu to send mail with sendmail. Any manual for cinfig sendmail in Ubuntu.

View 4 Replies View Related

Networking :: 11 - Remove / Clear All Network Configuration To Start Another Time To Config?

Jan 26, 2010

I have a Fedora 11 into a virtual environment (ESX) I remove all interfaces but with the command system-config-network I see my previous configuration How can I remove/clear all my network configuration to start another time to config?

View 9 Replies View Related

Ubuntu Servers :: New User Looking For Drive Config

Feb 4, 2010

I'm planning to take a custom-built machine presently running Windows Home Server and convert it to a Ubuntu server to support the same backup functionality, but also allow me to support other server functions as well (WHS is great for backups and as a file server, but that's about it). The machine has two 1TB 7200 RPM drives. As the primary use for the machine is backups of files stored on the server as well as on the local PCs, I'd like to configure the box to support redundancy across both drives - So if one fails, I still have my data. What would be the recommended configuration of the drives to support this? I plan on using Bacula for the backups (clients and server).

I'll assume the disk format won't be NTFS.If one of the drives fail and its the boot drive, how easy is it to recover the data from the other drive? Just want to make sure there isn't some form of security that would prevent me from reading the data.

I'm new to Linux with only a bit of Unix experience, but I figure I have to start somewhere (and I have a bit of technical expertise, just with the Windows platform) This will also let me start playing with the LAMP stack.

View 5 Replies View Related

Ubuntu Servers :: Config Bind DNS With MySQL?

Jul 15, 2010

I have searched some about Bind9 and have it installed in my server. Now I'm looking for a Tools like mysqlBind and I found unxsBind is the next version of mysqlBind (These tools help you config BIND DNS with MySQL). But the issue is: I don't know how to Install it in Ubuntu - there just say how to install with Centos.

View 2 Replies View Related

Ubuntu Servers :: How To Config Dyndns With Ipv6

Mar 10, 2011

I have just installed dyndns in my local ubuntu server runing on apache...I dont have static Ip's so I have to use ipv6 ip's

View 1 Replies View Related

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