Server :: Cannot Set Kernel Parameters / What To Do?
Feb 8, 2011
I have a strange problem with RHEL4.7, with kernel 2.6.9-78.
I cannot set any kernel parameters by editing sysctl.conf file and run sysctl -p, everytime the old value appears, while it was possible before.
I tried to edit files under /proc by using vi when trying to save it gives me: E667: Fsync failed!
While echo 1>/proc/sys/net/ipv4/ip_forward also cannot edit the file.
Also I mounted proc device on another mount point:
# mount -t proc proc /mnt
View 1 Replies
ADVERTISEMENT
Feb 4, 2010
Bottom line first: Is there a GUI or otherwise friendly tool to modify the kernel parameters? One that will give help on a highlighted parameters?
Now as to my reason for this question:
In preparing for an Informix installation, I may need to change some kernel parameters. I could follow the advice of G�rard BIGOT from a couple of years ago at this URL. However, messing with the kernel this way, by directly editing /etc/sysctl.conf, is a bit scary. I have already backed up the current one and started editing according the Informix machine notes. However, I have commented out my new settings. [:Chicken]
The scariest aspect of this is that the notes recommend settings to kernel parameters that I do not find in /proc/sys/kernel. for example, it recommends setting SHMMIN to 1 but when I can /proc/sys.kernel/shmmin, there is no such file. (I did find shmmax.) Similarly for the very logical shmseg (max number of shared memory segments) - not found. I am afraid to add these into sysctl.conf if the equivalent pseudo-files don't exist.
Additional question: Where [on-line] do I find all kernel parameters documented? This is so that I am more certain of what I am doing instead of relying on my memory. For example, I don't recall the names of the parameters that control Kernel-Asynchronous I/O (KAIO) events.
View 3 Replies
View Related
Jun 18, 2010
Ubuntu 10.04 Gnome IBM Thinkpad 600e.I am trying to get sound going in my 600e which has the wrong chips in the sound card. I found some notes from 2008 that said in one of the steps to add the following to my kernel boot parameters: noapci nolapci notsc acpi=off pnpbios=off pci=noacpi
It said to hit the Esc key when I see the Grub Count on boot up to get into the kernel boot parameter's editor. However, I am not seeing any Grub Count and pressing the Esc key every second during boot up doesn't seem to get me there either. I have been searching for how to edit the boot parameters but no luck so far.
View 3 Replies
View Related
Apr 27, 2011
We're using 10.10-server. We are trying to make grub boot changes permanent. I've already looked at thread [URL]. We updated /etc/default/grub, and update-grub propagates those changes into /boot/grub/grub.cfg, but not into menu.lst. It appears to use menu.lst as the source at boot, so our change doesn't show up as a linux parm.
View 3 Replies
View Related
Sep 8, 2010
I have installed grub2 on a flash drive to boot some os's that I want to carry around. But in grub.cfg when i put this:
Code: menuentry "BackTrack Persistent" {
set gfxpayload=1024x768
linux/backtrack/boot/vmlinuz BOOT=casper boot=casper persistent rw quiet
initrd/backtrack/boot/initrd.gz
} it does exactaly the same thing as this
[Code]....
I'm thinking of filing a bug report but I want to make sure i'm not doing something wrong first.
View 4 Replies
View Related
Nov 16, 2010
We just doubled the RAM on our RHEL 4 production servers...Oracle from 16gb to 32gb and Apache/JBoss from 8 to 32 gb. I am trying to figure out how to get the biggest bang from the increased RAM. Should kernel.shmmax be upped to be 50% of the 32gb....from its current 8gb? I need to create the largest possible SGA and was unable to do so, apparently because the kernel.shmmax value had gone unchanged.
And for the JBoss web servers, also RHEL 4, and particular kernel changes which can take advantage of the increased RAM and provide an immediate performance improvement?
View 7 Replies
View Related
Aug 28, 2009
I want to start to play with "homemade" kernels. (To get some experiences in this subject). I want to do this step-by-step. I have already read a lot about this. I have a Fedora 10 running. So I want to start with this. I have read that there is a "special" way to create a kernel for Fedora. [URL] OK. I understand this +/-. When you build a new kernel with an other version number, you have to rebuild all the modules with this new kernelversion, and you have to install these also.
But : I want to start with modify only some parameters in my kernel config. Do I need to rebuild and re-install the modules also? Will it not be enough to rebuild only the kernel? (vmlinuz) Where can I find some information about the options I can disable in my kernel to speedup my system? (boot process ed). I want to suppress the loading of unneeded modules. I want to understand the options in menuconfig (and there are a lot of options ! ! )
View 1 Replies
View Related
Jan 16, 2010
insmod: error inserting 'kernel.ko': -1 Invalid parametersI am getting this error when i am try to insert kernel.ko into kernelMy systemfedora 12 with gcc 4.4.2insmod kernel.koinsmod: error inserting 'kernel.ko': -1 Invalid parametersmy program
__________________kernel.c________________________ ___________
#include <linux/module.h> /* Needed by all modules */
#include <linux/kernel.h> /* Needed for KERN_INFO */
[code].....
View 4 Replies
View Related
Feb 8, 2010
How do i find out the exact kernel parameters (from the grub config file) when the boot loader is corrupt. Seems like a catch 22 that I need the exact boot parameters when I cant get to a prompt to read the grub.conf file to being with.
View 2 Replies
View Related
Sep 1, 2010
i have an hp pavilion dv7 and am using f13 64bit. my laptop has a built in woofer underneath that i have never been able to get to work. after the latest kernel update today my laptop now has woofer sound. there must be some new support for my laptops audio card. the problem is that it is a little overbearing. how can i a) disable this feature b) tweak the parameters like crossover frequency or gain? edit: i checked the changelog for 2.6.34 and couldn't find any info on any new audio support features.
View 5 Replies
View Related
Oct 23, 2010
I would like to create an unattended install ubuntu 10.10 cd. I have followed the ubuntu [URL].. on creating the preseed file, however, I can't find any useful tutorial on how to set the kernel parameters to perform an unattended install using my preseed file.
View 1 Replies
View Related
Nov 16, 2010
I saw this forum post and I want to try it out so I went here and copied and pasted the following text into a file called test.patch.
Code:
---
Documentation/kernel-parameters.txt | 2
drivers/tty/tty_io.c | 1
include/linux/sched.h | 19 ++++
init/Kconfig | 12 +++
kernel/fork.c | 5 +
kernel/sched.c | 25 ++++--
kernel/sched_autogroup.c | 140 ++++++++++++++++++++++++++++++++++++
[Code]....
1 out of 1 hunk FAILED -- saving rejects to file linux-2.6/Documentation/kernel-parameters.txt.rej I'm not so good with patching so I am sure it is probably something easy.
View 7 Replies
View Related
May 24, 2010
My company support a client with an old Redhead server " Linux version 2.6.9-5.ELsmp [URL] (gcc version 3.4.3 20041212 (Red Hat 3.4.3-9.EL4)) #1 SMP Wed Jan 5 19:30:39 EST 2005" My IT department wants to move this old server to a VMware machine and I'm trying to check if this project can fly. Me my self never worked on an old Linux server there for my first question is can I upgrade the kernel with the command yum -y install kernel..... and when I'm done I'm still going to have the old kernel just in case?
View 1 Replies
View Related
Mar 7, 2011
Currently I am looking at the following way to solve my problem that uses more than 3GB RAM on 32-bit Ubuntu.
[url]
For various reasons, I am trying to downgrade server kernel to desktop kernel. Can anyone given me some ideas?
View 5 Replies
View Related
Dec 11, 2009
default in openSUSE 11.2 we have installed kernel-desktop. This kernel is optimized for the desktop.
What is the name of kernel optimized for server machine? In my case Firebird database + Apache + PHP?
View 9 Replies
View Related
May 3, 2011
I have installed nfs-kernel-server on the server and nfs-common on the client. Assumeserver 192.168.1.1client 192.168.1.3
content of /etc/exports is:
/home 192.168.1.0/255.255.255.0(rw,sync,no_root_squash)
/home/nfsroot 192.168.1.0/255.255.255.0(rw,no_subtree_check,async,no_root_squash)
[code]....
View 4 Replies
View Related
Jan 12, 2011
How to use CHMOD in linux? When I try to delete a file/folder, permission is denied. What exact params must I give for chmod here? This is what I need to do. Execute a command ./build.mips , but I get permission denied error.
kirti@sgf:/disk/go$./build.mips
-bash: ./build.mips: Permission denied
View 3 Replies
View Related
Mar 8, 2010
Specifically I'm trying to run xmacro from within a c program. If I were to run it from the terminal I would do it along the lines of Code: xmacroplay :0.0 < script_file.txt, but I want to run it from my c program. I'm fine with my c program running it from the terminal if that's possible and easier but I'm guessing there must be a better way.
View 3 Replies
View Related
Mar 11, 2010
A couple of weeks ago I installed Karmic. In previous options in Audio CD Extractor I modified a string in the "edit preferences" to set the variable bit rate for MP3 ripping. Specically the option "VBR=4" (Lame New Algorthym) However, I now notice that the "VBR=" option is no longer there!
I've searched around and read some indications that using a newer realease of Lame this is no longer necessary. But its a bit unclear to me. Do I need to insert VBR=4 or not? and if I do anyway will it affect anything?
View 5 Replies
View Related
May 22, 2010
when one select System -> Preferences -> Mouse Preferences -> Touchpad -> Enable mouse clicks with touchpad, this results in sydaemon being started with the following parameters:
Code:
syndaemon -i 0.5 -k
while this is fine, for me the half second threshold seems to be too short, and I
[code]....
View 6 Replies
View Related
Mar 11, 2011
From the man page for bash...
Quote:
If the -c option is present, then commands are read from string. If there are arguments after the string, they are assigned to the positional parameters, starting with $0.
Code:
View 6 Replies
View Related
Jan 25, 2011
Just installed squeeze from previous Lenny and am having problems. With Lenny, for the tv card, needed: the modudule saa7134 card=54 tuner=78, i.e. had to give it the card= tuner= stuff - it could not autodetect that bit. Squeeze appears the same:
Code:
[ 5.055340] saa7133[0]: subsystem: 17de:7253, board: UNKNOWN/GENERIC [card=0,autodetected]
So, question, how do I give it the module options? - the problem is 'modconf' will not unload the saa7134 module because it says it is in use, even though the TV is not being used. And # modprobe saa7134 card=54 tuner=78 does not appear to do anything - it does not say anything but nothing shows on dmesg. Here is how tvtime, a fairly fool proof tv player, behaves:
Code:
root@fido:/home/lugo# tvtime
Running tvtime 1.0.2.
Reading configuration from /etc/tvtime/tvtime.xml
Reading configuration from /root/.tvtime/tvtime.xml
mixer: Can't open device /dev/mixer, mixer volume and mute unavailable.
[Code]...
View 2 Replies
View Related
Mar 21, 2011
I've a script that it's invoked with n-variable parameters. Here's an examples:
Code:
./myprogram.sh inputdir FIELD1 FIELD2 ... FIELDN outputfile In the script I would like to get the FIELD names that were passed.
View 4 Replies
View Related
Mar 13, 2010
I have the following bash script:
Code:
Which has the name 'extractemails.sh' and works just fine.
However, i whish to be able to give the url (or any other url) as a parameter when i run the script like this: $ extractemails.sh [url]
What should i change in my code? i have never tried passing parameters to scripts before.
View 4 Replies
View Related
Mar 6, 2011
the problem is i am changing the parameters in main.cf file but postfix is not accepting them. its still inheriting my system's host name and domain
here is my configuration
my main.cf file
myhostname = mail.example.com
mydomain = example.com
myorigin = $domain
[Code].....
Nothing is accepted. I have test this on CentOS 5.5 and Fedora 14 both have the same result.
View 3 Replies
View Related
Dec 21, 2010
I am reading a tool manual and it instructs to use such a command:
Code:
Especially, what does the 'sort' parameters and awk do?
View 8 Replies
View Related
Jun 21, 2010
I am looking for ways and tricks to speed up the time dd takes to backup a whole partition and/or a whole hdd to a file.I recently used Acronis TrueImage on a Windows box at work to clone a 230GB hdd onto another..the process took around 5 minutes, if.Now, I've done hdd backups into a file or other hdds via dd before, however compared to that, they've been horrendously slow.What are the best settings for getting a -fast- backup/ restore via dd of, say, an ext3 filesystem?
View 7 Replies
View Related
May 20, 2010
[URL]... The above url is generated by PHP code.
Code:
if($msg=="No capex advice")
echo " .. <a href="upload_capexadvice.php";
if($msg=="No purchase order")
echo " .. <a href="upload_purchaseorder.php";
if($msg=="No invoice")
[Code]...
I pass two parameters in a URL, s and q. I recently ran into the problem that the & in the value(aerial&satelitecity)causes a bit of trouble so I need to replace it. After some research I found that it needs to be replaced by %26. I've tried the standard PHP functions htmlspecialchars and htmlentities, but they translate to & Is there another function that I haven't found yet or must I write my own?
View 2 Replies
View Related
May 3, 2011
I have a bash script where I am replacing a date with a variable
Code:
variable="date"
sed -r "s/([0-9][0-9])/([0-9][0-9])/([0-9][0-9][0-9][0-9])/$variable/g" /path/to/file.txt
I have googled but cant find any info on what the -r, or sometimes I have seen -i and -e, after the "sed" I googled "sed parameters"
r appears to output the replaced date, but not change the original file. Usually using -i will change an original file for me. Does anyone know what the -i, -e, -r are about? A link to an explanation would be good, as I have been unable to find one in my searches.
View 10 Replies
View Related
Mar 12, 2011
I installed Debian 6 last night on an older Compaq. For the system to properly reboot and shutdown when requested, both acpi=force and reboot=warm must be in the boot parameters, this was required with other Linux distros installed on this hardware. Otherwise, the system erroneously shuts down when reboot is chosen.
I would like to know how to permanently add these so they pass each time the system is turned on.
I already added these to /etc/default/grub (and ran update-grub afterwards) and at the next startup, noticed they were NOT in the parameters when "e" was pressed at the boot menu.
View 5 Replies
View Related