Software :: Nagios Compiling Warning: Ignoring Return Value?
Sep 29, 2010
When I try to compile Nagios on a new box I keep getting a lot of messages as follow with these strange characters:
Code:
nagios.c: In function main:
nagios.c:463: warning: ignoring return value of getcwd, declared with attribute warn_unused_result
[code]...
View 2 Replies
ADVERTISEMENT
Nov 1, 2010
I've just moved onfrom developing some code on Debian (gcc 4.1) to Ubuntu (gcc4.4) and a warning in my g++ code has appeared. Basically in some serial prot code I get this errorwarning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_resultfrom function
void TxChar(COMPORT *port,unsigned char letter)
{
pthread_mutex_lock( &txmutex );
[code]....
View 7 Replies
View Related
Jun 15, 2011
Quote:
(gimp:4216): GLib-WARNING **: /build/buildd/glib2.0-2.28.6/./glib/goption.c:2132: ignoring no-arg, optional-arg or filename flags ( on option of type 0
segmentation fault
gimp stopped working on kubuntu after installing updates, any fix?
View 9 Replies
View Related
Sep 6, 2010
Trying to upgrade the following packages in Squeeze: apt apt-utils aptitude libept1 python-apt synaptic
The output terminal gets hung up with this message: WARNING: terminal is not fully functional /tmp/tmp9PEsnI (press RETURN)
After pressing RETURN:
apt (0.7.26-exp3) experimental; urgency=low
* apt-ftparchive now reads the standard configuration files in
/etc/apt/apt.conf and /etc/apt/apt.conf.d
[code].....
View 4 Replies
View Related
May 27, 2010
I used sudo apt-get build-dep wine1.2 to get the dependencies for the lastest Wine, but when compiling it, I get:
configure: WARNING: No OpenGL library found on this system. OpenGL and Direct3D won't be supported.
I thought it gave me all the dependencies I needed.
View 1 Replies
View Related
Feb 10, 2010
Having problems compiling a program on a new server. It compiles just fine on Ubuntu 8.0.4 server but a new install of the latest Ubuntu Server edition it throws out a bunch of warnings on configure. I am assuming I am missing some lib's or something of the sort.
Code:
checking for sys/select.h... yes
checking for sys/types.h... (cached) no
checking for unistd.h... (cached) no
checking for memory.h... (cached) no
checking crypt.h usability... no
checking crypt.h presence... yes
configure: WARNING: crypt.h: present but cannot be compiled
configure: WARNING: crypt.h: check for missing prerequisite headers?
configure: WARNING: crypt.h: see the Autoconf documentation
configure: WARNING: crypt.h: section "Present But Cannot Be Compiled"
configure: WARNING: crypt.h: proceeding with the preprocessor's result
configure: WARNING: crypt.h: in the future, the compiler will take precedence
checking for crypt.h... yes
checking assert.h usability... no
checking assert.h presence... yes
configure: WARNING: assert.h: present but cannot be compiled
configure: WARNING: assert.h: check for missing prerequisite headers?
configure: WARNING: assert.h: see the Autoconf documentation
configure: WARNING: assert.h: section "Present But Cannot Be Compiled"
configure: WARNING: assert.h: proceeding with the preprocessor's result
configure: WARNING: assert.h: in the future, the compiler will take precedence
checking for assert.h... yes
checking arpa/telnet.h usability... no
checking arpa/telnet.h presence... yes
configure: WARNING: arpa/telnet.h: present but cannot be compiled
configure: WARNING: arpa/telnet.h: check for missing prerequisite headers?
configure: WARNING: arpa/telnet.h: see the Autoconf documentation
configure: WARNING: arpa/telnet.h: section "Present But Cannot Be Compiled"
configure: WARNING: arpa/telnet.h: proceeding with the preprocessor's result
configure: WARNING: arpa/telnet.h: in the future, the compiler will take precede nce
checking for arpa/telnet.h... yes
checking arpa/inet.h usability... no
checking arpa/inet.h presence... yes
configure: WARNING: arpa/inet.h: present but cannot be compiled
configure: WARNING: arpa/inet.h: check for missing prerequisite headers?
configure: WARNING: arpa/inet.h: see the Autoconf documentation
configure: WARNING: arpa/inet.h: section "Present But Cannot Be Compiled"
configure: WARNING: arpa/inet.h: proceeding with the preprocessor's result
configure: WARNING: arpa/inet.h: in the future, the compiler will take precedenc
View 9 Replies
View Related
Jun 7, 2011
Downloaded the stable kernel 2.6.36.4 from kernel.org/ (Current Kernel:2.6.18-92.el5) However i have extracted the source code .ran make mrproper copied the old configuration file and selected it by using make menuconfig .However after selecting it and clicking ok i m getting following error.
Code: .
config:656:warning: symbol value 'm' invalid for IP_DCCP_CCID3
.config:657:warning: symbol value 'm' invalid for IP_DCCP_TFRC_LIB
#config:1353:warning: symbol value 'm' invalid for FIXED_PHY
# configuration written to .config 'm' invalid for IWL4965
[code]....
View 9 Replies
View Related
Jun 6, 2011
I am running Nagios on CentOS. Everything is working fine, all my clients status is ok. One thing which is confusing me is "Root Partition WARNING" on my own server which has Nagios installed. I think that these things are controlled by nrpe, which is installed in clients servers. what i want to know is how i manage my own server, in which config files i have to make changes?
View 14 Replies
View Related
Aug 4, 2010
I installed Nagios on my Ubuntu 10.04 server using apt-get and when I accessed the web console, everything was OK. I made some changes to apache (creating some new virtual sites) and since then Nagios gives me a warning message for HTTP with the message, HTTP WARNING: HTTP/1.1 404 Not Found. The sites that I created are working perfectly. I noticed that the attemps are 4/4. Does this need to be reset or does Nagios automatically reset that once it detects the issue is resolved?
View 1 Replies
View Related
Aug 23, 2010
I have little problem with my texinfo, it seems to be installed but during the compilation I get this error:
WARNING: `makeinfo' is missing on your system. You should only need it if you modified a `.texi' or `.texinfo' file, or any other file indirectly affecting the aspect of the manual. The spurious call might also be the consequence of using a buggy `make' (AIX, DU, IRIX). You might want to install the `Texinfo' package or the `GNU make' package. Grab either from any GNU archive site.
[Code]...
View 9 Replies
View Related
Jul 9, 2011
Error: Cannot open log file '/usr/local/nagios/var/archives/nagios-07-08-2011-00.log' for reading!
View 2 Replies
View Related
Aug 4, 2010
How to see the code behind the nagios plugin: Nagios Checker? I opened the folder which i have downloaded. After that where do i have to go to see the codes? Is it in App_Codes?
View 14 Replies
View Related
Jul 15, 2011
So we monitor all of our disk space, but only get pages for critical. What we would like to do is have one email sent to our team every month with all the "Warnings" for our disk. I have been searching and haven't found a way to do this. Any suggestions?
View 1 Replies
View Related
Jul 6, 2010
i just tried to install Ubuntu Netbook 10.04 on my old Amilo Lifebook P Series. But after the boot screen and the choice to install Ubuntu i get stuck at the Ubuntu screen with the little dots on the bottom If I hit esc i can see the warning (process 257): GLib-WARNING **: getpwuid_(r) failed due to unknown user id (0)
View 2 Replies
View Related
Jun 12, 2010
I have defoptions=quiet in my menu.list file and it keeps printing
ignoring bad line 1 'powernow-k8' across the screen during boot. The thing is that I have removed that line from /etc/modprobe.d/options, so why do I keep getting the warning?
View 5 Replies
View Related
Aug 31, 2010
I've recently upgraded my home server from fc5 to fc13 which means installing the latest version of postfix (identified as 2.7.0 in the maillog). It is used to send mail from cron jobs and logwatch to a local mailbox (aliased) and my googlemail account so I can monitor when away from home. I finally got it working, but had to pull a trick that I feel bad about--it feels very hacky, and does not survive a reboot.The problem is no matter what I do, this version of Postfix ignores the settings for "masquerade_domains", "myhostname" and "mydomain" in main.cf, using instead whatever 127.0.0.1 (or :::1) is set to in /etc/hosts!!
To send mail to Internet locations, the "from" needs to be a valid domain. In an earlier version of Postfix (2.6.x) I just fudged this to a domain I own (that is parked) in main.cf using "masquerade_domains". Now I have to insert it in /etc/hosts instead of "localhost". I can't find anyone on the web who seems to be having this problem. Postfix is definitely reading main.cf as it is obviously picking up other setings such as debug_peer_level and proxy_interfaces.
As I said, it works, but I don't like my solution and /etc/hosts gets rewritten to ":::1 localhost6.localdomain6" when the system is rebooted, meaning I have to edit it to get Postfix working again as sendmail rejects "localhost6.localdomain6" as not found:
[Code]....
View 4 Replies
View Related
Dec 22, 2010
I am using F14 installed from DVD, updated to the latest bugfixes for all packages; I also have the nvidia proprietary drivers installed.I have configured my gnome-screensaver using gnome-screensaver-preferences to have a delay of one hour before it blanks the screen. However, no matter the settings I choose (even testing with only a 1 minute delay) the screensaver always kicks in at the 10 minute mark. This persists no matter the graphics driver I use.The only means by which I can stop the screen from locking while watching videos online is to kill the gnome-screensaver daemon.What information should I provide to assist in determining why this is happening? It's very aggravating. I'll include my current xorg.conf in the event that it may help.
View 1 Replies
View Related
Jun 21, 2010
I'm having a file with repeated particular text lines. So I need to view the file content ignoring these lines. Is there anyway I can achieve this using VI
View 2 Replies
View Related
Feb 19, 2011
I've commented out a line in the crontab on a debian server, which I guess was there by default yet was causing me to get error emails every hour:
# m h dom mon dow user command
17 * * * * root cd / && run-parts --report /etc/cron.hourly
However, the error emails keep coming in as if it hasn't been commented out. The error emails:
Subject: Cron <root@(none)> root cd / && run-parts --report /etc/cron.hourly (failed)
/bin/sh: root: not found
View 2 Replies
View Related
Aug 28, 2010
i used 'sort' to sort a 160k line file and looked though it and noticed this
RS:HALP
RS HD
RSHD
[code]....
View 2 Replies
View Related
May 24, 2011
Files downloaded with Firefox, Chromium, Miro etc. will not open correctly. Clicking to open the file (e.g. jpg or ogg) should result in the file opening with eog or audacious. Results - from Nautilus this works correctly, however from other applications the result is a Nautilus window. Placing a file 'test.torrent' on the desktop and using terminal to do
Code:
gnome-open test.torrent
or
Code:
xdg-open test.torrent
results in the same behaviour. However, simply clicking the file in Nautilus opens it in Deluge (correct behaviour).
View 4 Replies
View Related
Nov 4, 2010
I'm trying to write a bash script that has to extract values from a csv file. Problem is there are lines like this:a,b,c,"dd,dd,dd",e,f,gI'm using awk to extract the values but when I try it extract value 4 with awk I get:"ddinstead of:"dd,dd,dd"Does anyone know how to get awk to ignore commas within double quotes?
View 5 Replies
View Related
Feb 18, 2010
I have a squid3 on a debian lenny box but cannot get access to any site.
If i remove the http_access deny all works, but i just want those ip to get access to squid
My squid.conf
Code:
intranet:/etc/squid3# cat squid.conf
acl manager proto cache_object
acl localhost src 127.0.0.1/32
acl to_localhost dst 127.0.0.0/8
#acl all src 0.0.0.0/0
[Code].....
View 3 Replies
View Related
Jun 29, 2010
I writing a script to go through multiple reports. I want to grep daemon.debug @10.10.10.10 on all reports to make sure it is pointing to the right IP address. the problems is the space between debug and @10 are different on all the reports, some have one space some have two and some have tabs how do I ignore the tabs or spaces and grep daemon.debug @10.10.10.10
daemon.debug /var/log/ftp rotate size 20m files 4 compress
daemon.debug @10.10.10.10
authpriv.* /var/log/secure rotate size 20m files 4 compress
authpriv.* @10.10.10.10
View 6 Replies
View Related
Nov 28, 2009
Since this morning, in a normal Gnome session, all of my GTK apps, menus and icons (except, oddly for the Gnome panel) are using the same drab and boring style that they use when they're running as root. Which they're not.No one else uses this computer, and I've made no changes to any GTK-based or affecting settings, except to try to change the GTK controls, with no effect at all. So I cannot understand why this is happening.
View 4 Replies
View Related
May 25, 2011
I have exim setup on squeeze to run as an "internet site". Outgoing mail works fine but it seems to just ignore incoming smtp requests on port 25. I can see the incoming connection via tcpdump but exim doesn't seem to talk. If I connect via telnet it rather quickly says connection refused. Is there something additional I need in the Exim conf?
View 1 Replies
View Related
Nov 28, 2015
I am trying to instsal Gnome. While installing, 'gnome-getting-started-docs' fails. This is not a critical package, and I would like to see gnome installation / setup continue.
Is it possible with some command line options? I've tried 'apt-get -f install' 'apt-get -m install gnome' and various combinations thereof.
(Error I see is 'dpkg-deb (subprocess): decompressing archive member: lzma error: compressed data is corrupt).
View 4 Replies
View Related
Jul 16, 2010
I have downloaded Fedora-13-x86_64-Live and burned it to a CD. Restarting the computer with the CD in the drive, it is simply ignored and Windows 7 boots normally
It's an HP Pavilion Slimline s5510f PC.
Operating System
Name Microsoft Windows 7 Home Premium Edition (64-bit)
Build Number 7600
DirectX Version 11
[Code]....
View 6 Replies
View Related
Aug 8, 2011
installed Fedora 14 on my desktop a couple of days ago. For the most part, it seems to be fine, but I've got a problem with the 'put display to sleep when inactive for' setting. From the desktop, I've tried going to system/preferences/power management, where I've set the display to go to sleep when inactive for 30 minutes - however, it instead goes to sleep after five minutes. The same applies whether I set it to 10m, 30m, 1hr or never.
Having looked online, someone mentioned gconf-editor as a fix to another issue, so I decided to give that a try as well. Under /apps/gnome-power-manager/timeout, I tried setting sleep_display_ac, sleep_display_battery and sleep_display_ups each to 1800 ("The amount of time in seconds before the display goes to sleep" - 30mins, by my maths) on the off-chance that the OS had incorrectly detected the power source, but the display again went to sleep after five minutes.
If it makes any difference, I'm not using a screensaver, and I think the kernel I have installed is 2.6.35.13-92.fc14.i686 (that's what's given in System Monitor). I've also tried running yum update, again just on the off-chance it'd fix something, but everything is up to date.
View 10 Replies
View Related
Mar 20, 2011
I am trying to install BackupPC on openSUSE 11.4 64 bit.BackupPC is complaining that I am not running the Apache server as user backuppc but as user with id 0 (root)I have the following in the /etc/apache2/uid.conf (which is getting read as I can put a syntax error in the file and it complains):
User backuppc
Group www
When I run either the httpd2-itk (default in rcapache2) or the plain httpd2 processes and then do a:
ps aux
The user reported as running the http processes is root NOT backuppc.On a openSUSE 11.3 machine where I have BackupPC running successfully the ps command returns backuppc as the user running the processes.Is this something others are seeing or do I have some configuration incorrect?
View 8 Replies
View Related