Fedora Security :: Error Parsing Semanage Configuration File?

Aug 5, 2011

I need to autorise sendmail to send mail, but SeLinux blocks this action. But when I use this command:

Code:
setsebool -P httpd_can_sendmail=1
I receive an error

[code]...

View 3 Replies


ADVERTISEMENT

Ubuntu :: Error: Parsing File '/var/lib/dpkg/available' Near Line 7175

Jul 21, 2011

I tried to upgrade ubuntu , downloaded everything that was needed but I am not able to install anything.
It gives an error

Code:
Do you want to continue [Y/n]? y
Extracting templates from packages: 100%
Preconfiguring packages ...
dpkg: warning: parsing file '/var/lib/dpkg/available' near line 7174 package 'python-egenix-mxdatetime':
missing description
dpkg: error: parsing file '/var/lib/dpkg/available' near line 7175:
field name `Package(' must be followed by colon

E: Sub-process /usr/bin/dpkg returned an error code (2) since then I am not able to install anything on my aptdaemon fails for anything that I try to install How to deal with it

View 3 Replies View Related

Fedora :: Firefox 3.5 And XML Parsing Error - Undefined Entity

Dec 28, 2009

I get this error when I try to start up firefox:
Code:
XML Parsing Error: undefined entity
Location: (null)
Line Number 30, Column 7: <menuitem id="context-copy"
------^
It's a GTK window with black text with yellow background. I've tried removing the .mozilla folder uninstalling firefox completely and deleting /usr/lib64/mozilla and /usr/lib/mozilla folders. Same error. So I tried running firefox under root, and it displays the same error plus:

Code:
Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash. See [URL] for information. (Details - 1: Failed to get connection to session: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.)
So after long hours of frustration I created a new "test" user and firefox ran fine. It still doesn't work on my old user account and root. My system is "Linux localhost.localdomain 2.6.30.9-102.fc11.x86_64 #1 SMP Fri Dec 4 00:18:53 EST 2009 x86_64 x86_64 x86_64 GNU/Linux"

View 2 Replies View Related

Red Hat / Fedora :: RHEL4 Snmpd: Error Parsing '', Skipping?

Jul 21, 2009

I'm really new to Linux and I badly needed some help.

I can't find the possible cause of this error log:

snmpd: error parsing '', skipping
RHEL version: RHEL4 ES Update 4 64-bit
version of snmp packages installed : net-snmp-5.2.1-0.2, net-snmp-libs-5.1.2-11, net-snmp-libs-5.2.1-0.2

View 1 Replies View Related

Fedora Installation :: Preupgrade F9 To F12 Fails With Parsing Primary XML Error

Dec 7, 2009

I'm having some issues upgrading my F9 to F12 using 'preupgrade' so I'm looking for anybody who has ever been able to complete a preupgrade from F9 x86_64 to F12. The error message I receive is TypeError: Parsing primary.xml error: attributes construct error. To my knowledge this has been reported as a bug in F10 which was resolved by a yum update to version 3.2.24.

For F9 the latest yum version is 3.2.21 which has this Parsing error bug that prevents the preupgarde to continue. Interesting enough that the preupgarde lets me select Fedora 12 and progresses with all the preupgrade steps properly until the parsing error occur. How to fix this Parsing error on a F9 x86_64 system.

View 5 Replies View Related

Fedora Security :: Rkhunter Error - Can't Open File

Jun 4, 2009

why I can't open this file.

[root@localhost fedora]# gedit /etc/var/log/rkhunter/rkhunter.log No protocol specified (gedit:24869): Gtk-WARNING **: cannot open display: :0.0 [root@localhost fedora]# gedit /var/log/rkhunter/rkhunter.log No protocol specified

There is absolutely no reason why it can't be opened. I opened it just fine earlier and now it won't open up for inspection.

View 7 Replies View Related

Fedora :: GRUB Error 18 - Couldn't Read Configuration File

Apr 5, 2010

I'm playing with Fedora 12 and can't get GRUB to work. To boot, I've been using GRUB4DOS. While that works fine, I'd like to figure out what's wrong with regular GRUB 0.97. After the initial installation, GRUB came up on reboot, but it was broken -- it couldn't read the config file apparently, and no commands would work correctly. So I attempted to reinstall grub via the grub prompt. No matter what I do, or which hard disk I install GRUB on, I get "Error 18". I tried using the "grub-install" command as well as the prompt, and that did the same thing.

My system here is an ASUS M4A785TD-M EVO mo/bo. I've got four hard drives. Two 1TB SATA drives and a couple of PATA drives (300 and 500GB) on a Si608 controller card. Using the BIOS "BBS" boot menu, I can boot NTLDR and BOOTMGR off active partitions on any of the drives (with proper Boot.ini modifications to handle the change in drive order). GRUB4DOS works as well, and will boot Fedora 12 correctly off any of them (with proper menu.lst ministrations). But GRUB 0.97 that comes with Fedora just refuses to do anything other than say "Error 18".

View 4 Replies View Related

Security :: Finding & Parsing LDAP Logs?

Mar 24, 2010

Please let me know:1. What LDAP logs are typically available2. How to find them3. How to Parse them

View 3 Replies View Related

Software :: Webcamrc Configuration Not Parsing Dates For Image Filenames?

Jan 6, 2010

I am running webcam under Ubuntu 9.04 and I want to upload the images it captures to a server via ftp and have every image have a date and time in the filename. But I can't get this to work.From reading the man page for webcam it appears that I should be able to specify file = "webcam_%Y-%m-%d_%H:%M:%S.jpeg" and have it parsed so I get something like webcam_2010-01-05_10:54:23.jpeg but webcam is just uploading an image with an unparsed filename. So instead of getting a series of images on the server, I just get the most recent image (with the older images being overwritten every 1800 seconds). I know I could write a script on the server to rename the files as they are uploaded and put it on a cron but this seems to be something webcam should be able to handle.Here is my .webcamrc config file:

[grab]
device = /dev/video0
text = "webcam %Y-%m-%d %H:%M:%S"

[code]...

View 2 Replies View Related

General :: Parsing File Dates - Get The Date Of The Last Time A File Was Modified ?

Jan 11, 2010

I need to get the modified date on a file in linux to use in a script.I tried using 'ls -l' on the file, but this caused problems when the date turned from a single digit into a double. The reason for the problem was because I was parsing the result string on spaces.How can I get the date of the last time a file was modified so I can use it in a script? For example, if a file was modified on 1/11/2010, I need the 11.

View 2 Replies View Related

Programming :: Parsing Xml File Using Shell Script And Generate Report In A PDF File?

Jul 9, 2009

parsing xml file using shell script and generate report in a PDF file

Xml file input:

<report>
<student name="x" father name="x1" class="first" Address="xyz">
<property name="sports" value="yes"/>
<property name="drawing" value="no"/>

[code]....

View 12 Replies View Related

Ubuntu Networking :: Squid Error - Unable To Open Configuration File / No Such File Or Directory

Jan 6, 2010

my squid show like this when i try create swap directory

[Code]....

View 2 Replies View Related

Red Hat :: Snmpd Log Error Parsing, Skipping?

Jul 21, 2009

I would like to know if what this log error mean and how i can resolve this matter. I would like to verify if this is a misconfiguration or a bug on my settings

the log error is:

snmpd:error parsing ', skipping

the RHEL version used was 4 update 4 64 bit

the snmp packages installed were:

net-snmp-5.2.1-0.2
net snmp-lib - 5.1.2-11
net-snmp-lib - 5.2.1-0.2

View 1 Replies View Related

Programming :: Parsing Log File With Awk?

Aug 31, 2009

I have logs files from freeradius that have looks as follows:

$ grep "Login incorrect (rlm_ldap: User not found" /var/log/radius/radiusd-inner-tunnel-20090831.log
Mon Aug 31 09:25:27 2009 : Auth: Login incorrect (rlm_ldap: User not found): [John Doe] (from client oficina port 0 via TLS tunnel)

[code]....

I use the following line to get the amount of users that don't exist on ldap:

Code:

grep "Login incorrect (rlm_ldap: User not found" /var/log/radius/radiusd-inner-tunnel-20090831.log | awk '{print $14}' | sort -fu | wc -l

Now, awk on line one for example parses [John Doe] and [Joon Williams] as "[John" and that it's not what I'd want. I mean how could I do for awk looks username field as closed between squared brackets?

View 1 Replies View Related

Ubuntu :: XML Parsing Error: Undefined Entity?

May 25, 2010

Using Mozilla's Daily PPA and getting this when I try and launch any Prism program:

Code:
XML Parsing Error: undefined entity
Location: chrome://webrunner/content/webrunner.xul

[code]....

View 3 Replies View Related

General :: Parsing A File Into Database?

Jul 14, 2010

parsing the text file in perl.I have very large text file with plenty of columns and rows.how can i parse the file into Oracle database.

View 3 Replies View Related

General :: Parsing A Binary File?

Mar 17, 2011

Is it possible to parse through a binary file using a script using either Korn shell or Bash

View 3 Replies View Related

Programming :: Parsing Xml File From A C Program?

Mar 14, 2009

i wanted to know how can I pars a xml file (read data from xml file) and from C program.is there any function to do this for me in C.

View 1 Replies View Related

Programming :: Perl: Parsing A Log File?

Nov 9, 2010

I have a log file (test.log) starting & ending within dash (--) as below. I am looking to write a parser for test.log. This test.log file currently has single value for one Job ID but I wish to parse for repeated N values of different Job ID - Job, User, Queue, Dispatched Date, Dispatched Time, Completed Date, Completed Time, Hosts/Processor, CPU_T and TURNAROUND. I can either output this 10 values in another .log file or dump into cgi.

The selected parameters from test.log for parsing with above 10 attributes are -

--
Job <345010>
User <xyz>
Queue <gaussian>

[code]....

View 3 Replies View Related

Ubuntu :: Hardware / Setup - ML Parsing Error: Not Well-formed

Jan 23, 2010

I am new to Ubuntu linux and recently installed it on my computer. I did a system scan and this is what it said, ML Parsing Error: not well-formed Location: file:///media/Cruzer/submission.xml Line Number 4807, Column 53: Checking for hardware/setup problems... [#[33mWARN] What exactly does this mean and what is a possible solution

View 2 Replies View Related

CentOS 5 :: Error Parsing '1enabled=1': Invalid Boolean Value?

Nov 23, 2010

I'm trying to install PPTP following this guide http://www.dotcomunderground.com/blogs/2010/04/10/poptop-pptp-centos5-installation-setup/but when I enter the command yum --enablerepo=poptop-stable install pptpd

View 2 Replies View Related

General :: Parsing File With Multiple Delimiters?

Jun 21, 2011

I am using nessus to scan systems, and it generates the report file without any specific delimiter. Shown below is how a typical line in the file reads (It might show up as a very long line.

Code:

xx.xx.xx.xx|cpq-wbem (2301/tcp)|49272|REPORT|Synopsis :;;The remote web server is affected by multiple vulnerabilities.;;Description :;;According to its self-reported version number, the HP System;Management Homepage install on the remote host is earlier than 6.2. ;Such versions are reportedly affected by the following ;vulnerabilities :;; - Session renegotiations are not handled properly, which; could be exploited to insert

[code]....

The field of interest (for me) are IP ADDRESS, Synopsys, Description, Solution and Risk Factor. I tried the following command to parse this:

Code:

sed s/:;;/|/g report.nsr | grep Risk Factor |High | awk 'BEGIN {FS = "[:][;][;]"} {printf("%s|%s|%s|%s",$1, $6, $7, $10)}'

But this would not give desired results as ':;;' is not a standard delimiter and hence gives incorrect results. how to grab everything that occurs between the strings 'Synopsys', 'Description', 'Solution' & 'Risk factor' in the above example? In other words i may be asking to use multiple delimiters.. in the order of occurance.. is there a tool that supports multiple delimiters?

View 7 Replies View Related

General :: Parsing Output - End Of File Option ?

Feb 23, 2011

I'm working on a alias/script that will make it easier to look at my environment via the set command.

On my ubunto when running set it also displays some 10 pages of code pertaining to something called "imagemagik". at the end of the output. This code begins with the { character.

This is annoying if I want to look at my environment when working on scripts. How could I use something like grep, awk, sed, or whatever to ignore everything after the "{" character.

That seems to be the simplest way as long as there are no leading brackets in my environment. (And if you're thinking I should just remove {imagemagik}, I might just do that. But I still would like to know how to do this).

View 3 Replies View Related

CentOS 5 Server :: VPS Is Not Parsing/loading PHP File?

Jun 9, 2011

I managed to successfully install LAMP on my VPS and proceeded to install Wordpress only to run into an odd error.When I click on index.php, it starts to load but nothing happens.

The details:

LAMP = CentOS5.5, Apache 2.2.18(compiled from source), MySQL 5.1.57(compiled from source), PHP 5.3.6(from source too) My site: ottomatic.org as you can see in the index of files index.php is what I'm trying to load and if you check phpinfo.php you can see that PHP was installed correctly too. I added an .htaccess file with 644 permissions to my web root directory and that only seemed to produce an error, this is what I put in the .htaccess:

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /

[Code]...

View 6 Replies View Related

OpenSUSE :: Yast2 - Software Mgmt Parsing Error On Start

Mar 31, 2010

I haven't been able to locate this cause. The problem developed as follows:

1. Used a downloaded .ymp file to add a community package, chose NOT to add the repo permanently from the Customize button... installation of package failed.
2. Added the repo manually in Yast Software Repositories and it went thru the process without error, BUT the repo never appeared in the list. (this is where i think the problem lies)
3. Tried to add the package using .ymp package without blocking the new repo addition... package installed successfully. Then deleted the repo using Yast Software Repositories gui.

Now starting Yast Software Management the process starts and downloads the repo.xml files from each enabled repo, then displays a error msg stating "Parsing Error". Dismiss and it loads the normal interface and seems to work properly from then on.

View 6 Replies View Related

Ubuntu Installation :: Apt-get Failure / Error: Parsing Dependency Replaces?

May 12, 2010

As trying to update my system the other day I was greeted with a message I did not want.

Code:
tpsv@titantest:~$ sudo apt-get install update
Reading package lists... Error!
E: Problem parsing dependency Replaces
E: Error occurred while processing language-pack-kde-nds (NewVersion1)
E: Problem with MergeList /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_karmic_main_binary-i386_Packages
E: The package lists or status file could not be parsed or opened.

View 3 Replies View Related

CentOS 5 :: Yum Options Error: Parsing '1enabled=1': Invalid Boolean Value

Mar 21, 2009

i traying to install php memcache module and alot of other things but evrytime i tray to use yum i got this error $Loading "fastestmirror" plugin Options Error: Error parsing '1enabled=1': invalid boolean value i have centos 5 server 64bit is there anyone now what this error and how to fix it

View 6 Replies View Related

General :: Parsing Delimited File And Variable Scripting?

Sep 23, 2010

I did some searches and after a few hours was able to get what I needed. What I didn't find was a fully encompased means of what I'm used to in the windows world in working with delimted files. Hopefully this is helpful to others and if there is something better or leaner way, even better.We have an issue where managing printers, just viewing on RHEL w/ sys-conf-prtr we lose any number of, up to ~30 printers from lpadmin. Rather than stare and compare to find the missing ones, I wanted to make an intuitive script. This is what I came up with.

Code:
#!/bin/sh
while IFS="," read Prntr IP; do

[code]...

View 3 Replies View Related

Security :: Iptables State Module - Configuration Error / Not Enable Incoming Packets From Connections Initiated From Inside?

Mar 30, 2011

I have a server that I can only access via SSH (it's located far away) and I would like to secure it by blocking all ports except the ones that I need (which are HTTP and SSH). I still want to be able to make outgoing connections to enable software updates and other things.This is my iptables -L -n :

Code:
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED
DROP tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpts:1:21
DROP tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpts:23:79
DROP tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpts:81:65535
code....

In my opinion, this should block all incoming packets except the ones on port 80 and 22, but allow responses to outgoing connections. But a wget http://google.com does not work, it can't establish the connection.

Maybe this is not the best style for iptables rules, but I want to be absolutely sure to not accidently lock myself out from SSH, so I chose not to configure a "block-everything rule".

Does this configuration not enable incoming packets from connections initiated from inside?

View 3 Replies View Related

General :: Parsing Through A Nagios Config File To Extract Info W/ Sed - Awk - Vi

Oct 13, 2010

I have a config file called hosts.cfg.

It contains entries like this:

Quote:

There are many more of these entries in the file, over 500, all in this same format: each host has a "define host" followed by 18 directives contained in squiggly brackets.

If I want to know all the hosts that are in the hostgroup called SERVER_GRP, I suppose I would need to read every hostgroups line (8th directive in squiggly brackets) that contains SERVER_GRP and output the corresponding host_name line (1st directive in squiggly brackets) from that entry.

View 3 Replies View Related







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