General :: How To Handle Warnings
Oct 15, 2010
I've been trying to understand issues that occur during a uClinux distribution build (so I can include such issues in a module I'm writing for students). My process has been to work through errors that occur due to missing packages, then remove the distribution and build it again to uncover what happens.One thing I notice is different sets of warnings within each iteration of making a new build. From the document here (URl...it states, "A typical warning involves a variable being used before its value has been set."
So my question: is there a way to verify that the issue throwing the warning has been resolved by the end of the make build?And, is running make build again an option or could this cause problems within the build directories or image?
View 6 Replies
ADVERTISEMENT
Jul 19, 2010
-bash: export: `/usr/java/default': not a valid identifier messages when we login as root to one of our server. This started occurring after a consultant installed software on the server. I have looked around in .bashrc, etc. for the error path so I can remove it, but can't seem to locate it. Does anyone have any tips on how to locate script line where this is being included, and/or trace the login procedure to find the culprit?
View 7 Replies
View Related
Apr 8, 2011
There is not a lot of info on that command, I didn't find a manpage nor a info and not more than examples on the web. Is there any tutorial or info on internet?
View 2 Replies
View Related
Sep 30, 2010
We have setup a High Available Cluster on two RHEL 5.4 machines with Redhat Cluster Suite (RHCS) having following configuration.
1. Both machines have Mysql server, Apache web server and Zabbix server.
2. Mysql database and web pages reside in SAN.
3. Active machine holds virtual IP and mounted shared disk.
4. We have also included a script in RHCS which takes care of starting Mysql, Apache and zabbix server on the machine which turns active when cluster switches over.
The above configuration holds good if Active machine goes down as a result of hardware failure or Reboot. What if, If any one service say Apache/Mysql/zabbix running on active hangs or become unresponsive.How can we handle this scenario ? Please advice.
View 3 Replies
View Related
Jan 18, 2011
Where to get a plugin to handle *.zip files
View 2 Replies
View Related
Dec 22, 2010
I recently installed another harddrive into my Arch Linux computer. The first time I booted up all worked fine. The next time I restarted my computer though I was greeted with a /dev/sda2 not found error.
See, basically sometimes my boot harddrive is sda and sometimes it's sdb. It appears to be completely random and I don't see any options for making it non-random in the BIOS. How do I fix this?
View 2 Replies
View Related
Jun 7, 2010
cwrsync is a great tool for synching "My Documents" to a network drive in Windows. However it uses a portion of cygwin to do this which uses forward slashes instead of back slashes. So, a manually typed command like the following works great: rsync -r --delete --exclude "My Pictures" "/cygdrive/c/Documents and Settings/demo/My Documents/" /cygdrive/j
However, you cannot put a variable like %userprofile% in this as it comes out like this (and is unrecognized): rsync: change_dir "/cygdrive/C:Documents and Settingsdemo/My Documents" failed: No such file or directory (2)
View 1 Replies
View Related
Apr 30, 2011
i have a script where i need to pass an argument "1234:-)"if i run this as ./shell.sh 1234:-)it wont work because invalid character. i need to handle this with expect utility so if i pass it as ./shell.sh "1234:-)"no issue in bash but expect does not recognize this.
View 7 Replies
View Related
Mar 15, 2011
I am experiencing weird problem with Gnome 2.30.2 on my Debian installation. I can't open "Computer" from places, also, partitions which are not explicitly defined in fstab are not mounted automatically.
View 2 Replies
View Related
Oct 19, 2009
I did a backup of the ssd on my eeepc using the following command from a Linux Mint on a USB key:
dd if=/dev/sda1 of=/media/disk/eeepc_save/SYSTEM/system.bck
(/media/disk in an external USB disk)
I deleted the ext2 partition using GPartEd on live USB key and created it back. I rebooted Linux Mint and restored the filesystem using the opposite command :
dd if=/media/disk/eeepc_save/SYSTEM/system.bck of=/dev/sda1
I mounted /dev/sda1 and when I "ls" the root directory, I get several "NFS stale file handle" messages concerning directories (/dev and other). I tried "e2fsck -y", had a bundle of corrections that resulted in the deletion of the directories. I don't use NFS. I did the same for the user filesystem and had no problem (it's an ext3 partition). The two filesystems are the ones that came with the original Xandros installed on my eeepc and that were mounted with union-fs.
View 3 Replies
View Related
Jul 11, 2010
I attended many interviews for Linux Admin post. Most of them asked me a common question 'How do you handle System Performance Issues' on a Linux Server. Now how do I answer this?
View 12 Replies
View Related
Jul 29, 2011
I would very much appreciate infos about a Linux distro handling win32 applications through wine and easily capacity to manage files within FAT32 partitions.
View 7 Replies
View Related
Jan 28, 2010
1.- What would be the simplest way to port and handle tarballs downloaded in windows, to a CentOS 5.4 based system (Elastix in fact), but without graphic mode (that is, using only the CLI)? The system has network contection, usb interfaces and a working DVD-RW attached.
2.- If the answer is Samba, how I get Samba working on my system?
View 3 Replies
View Related
Nov 2, 2009
* I am implementing mass storage device on a test board.
* It contains NAND flash.
* Using corresponding "udc driver" and "g_file_storage" I could make my test board enumerate as mass storage device on my Linux machine.
* my 16 MB pen drive (test board) is now ready for read/write.
But there are some Bad Blocks on the NAND.Hence copy is not complete. Although on Linux machine there is no error message. Now , what is there in a normal pen drive which manages the Bad Block or what am I missing so that such Bad Blocks are managed.
Here is the error I get on my test board :
mtdblock: erase of region [0x2c0000, 0x4000] on "Bon 2" failed
end_request: I/O error, dev mtdblock2, sector 5664
Buffer I/O error on device mtdblock2, logical block 708
[code]....
View 3 Replies
View Related
Oct 12, 2010
I am proposing moving from the mainframe to Linux. Problem is that I am not aware of a scheduling product that is available to handle the production code. Currently using CA7. Is there anything out there that accomplishes the same thing? As you can tell, I am NEW to Linux!
View 1 Replies
View Related
Aug 4, 2009
We have Linux server in our environment for application development. In this server we mounted so many NFS share from Storage. Past few days we receive this error in
syslog kernel: nfs_statfs64: statfs error = 116
Some user fased this error "Stale NFS file handle"
Server info
OS= RedHat
Kernel = Linux hostname 2.4.21-47.ELsmp #1 SMP Wed Jul 5 20:38:41 EDT 2006 i686 i686 i386 GNU/Linux
View 1 Replies
View Related
May 26, 2011
Currently running Slackware 13.37 64-bit on a notebook and finally have suspend/hibernate after realizing that USB devices, especially USB HDDs, need to be disconnected before suspend/hibernate can work. Problem is I have 2 USB HDDs that are connected to my notebook whenever the notebook is stationary for the extra storage so I'd like to create a script that would get invoked that would stop the suspend/hibernate process if certain partitions are mounted. I know what I would like to accomplish, but I have basic scripting knowledge so I was hoping to get some assistance.
1. script would basically store a user specified string containing devices that are non-USB, ie: NONUSB="/dev/sda /dev/sdb"
2. possibly use /etc/mtab to get a list of what is currently mounted and then remove lines containing whatever is specified in $NONUSB and store those values in $USB
3. run a for loop that executes 'umount' on each token in $USB
3a. stop suspend/hibernate process if 'umount' fails at any point
3b. if 'umount' passes then suspend/hibernate
View 2 Replies
View Related
Jan 13, 2009
I get this error which means I cant visit websites. I cant rm, cp, mv, vi, ... this file. How do I regain the ability to browse the internet? Is there a way I can create a /etc/resolv.conf2 and have my system use that instead?
View 4 Replies
View Related
Jan 11, 2011
You should be running a firewall. I would also periodically check for rootkits with rkhunter and chkrootkit. Antivirus is usually optional, but it depends on your network ... if you have Window$ machines, do use clamav or something.Hope I'm not distorting the thread but just ran rkhunter and got a lot of red warnings, especially worrying seems:
Quote:
Applications checks...
Applications checked: 4
Suspect applications: 3
View 11 Replies
View Related
Nov 4, 2010
kernel 2.6.21.5, Slackware 12.0 cdrecord 2.01
Code:
This is the command line I used to run cdrecord. Afterwards, I ran 'cdrecord -media-info' on the same disc and, as a result, I got the messages contained in the file I am adjoining. There, two consecutive warnings can be seen, which I quote:
Quote:
The disk, after recording, however, is both readable by GNU/linux and another O.S. What is the meaning of those warnings and what are its possible implications? I would like to know.
View 11 Replies
View Related
Jan 19, 2010
I'm trying to create a signal handler thread to handle SIGALRM signals. The main thread calls the following function before creating any other threads
Code:
pthread_t Timer::Init(long _clock_interval_musec)
{
// Set interval.
clock_interval = _clock_interval_musec;
// This is called while in a single threaded environment.
[code]....
clock_interval is 50.
Is the timer not firing? Did I not set my interval correctly? Did I not proper block the signals ensuring the that the default handler would not take care of them?
View 7 Replies
View Related
Aug 26, 2010
Im currently installing debian on my old server, its a 64bit computer, so i've downloaded the amd64 for this project. But under the Basis Installation, of this cd image, im getting a debootstrap warning every time i want to continue the installation, the last warning i remember was something coreutils_6.10-6_amd64.deb (Something like that, not totaly sure), and im lost, can't find anything closely related to the subject.
View 11 Replies
View Related
Apr 27, 2010
When I start up my computer I always get the Akonadi message window with some errors. If I just close it, launch "akonadi configuration" and ask for a test, some of the errors have already disappeared. It looks like the first test is made too soon, before everything is running. It's not a big issue but I would like to get rid of the akonadi warnings window. Does anybody know how?
[code]...
View 9 Replies
View Related
Nov 14, 2010
Every time I run "apt-get" or "apt-get autoremove" terminal-commands lately, I see this:
Code:
Do you want to continue [Y/n]? y
(Reading database ...
dpkg: warning: files list file for package `mythtv-theme-metallurgy' missing, assuming package has no files currently installed.
(Reading database ... 10%
[Code].....
View 1 Replies
View Related
Dec 23, 2010
Last night I received the classic rkhunter's email with several warnings inside:
Quote:
Warning:
Warning:
Warning:
and so on..
Why rkhunter isn't able to calculate the hash of those files and compare it with the stored one?
Other strange thing: for the "good" file, the hash is often different!
For example, in the last rkhunter.log, /bin/awk is "good".
But:
Quote:
Quote:
So, if the sha1sum is different, why rkhunter tell me that awk is secure?
View 1 Replies
View Related
Dec 2, 2010
I've decided to learn perl and have an application that is going to require the use of mysql.
Are these warnings bad?
Here's the code:
Code:
And the warnings:
Code:
View 2 Replies
View Related
Feb 28, 2011
I am just now doing the 'final' few tweeks on my new x86_64 Laptop running multilib-enabled Slackware Current and as part of the process, I installed compat32pkg and ran:
Code:
Next, to test compat32pkg, I ran:
Code:
The compat32pkg script seemed to do the 'right thing', placing the three Slackware Packages in the /var/cache/compat32pkg/compat-32/ directory as it was configured to do:
Code:
Note the warnings about 'etc/gtk-2.0/i486-slackware-linux/im-multipress.conf.new' ...
Is there a missing file in the SlackPkg ?
Code:
View 2 Replies
View Related
Jan 7, 2010
I got these warnings, on Slackware64 13.0, so I aborted the build:
Code:
gcj -O2 -fPIC -w --encoding=UTF-8 --classpath="/tmp/SBo/pdftk-1.41/java_libs" -c Anchor.java -o Anchor.o
GC Warning: Repeated allocation of very large block (appr. size 2097152000):
[code]....
View 3 Replies
View Related
Sep 14, 2010
I've made a CentOS 5 x86_64 setup last year, around november/december.This system is supposed to operate as a home router/gateway, firewall, nas, small intranet/extranet server and media center.I've previously built a system using older parts (Pentium III 866MHz), and had on it CentOS 5 x86.It successfully served the same purpose (except nas and media center) for quite some time, about 1-2years, until i felt i needed better hardware (more memory, speed and disk space mainly) and 64-bit support.
Part of this intended setup isn't finished (router/gateway, firewall, media center), partially because i'm still lacking a good 1000mbps switch and a supported wireless n 3-antenna card in AP/server mode.In the previous setup, i had router/gateway, firewall and small intranet/extranet server working, with a crappy 100mbps switch (the switch is broken now).the new setup has run pretty well, it had been upgraded 2 times, etc...But since it has been installed, even before any updates, upgrades or repo additions, there has been always warnings/errors during kernel boot.I'm listing my specs, configs, versions and logs bellow. all the partitions, RAID and LVM were created during CentOS initial setup.
Hardware:
Case:1x Cooler-Master CM-690 II Advanced (RC-692-KKN2)
PSU:1x Corsair VX450W (CMPSU-450VX)
[code]....
View 7 Replies
View Related
Aug 31, 2010
I'm trying to install uzbl and was following the step by step guide on this page http://xanderboy.esdebian.org/36949/uzb ... orts-flash
When i run make i get a lot of errors and warnings. Can anybody point out what I'm doing wrong?
here's what I get code...
View 14 Replies
View Related