Running an Oracle ODI installer on a CentOS vm, I encountered an error of the type:
checking for hardnofiles = 4096; found hardnofiles = 1024 Failed
checking for softnofiles = 4096; softnofiles = 1024 Failed
The fix was to edit my/etc/security/limits.conf file:
* soft nofile 16384
* hard nofile 65536
Okay, so you’ve screwed the pooch and need to reset the password for root on your Red Hat/Fedora/CentOS installation. Assuming that it is a default installation, without hardening, this can be done fairly easily.
This assumes you have GRUB installed.
- When the GRUB login screen comes up, hit “e” to edit.
- Move the cursor down to the kernel line and hit “e” again.
- At the end of the kernel line, add a space and the word “single.” This will force the reboot into single user mode. Continue booting the server. You will automagically be logged in as root.
- Run the passwd command to reset root’s password.
- Reboot as normal.
I went to run ./configure to begin the install of ImageMagick-6.2.9 and was informed that I was missing a gcc compiler. I looked in Synaptic, which indicated that I did have a gcc compiler installed. Then I did a search for it, which indicated that it was located in /usr/lib directory. So, I added that to my PATH in my .bashrc and logged out and back in. gcc was still not found when I tried to run the configure.
I went to ubuntuforums.org and found the following helpful command which got me the files required to configure the install (must be run as root, or sudo):
sudo apt-get install build-essentials