Ubuntu Servers :: Make Start An Iptables.cf Script On Server?

Mar 5, 2011

I am trying to make start an iptables.cf script on my server.

I have copied it into /etc/init.d/
And try to make it load with /etc/init.d/iptables.cf start
Then "not permission" (I was the root then).
So, sudo /etc/init.d/iptables.cf start
Then, "command not found".

View 3 Replies


ADVERTISEMENT

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

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 Servers :: Make A Ruby Script Run At Start?

Apr 5, 2010

I have set up a subversion server and on top of that redmine which is a webinterface sort of like trac.For every boot I have to run a script so that redmine will listen to port 8080. I have tried to make the system run this script by it self at start using

Code:
# update-rc.d -f start_servers start 99 2 3 4 5 .
using this guide http://embraceubuntu.com/2005/09/07/...run-at-bootup/

[code]....

View 3 Replies View Related

Networking :: Squid With Iptables - Make Clients To Browse Internet Only From Proxy Server?

Jun 14, 2010

i have the following ip assignments

fedora (iptables)
eth0 -private :192.168.1.1
eth1 -public : 186.117.50.6
squid proxy
192.168.1.10:3128
my clients range
192.168.2.0/24

how can i make my clients to browse internet only from proxy server my network is NAT 'ed. Please specify a iptable rule to allow internet access for my clients to browse ONLY if they come through proxy server.

View 1 Replies View Related

Ubuntu Servers :: Setup Iptables Rules In /etc/if-up.d/iptables?

Apr 16, 2011

I am running Ubuntu server 10.10 and trying to setup iptables rules in /etc/if-up.d/iptables

Quote:
root@host# cat /etc/network/if-up.d/iptables
#!/bin/sh -e
iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT

Problem is that iptables doesn't get updated and I don't see them when iptables -L is executed after reboot.

View 2 Replies View Related

Fedora Servers :: Unable To Restore My Iptables From Iptables-save After Upgrading

Nov 26, 2010

I am unable to restore my iptables from iptables-save after upgrading Fedora. I cannot get iptables-restore to work, and I have resorted to entering rules manually using the GUI.

View 2 Replies View Related

Ubuntu Servers :: Iptables To Rate-limit Brute Force Attacks On SSH Server?

Sep 30, 2010

I have a SSH server set up at home listening on port 22. I have hardened the server so it is pretty secure but I want to make it even safer by editing my iptables to rate-limit incoming connections and DROP false login attempts. I have tried these tutorials but I just cant get it to work:[URL]I want the debian-administration.org tutorial to work but when I try to add the first rule in terminal:sudo iptables -I INPUT -p tcp --dport 22 -i eth0 -m state --state NEW -m recent --setI get the following:Bad argument --set'I am new to iptables and I'm not sure if I'm doing something wrong when I try to set it up. I'm using Ubuntu 10.04.1 LTS with iptables v1.4.4.

View 6 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

Ubuntu :: Start Up Script(part 2) / Make It NOT Run When Server Rebooted - Halted?

Jan 1, 2010

I added a script to /etc/init.d/local and made it run at boot using:

Code:
update-rc.d local defaults 80
Is there any way for me to make it NOT run when the server is rebooted/halted?

View 1 Replies View Related

Ubuntu Servers :: Make It A .com - Redirect DNS To Server IP?

Oct 26, 2010

I'm hosting my own dedicated server with Ubuntu Server 10.10. I have it set up with a static local IP, and I've configured DynDNS to link up with my router and allow my server to go live to the internet. I have all the appropriate ports unlocked, with the exception of port 80. This port is blocked by my ISP (Charter) and I can't use it. Due to this, I configured my router to listen on port 81, and direct it to my server.

So, In order to view it, you need to go to the IP XXX.xxx.XXX.xxx:81 Today, I registered (www.online-self.com) in hopes of getting around my current mask (provided by DynDNS.com (omegame.selfip.com). So here is my dilemma, When I go to the host of my domain name , I want to redirect my DNS to my server IP.

I can't seem to do it though? They want a strict IP address, no port extensions. How do I get around this so that my domain name and IP address link up? I'm thinking I may be missing a step, or maybe I needed to register a domain name that simply redirects? I'm starting to get confused on what I should do next. Can I even do this?

View 6 Replies View Related

Ubuntu Servers :: How To Make The Server Route Between

Nov 9, 2010

For the last couple of days I've been building on a server built from an old (well, not too old) computer. My goal is to use it for multiple purposes like a webserver, home automation, and possibly a future media center (if I get my TV card to work). But perhaps the main reason is to get wireless access to the internet for my laptop, and to connect it to my other (stationary) computer. When I'm done I'm also planning on writing a guide for setting up an access point with the rt61 chipset, as there seems to be many people looking for this. First I just need to get through this problem though .

For this I use two wired NICs, eth0 for the local interface to my computer, and eth1 as an external interface for the internet. Moreover I use a wireless NIC (DWL-G510 using the rt61pci driver) in conjunction with the daemon hostapd to provide a wireless interface for portable computers to connect to. eth1 gets its IP through DHCP from my ISP, while eth0 and wlan0 have static IPs on two different subnets like this (copied from /etc/network/interfaces):

Code:
auto eth0
iface eth0 inet static

[code]....

View 4 Replies View Related

Ubuntu Servers :: X Server Can't Start On Kubuntu 10.04

Jul 22, 2010

I just installed Kubuntu (10.04), did some upgrades and updates then upon booting the computer wont go beyond the login page. at first it posted a message (Xsession:warning: unabele to write to /tmp; X session may exit with an error).I followed some instructions from the net which asked that I do the following:

ctr+alt+f
aptitude clean of apt-get clean
cd /var/log

[code]....

after this, when I login it no more goes off, but the desktop wont still come on, instead a terminal (konsole) window is open but when I try start x it refuses.(the only method I use to start my computer successfully is though the recovery mode)

View 1 Replies View Related

Ubuntu Servers :: How To Make Apache Server Viewable To Everyone

Jan 28, 2010

I have it set up so when I go to URL... it shows my server. I'm not sure how I can make it viewable to everyone though.

View 3 Replies View Related

Ubuntu Servers :: Make A Virtual Dedicated Server?

Sep 29, 2010

if anyone can point me in the direction of a tutorial (step by step) how to make a virtual dedicated server using ubuntu to host a website?

View 1 Replies View Related

Ubuntu Servers :: Server Can't Make Outgoing Connections

Jul 17, 2011

I have a ubuntu 10.04 dedicated server that I am having problems with. It intermittently cannot connect to any other servers outside its network.

Code:

PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
^C
--- 8.8.8.8 ping statistics ---
8 packets transmitted, 0 received, 100% packet loss, time 7008ms

(I have tried a bunch of other ips too and none outside its network are pingable) I'm not sure if this is a problem with my server or a problem with the networking outside the server. I have been emailing my server provider and they keep on insisting the problem is with the server and that their network is working fine. Apparently all of their other servers work and they can login into the gateway and ping 8.8.8.8 from there. So they just want to reinstall the OS, but I thought I'd post here to see if anyone has any ideas.

Here is some info I have gained while troubleshooting: I haven't changed any settings at all on the server for months. I haven't done any updates for about a week. The strangest thing is that this is intermittent, there have been a few times in the last 24 hours where I have been able to ping 8.8.8.8 or other ips, but 98% of the time I can't. I have also tried rebooting the server, which had no effect. I can ping the gateway, and I can ping other servers on the same subnet. I can ssh onto the server from my home internet connection, and I can view webpages on apache, so incoming connections work.

View 1 Replies View Related

Fedora Servers :: Make A Server With No GPU?

Apr 5, 2009

I just recently made a server using Fedora 10 and i was wondering if it is possible to set it up so that i don't need a GPU for fedora to boot properly. Since the GPU isn't being used i was hoping to save on a little bit more electricity.

View 4 Replies View Related

Ubuntu Servers :: Apache Server Don't Want To Start By Itself On Boot

Apr 6, 2010

My apache server don't want to start by itself on boot.

View 9 Replies View Related

Ubuntu Servers :: Jump Start A Server's Networking?

May 1, 2010

My desktop server serves up files via a number of protocols and I connect to it via SSH and Avahi. Today I tried connecting to it via SSH, but it timed out. I was able to ping it, and a port scan reveals all the ports I have open on the network. THe problem is that I can't connect via SSH, HTTP, AFP, SMB or any other protocol I have established.Is there a way to jump start a system in a situation like mine? I have a 6 month uptime going, but I'm taking it down soon for some hardware upgrades, so a hard restart is not out of the question, but I'd rather not. I also reset the router without a solution.

View 5 Replies View Related

Ubuntu Servers :: Server 10.04 Does Not Start Init.d Scripts?

May 17, 2010

I have two ubuntu servers. I have upgraded them to 10.04. Now I have serious problems at startup: iscsitarget and heartbeat scripts do not start all the times I reboot.I have installed monit to try to start iscsitarget and heartbeat and guess what? It does not start too at boot.In one of the two server sometimes it also starts with ethernet cards swapped.

View 2 Replies View Related

Ubuntu Servers :: VMWare Server Does Not Start After Reboot

Nov 30, 2010

Ok so I followed the instructions here [url] and this works great for the install however if the machine is rebooted the VMWare server refuses to start back up stating that it knows that its installed but it was not installed with the right installer.

This is on a Dell Server I can't remember the model right now but its got Dual PIII in it. I'm running Ubuntu Server 32bit 10.10 on the box as well. Thank you in advance for your assistance with this. Once I get this first server figured out I'll get my other one fired back up.

View 2 Replies View Related

Ubuntu Servers :: Make Server Listen At Different Port For HTTP?

Apr 6, 2010

How can I set my server to listen at a different port for http access. I would like to use port 8080 (to circumnavigate isp blocks). Also can I do the same thing for sftp connections?

View 3 Replies View Related

Ubuntu Servers :: How Much Disk Would Be Needed To Make It A Full DNS Server

Jul 4, 2010

I have Bind on the machine at present, but I was wondering how much disk would be needed to make it a full DNS server that could act in place of a dead upstream service.

View 3 Replies View Related

Ubuntu Servers :: Make An Xubuntu Based File Server?

Mar 29, 2011

i need to make an file server.but I'm not gonna ask how because that's a piece of pie.The thing is i need to make an ubuntu/xubuntu based file server.For windows users.But not just a regular file server. A File Server with accounts. That when you try to access the file server in explorer you need to provide a username and password.And that you( as the administrator) manage the privileges for the server/folder/file. so with different permissions.

View 4 Replies View Related

Fedora Servers :: How To Make It As A Streaming Server?

Feb 27, 2009

I brought a TV card and installed on Fedora 9.Want to know how to make it as a streaming server?

View 4 Replies View Related

Fedora Servers :: How To Make Server To Host

Apr 28, 2009

I am kinda new to Linux so I build a computer a put Fedora 10 on it. I would like to make it into a server so I can host Warcraft III FT.

View 3 Replies View Related

Ubuntu Servers :: How To Start Automatically Vsftpd In Server After Reboot

Aug 5, 2010

how to start automatically vsftpd in my server after reboot?

View 5 Replies View Related

Fedora Servers :: Start SSH Server Before Login?

Sep 16, 2010

How would I get the SSH server to start before I've logged in?Basically, the problem I have is that if I'm connecedt to my computer remotely over SSH, and reboot the machine, I'm not able to SSH back in after it restarts. As far as I can tell, this is because the SSH server doesn't automatically start up until after I've logged in for the first time.How would I get around that? Surely that is a fairly common scenario for network admins (especially ones who have keyboardless and monitorless machines running).

View 13 Replies View Related

Ubuntu Servers :: Delete ALL Mail Server Settings And Start From Scratch?

Dec 21, 2010

I've kinda gone hopelessly lost on my mail server install and now want to start from scratch, after having wasted 4 days on this.Basically I have a 95% working postfix installation, a probably 100% working dovecot installation, but am not happy with it as a few things aren't working properly, and I don't know what I did!mail to /var/mail/richard NOT /Maildir - being the main oneBut, also the fact that I don't know where I went wrong, and want to understand why everything is now haywire. I am not certain if my security is working on the mail or the logins either.e to achieve is thefollowing:PostfixDovecotVirtual Users - using IMAP with Security, allowed to send mail from their clientVirtual DomainsPostfix AdminWebmail (Roundmail)Anti-Virus and Spam-filteringI started with this guide How to set up a mail server on a GNU / Linux system), which seems very, very good I might add, but it is for Courier, and when I bumbled along with the Dovecot equivalent ... that is where things broke.

View 5 Replies View Related

Fedora Servers :: Start To Build Up IMPS To Server

Oct 15, 2009

I start to build up IMPS to my server. Any ideas where to start? Any experience so far. I this think yamicocom like service. And about 5 bugs to get in. What you think? I need to put some extra to this basic concept.

View 2 Replies View Related







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