General :: Iptables Will Not Start -error On Line 18?

Nov 26, 2010

I'm a linux noob, only know about enough to be dangerous...I am trying to get my Fedora Core firewall to work - I actually didn't know it wasn't until I started poking around in the GUI (I use both CLI and GUI) - so I used the CLI to try and start it and got the following:

[root@linuxbox ~]# service iptables start
Flushing firewall rules: [ OK ]
Setting chains to policy ACCEPT: filter [ OK ]

[code]...

View 6 Replies


ADVERTISEMENT

Fedora :: IPtables Creates An Error During Startup - Applying Firewall Rules: Iptables-restore: Line 21 Failed

Jul 17, 2010

IPtables creates an error during startup as well as when I try to restart it: Here's the output of:

[Code]....

View 11 Replies View Related

General :: CRL File Error : PEM Routines:PEM_read_bio:no Start Line:pem_lib - Unable To Configure X.509 Storage For Certificate

Sep 10, 2010

I am configuring my Apache Server to enable checking CA Revocation List, and my Configuration lists as following :

Code:

SSLCARevocationFile /etc/httpd/confi.d/ssl.crt/CRL1.crl

But the server can not start, and the log says:

Code:

Unable to configure X.509 Storage for certificate

If I try this command to view content of my CRL file :

Code:

openssl crl -text -in CRL1.crl -noout

the console shows :

Code:

error:0906D06C:PEM routines:PEM_read_bio:no start line:pem_lib:647:Expecting: X509 CRL

I think there is something wrong with my CRL file, such as the file format.Is there any requirement to the CRL file? What can I do to enable this CRL file checking?

View 2 Replies View Related

General :: Unable To Start Iptables?

Feb 25, 2010

I am unable to start iptables :

Code:
-bash-3.2# /sbin/chkconfig --list | grep ip
iptables 0:off1:off2:on3:on4:on5:on6:off

[code]...

View 7 Replies View Related

Software :: Error: Couldn't Find End Of Start Tag Rpm:entry Line 15303

Feb 8, 2010

I am using preupgrade to update Fedora 9 -> Fedora 12 following these steps: -

Code:
yum -y update
yum clean all
yum install preupgrade
preupgrade-cli
preupgrade-cli "<FEDORA VERSION>"
reboot

I successfully upgraded this box from Fedora 6 => Fedora 9 and I guess I got too confident when this worked without a hitch and went straight from Fedora 9 => Fedora 12. Everything works up until the very end of the upgrade process when I get this error.

Code:
(process:2227): GLib-WARNING **: GError set over the top of a previous GError or uninitialized memory. This indicates a bug in someone's code. You must ensure an error is NULL before it's set. The overwriting error message was: Parsing primary.xml error: Couldn't find end of Start Tag rpm:entry line 15303

[Code]...

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

General :: Start .pps In Command Line?

Jun 16, 2010

i'm using ubuntu with the GUIi have a .pps (power point presentation) on the desktop. I installed the powerpoint viewer and made it the default program for opening the file.when i double click on the file everything works.my problem is i need this on a schedule so i downloaded scheduled task.in scheduled task they ask me the command line i want to execute and that's where it doesn't work. I checked the "allow executing file as program" box on the file but i get the error cannot execute binary file.

View 1 Replies View Related

General :: Start GUI Programs From The Command Line?

Aug 18, 2010

In Windows, if I have a console window open, type winmine, and press enter, Minesweeper will appear, completely separate from the cmd program. The Minesweeper instance is not tied to the command prompt in any way that I know of, with the exception of Minesweeper's parent being set to that instance of the command prompt. It's different in Linux, however.

In Linux, if I have a console window open, type emacs and press enter, Emacs will open, but it seems tied to the command line. Specifically, it appears that I can't use the command line anymore until that instance of Emacs is closed. Is there a way to replicate the Windows behavior in Linux?

View 11 Replies View Related

General :: Start KDE From Command Line (Debian Lenny On IMac)?

Jan 22, 2010

I have a nearly 10 years old iMac at home and installed Lenny on (somehow, I had to thrash Mac OS 9.2 :-P). Everything was successful until now, but on entering "startkde", the screen fills withkpersonalizer: cannot connect to X serverlines. Upon looking at other threads here I tried mdetect, installing X11... but to no avail

View 14 Replies View Related

General :: Command For Appending A Text At The Start Of Every Line And Save It Another File?

Mar 10, 2011

I wish to append a text at the start of every line and save it to another file without changing the original file.know the command

For example:
Orignal.txt
a.txt

[code]...

View 5 Replies View Related

General :: When Restart The Iptables Service Then The Firewall Entries Are Again Shown In Iptables?

Sep 17, 2010

I am facing a strange problem witht my iptables as there are some firewall entries stored somewhere which is displaying the below firewall entries even after flushing the iptables & when I restart the iptables service then the firewall entries are again shown in my iptables as shown below,

[root@myhome ~]# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination

[code]....

View 6 Replies View Related

OpenSUSE Install :: Red Line Of Error Msg During Boot System Console Stolen At Line: 266 SuSE11.4?

Apr 29, 2011

...../etc/init.d/before.local...System Console Stolen at line: 266 This line of red warning consistently appears immediately after something that ended with /etc/init.d/before.localThis is during the boot.Have anyone see it before ?It appears both in kernel versions:2.6.37.6-0.5-desktop2.6.37.1-1.2-desktop

View 3 Replies View Related

General :: Error While Starting Apache2 / Syntax Error On Line 113 Of /etc/apache2/httpd.conf?

Nov 19, 2010

I have suse10 64bit and I was setting up SVN server on it. After all required setup while reloading apache2,its giving the error:

Code:

httpd2-prefork: Syntax error on line 113 of /etc/apache2/httpd.conf: Syntax error on line 31 of /etc/apache2/sysconfig.d/loadmodule.conf: Cannot load /usr/lib64/apache2/mod_dav_svn.so into server: /usr/lib64/libsvn_subr-1.so.0: undefined symbol: apr_memcache_add_server

View 6 Replies View Related

Ubuntu :: Fail2ban Bug - Jails Can't Start In IPTables

May 10, 2010

Currently suffering from this bug:If you don't want to read the whole thing, it appears fail2ban overloads IPTables when you have too many jails, and sends a wholeload of commands at once.I attempted to use the workaround making it sleep for a random period of time, but this does not help at all, it still fails like it used to.Any ideas? Fail2ban is a pretty popular app...Ubuntu 9.10.

Code:
$ aptitude show fail2ban
Package: fail2ban

[code]...

View 1 Replies View Related

Programming :: Error During Reading A File Line By Line In C?

Mar 6, 2010

I have a code over there. It reads a line from file and converts contents of it to double.

Code:
/*
* fileRead.c

[code]...

View 2 Replies View Related

General :: Wget Error: Bad Header Line

Jan 22, 2011

Why doesn't this work?:

View 1 Replies View Related

Server :: Error - Iptables: Unknown Error 18446744073709551615

Feb 9, 2010

When i try to add value 150 on portflood section of csf,i get following error:

iptables: Unknown error 18446744073709551615 PORTFLOOD tcp opt -- in !lo out * 0.0.0.0/0 -> 0.0.0.0/0 tcp dpt:80 state NEW recent: UPDATE seconds: 5 hit_count: 150 name: 80 side: source

Error: iptables command [/sbin/iptables -v -A INPUT -i ! lo -p tcp --dport 80 -m state --state NEW -m recent --update --seconds 5 --hitcount 150 --name 80 -j PORTFLOOD] failed, at line 996

how is limitation with ip_recent where highest value for hit_count is 20,and how i need to modify and recompile ip_recent.But i was not able find anything about either modify or recompiling that module.I have cent os 5.4 64 bit,iptables are installed over yum.Also i have 4 servers with completely identical configuration,yet on two servers portflood works while on other two it reporting that error.Maybe it was different install cd which caused this,but again i dont know why this doesnt work since iptables version are indetical.

View 1 Replies View Related

Programming :: Remove Line Break If Next Line Does Not Start With "PX"?

May 25, 2011

I have a big csv-file wich is not formatted very well. I clean it up with removing a lot of html etc, but some of the lines breaks where they are not supposed to.What I want to do is to check next line, if it starts with 'PX' I don't want to do anything, but if it does not start with 'PX' I want to merge the two lines. That is removing the newline character on line one and replace it with a space.Can this be done with sed? (or maybe with perl or something, but I'm more familiar with sed)I've been looking und the net to find a solution, but to no result.

View 8 Replies View Related

Ubuntu Security :: Fail2ban Bug - Jails Can't Start In IPTables?

May 10, 2010

Currently suffering from this bug:If you don't want to read the whole thing, it appears fail2ban overloads IPTables when you have too many jails, and sends a whole load of commands at once.I attempted to use the workaround making it sleep for a random period of time, but this does not help at all, it still fails like it used to.Any ideas? Fail2ban is a pretty popular app...Ubuntu 9.10.

Code:
$ aptitude show fail2ban
Package: fail2ban

[code]...

View 6 Replies View Related

CentOS 5 Networking :: IPTables Service Failed To Start

May 9, 2009

I have CentOS 5.2 just installed and massively updated with yum -update command. Than I tried to configure firewall. After changes via system_config_securitylevel_tui (open ssh, http, ftp, and 3306:TCP ports) iptables service can't start with message

> /sbin/service iptables start
Flushing firewall rules: [OK]
Setting chains to policy ACCEPT: mangle filter nat [OK]
Unloading iptables modules: [OK]
Applying iptables firewall rules: iptables-restore v1.3.5: Couldn't load match `TCP':/lib64/iptables/libipt_TCP.so: cannot open shared object file: No such file or directory
Error occurred at line: 18
Try `iptables-restore -h' or 'iptables-restore --help' for more information.
[FAILED]

I erased the iptables service and installed it again with yum. How can I make this service work?

View 7 Replies View Related

General :: Line 11: Error: Expected ':', ',', '','}' Or '_attribute_' Before '}' Token?

Feb 2, 2010

I worte some code, but I got error for complier.

Code is :
#include <stdio.h>
#include <stdlib.h>

[code]...

View 4 Replies View Related

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

General :: Repeatedly Getting Command Substitution - Line 3 - Syntax Error Near Unexpected Token

Aug 31, 2010

I am repeatedly getting error:

I need to pass the value of:

I am using #!/bin/bash

This command works on shell without any issue.

View 8 Replies View Related

General :: Cannot Start X - Font Error

Jan 19, 2010

I havent started X in a LOOONG time because the console is more productive but when i tried i got a font error: Log may or may not be attached LOL links browser is buggy

View 9 Replies View Related

General :: Fsck Error During Start Up?

May 25, 2010

I get an error during start-up

fsck failed. Please repair manually

If I Ctrl D to carry on everything boots up ok as far as I can tell.

If I try and fix:
# fsck /dev/hdb1
fsck 1.37
e2fsck 1.37
/dev/hdb1: clean, 38/7340032 files, 283481/1465320 blocks

[Code]....

View 14 Replies View Related

General :: Error: Cannot Start Xserver

Jun 10, 2011

Using GNOME2.X (default) and Fluxbox on ZorinOS4(upgraded from ubuntu10.10 to 11.04) When I boot up everything goes fine right up until the splash screen. Once I get to that, Screen goes black for 3 seconds or so, Then the command line pops up, Asks me for LOGIN: and PASSWORD:, and after I enter that it starts fsck then says something like:

Code:

/dev/sda5 mounted - sda5 mounted 22 times without check, Forcing check-- sda5 CLEAN Xnumberofblocks/Ynumberof blocks...

Error: cannot start Xserver

If needed I can reboot my machine and write the whole thing out and post it back. sda5 shows it is filesystem, ext4, 25g ,mounted at /,Partition type Linux(0x83), partition flags: - SO after it does a force check it brings me back to hevithan:$ ... I tried typing fluxbox to run that instead of GNOME and it says Error: failed to launch. Xserver is running.. So I reboot, and select: ubuntu-linux version(recovery mode). Look at the startup log it says what I already got in command: Failed to boot XServer is already running. So I select Restart X and it works fine after that.

Things I have downloaded/installed recently:

*Used additional drivers to enable propitiatory drivers.

*Thunderbird

*Simdock (Which I didn't like) so...

*Docky

*A comic book reader (I forget the name but it was in the repos) and a few upgrades to software/programs I already had.

Why is X trying to start 2 times? Why is it forcing FSCK every time? Could anything I have downloaded changed my GRUB or Kernel info and confused the system?

View 1 Replies View Related

General :: Error: Failed To Start The X Server

Aug 13, 2010

I have SUSE Linux Enterprise Desktop 10 running on HP Mini 2133. It's been working like a dream since I got it, but one day I got the following error message when booting it: Failed to start the X server (your graphical interface). It is likely that it is not set up correctly. Would you like to view the X server output to diagnose problem? <Yes> <No>.

X server output says alot of things, but I think this is the most important:
(==)Using config file: "/etc/X11/xorg.conf"
ACPI: OSPMOpen Called
ACPI: Opening device
(EE) VIA(0): No valid modes found

I then get the login:. I'm able to login, but I have no clue on what to do. How can I fix this?

View 3 Replies View Related

General :: Trying To Start MySQL - Error 2002

Jul 9, 2010

installed mysql
type
yum install mysql
tells me nothing to do - up to date

type mysql
responds ERROR 2002 - cant connect to local MYSQL server through socket
/var/lib/mysql/mysql.sock

Lost in tons of documentation - sun docs very general and maybe its there but I'm getting dizzy looking. How to get to the point where I can get an mysql> prompt?

View 14 Replies View Related

General :: Jre - RHEL-5 / Getting Error Jre-6u16-x64-rpm.bin: Line 368: ./install.sfx.20520: Cannot Execute Binary File"?

Oct 22, 2009

I have installed RHEL-5 on a 64-bit machine recently, and want to install java. Earlier when I did "java -version", it showed jre1.4.0. But for my application , I need jre 1.5.0 or later, so I decided to download jre1.6. I am the root user here and I downloaded the jre1.6 as rpm.bin as well as simple .bin format.

But the problem is that when I tried executing any of them, I am getting below error message :

" ./jre-6u16-linux-x64-rpm.bin: line 368: ./install.sfx.20520: cannot execute binary file"
Moreover, now when I tried "java -version", it is not showing any thing.

Could anybody suggest me how can I resolve this deadlock situation, as I need to install my other application at the earliest.

View 9 Replies View Related

General :: Error - Failed To Start X Server (RedHat 5.3)

Mar 7, 2010

I installed Red-hat 5.3. Problem is that it is not showing graphical interface. Only kernel / command prompt is available. I tried startx, then I got this msg. No video BIOS modes for chosen depth. Also showing that:
ERROR: Failed to start X server.

View 2 Replies View Related







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