Ubuntu :: Sheep Shaver - Set A Variable In The File /etc/sysctl.conf?
Oct 31, 2010
Due to a change in how programs in Linux are allowed to use memory, before using SheepShaver you need to set a variable in the file /etc/sysctl.conf Add this line: vm.mmap_min_addr = 0 but when i add the line in my text editor it says i cant save
View 8 Replies
ADVERTISEMENT
Feb 1, 2011
im trying change my etc/sysctl.conf file but it won't let me as its read only. how to i change this?
View 2 Replies
View Related
Apr 20, 2011
How do I make a change to this file? More specifically this is what I am trying to do.
Add the following line to /etc/sysctl.conf
vm.swappiness=10
View 2 Replies
View Related
Jul 29, 2010
On a production Centos 5.3 system, I want to raise the hard & soft limits of open file handles from 1024 -> 8192 (not a "biggie", I'd think) Right now, "sysctl -a | grep file" shows fs.file-max=463144 (a default, I'd guess) I'm guessing file-max is the maximum number of open file handles on the system, vs the per-user limits seen with "ulimit -Hn" and "ulimit -Sn". Right? If so, I shouldn't think I'd have to touch this on a server with few users.
Also, after doing a lot of reading, I still don't understand the mentions of needing to also add: "session required pam_limits.so" to /etc/pam.d/loginor adding "session required /lib/security/$ISA/pam_limits.so" to /etc/pam.d/system-auth Maybe I've gotten off into the deep weeds in goggling about raising file handle limits.
View 1 Replies
View Related
Jun 6, 2010
I made some change to my sysctl.conf file and it they doesn't seem to load at boot? Each time I boot I need to send a sudo sysctl -p command to load the new parameter!
View 1 Replies
View Related
Jan 20, 2010
Like in the subject. Does anyone knows how to do it without restart
View 1 Replies
View Related
Aug 12, 2011
My sysctl.conf in /etc isn't loaded at boot, it does however get parsed with the command # sysctl -p I believe this problem started when I got the 3.0.0 kernel just a few days ago. Does everyone has this problem? Then it's probably a bug.
My system:
Debian Testing (Wheezy)
3.0.0-1-amd64
up2date
View 12 Replies
View Related
Feb 7, 2010
How can I find the size of units in sysctl.conf e.g whatis the size of the shmmax variable i.e. is it byte kb , Mb etc....???
View 8 Replies
View Related
Mar 7, 2011
Last week I attempted to get "up to speed" with my Comcast cable connection... Ubuntu 9.10, Dell Vostro 400 desktop, Firefox 3.6.13... Comcast says I should have 12 Mbps connection... if I get 1.0 Mbps, I'm doing good... they just tested everything, and said everything is fine on their end. They use [URL] and connects to a server in Chicago, 60 miles away. That gets fantastic speeds, and it's a durn shame the internet doesn't store all its files there!! I use [URL] for my tests, and it uses a server in Dallas TX.
I go to my girlfriends house, and her AT&T DSL line has d/l speeds of 4.5 Mbps or better!!! She's running XP Pro on a Dell machine. So, started digging on the web and thru the forums, and found this:
[URL]
But, like ALL too many things, it's dated... it's from 2008... I've set my settings to what is there, and disabled ipv6 in Firefox. Hey, now, I'm sometimes up to 1.4 Mbps!! Also found this, but no date...
[URL]
Reading forums, I see that folks have said there is a network connection problem with 9.10... and then I see that others are saying the same thing about 10.04 and 10.10!! I have 10.10 on my laptop and had to fight to get its Atheos card to be recognized. Running some tests [URL] gives me weird results: Download 2.64 Mbps, Upload 4.12 Mbps. NOT what it should be. Similar results from testmy.net.
Dunno exactly what info is needed... Speedguide.net gives me results below, but I've tried changing numbers (says my RWIN is low) and nothing changes:
--------------------------------
TCP options string = 020405b40402080adf1dca100000000001030306
MTU = 1500
MTU is fully optimized for broadband.
[code]....
So, today, find, once again, that I'm d'ling in the range of 90/KB/s (719 Kbps)... disgustingly slow. I go on my HP laptop and run the test, and it says 1.6 Mbps. So, desktop directly connected to router is not even 1 Mbps, and wireless connection is faster? Neither of which is close to what I should be getting...
View 5 Replies
View Related
Jun 28, 2011
Does anybody have experience with linux tuning. I`m realy interesting about sysctl.conf tuning settings for batch(3d rendering, phisycs simulations, etc.) servers. Does anybody has an experience with linux tuning - I mean memory and CPU settings for heavy loaded systems. What kind of settings You have in Your clusters ? I`m working with Red Hat Enterprise 5 x86_64.
View 2 Replies
View Related
Aug 21, 2009
I'm trying to read content of file to variable and use this variable in for loop. The problem is, when I have c++ comment style in file - /*. Spaces in line are also interpreted as separated lines.
For example:
Code:
Changing $files to "$files" eliminate these problems but causes that whole content of variable is treated as one string (one execution of loop).
View 6 Replies
View Related
Jun 10, 2009
I have a text file i that has a mailTo: NAME in it. In a bash script i need to extract NAME and put it in a $variable to use. How do i do this?
View 2 Replies
View Related
Dec 11, 2010
I've just done a fresh install of Lubuntu 10.10 on an older Sony Vaio laptop. Having learned the hard way about editing xorg files, I wanted to create a backup of the xorg.conf file so that I dont have to do another install when I screw everything up. In a terminal, I typed
[Code]....
View 8 Replies
View Related
Aug 30, 2010
I was trying to install electric sheep on my 11.3 opensuse, because I thought it looked quite cool in the screenshots. For those of you who dont know what this is about have a look here:
about | electric sheep
In the dowlnoad section, one can see that ubuntu installation has no problems, and I kinda hate that, because everywhere I look for X program, there is always an ubuntu precompiled pakcage or scriot or whatever but hey!, this is an excellent oportunity to try my first source code install, i thought.... naive
And the first problem is... that I cant find the latest source, anywhere no tar in sight, not even rpm, no nothing, nothing at least understadable by me who red like 15 articles of how to install from source (obiously that by no means means that I understand well what im doing), and frankly im kinda tired of searching and looking Browse Electric Sheep Files on SourceForge.net Thats the download your source code page that has nothing on it! I dont ask from you to search for me or anything like that SourceForge.net: Electric Sheep - Develop In the page above is what I suppose is the source code but what do I do to tar.gz it so I can then test my newly skills!
View 2 Replies
View Related
May 2, 2010
I just installed Electric Sheep (version 2.7~b12+svn20091224-1ubuntu1) on my Ubuntu Lucid box. When I test the connection in the Preferences window, everything checks out fine, but when I try to run it from the terminal I get the following error:
electricsheep: /usr/lib/i686/cmov/libavcodec.so.52: no version information available (required by electricsheep) electricsheep: /usr/lib/i686/cmov/libavformat.so.52: no version information available (required by electricsheep) electricsheep: relocation error: electricsheep: symbol av_init_packet, version LIBAVFORMAT_52 not defined in file libavformat.so.52 with link time reference Terminated. If I try to preview it using System > Preferences > Screensavers, I get a blank screen.
View 2 Replies
View Related
Nov 9, 2009
accidentally I do something wrong with my server and the httpd folder missing and I need it to setup my mail server and anyone can help me what can I do without reinstalling my Cent OS? Here is the error msg :
[root@mydomain etc]# service httpd stop
Stopping httpd: [FAILED]
[root@mydomain etc]# service httpd restart
[code]....
View 3 Replies
View Related
Sep 1, 2011
I've had Ubuntu 11.04 installed on my desktop since it's release. Up until an hour ago, it was working fine. I clicked on an update from the update manager, now booting into a graphical mode is completely broken, (the start-up load hangs at 'Check Battery State ... [0k]'). I restarted my computer, and booted into safe mode, and launched the terminal. This all works fine. I then typed :
Code: sudo gdm start into the command prompt, hoping that I would be able to start things manually. Instead, it spat out this: Code:
gdm-binary[230]: WARNING: Unable to load file '/etc/gdm/custom.conf'. No such file or directory.
gdm-binary[230]: WARNING: Unable to find users : no seat-id found.
gdm-binary[230]: WARNING: Gdm Display: display lasted 0.070467 seconds
The last line was printed about 8 times, with slightly different times, before it gave up and failed. Some information which might help, I have Gnome 2, Unity and KDE (not sure which version), installed. My graphics card is the GTX 275, and I have driver the Nvidia driver 275.21. So yeah, I think the update has gone and moved custom.conf somewhere, but I have no idea on how to fix it. I have a graphics programming assignment due on Friday and I would be eternally grateful if I could get this fixed well before then.
View 2 Replies
View Related
May 1, 2011
My script.
This is may script:
Code:
Problem: Output file doest not exclude the values in grep -av
View 3 Replies
View Related
Feb 18, 2010
i am using ubuntu 9.10. i am trying to use ubuntu as a test bed for my thesis work on seamless mobility including SCTP and its add ip feature. i have installed lksctp with this command
sudo apt-get install lksctp-tools libsctp-dev
now i have to enable its addip feature and as i have read in other threads i have to change it from sysctl but the problem is that when i enter "sysctl -a" it does not show any sctp options.
View 10 Replies
View Related
Nov 15, 2010
what is a variable file?
View 2 Replies
View Related
Apr 5, 2011
I am trying to follow the instructions in the smb.conf file which says, "name original file smb.conf.master and create the "real" config file with test parm -s smb.conf.master >smb.conf".
First I made myself the owner of the smb.conf file. Then I tried to rename the smb.conf file to smb.conf.master. When I try to do this with: rename smb.conf smb.conf.master the result is: Bareword "smb" not allowed while "strict subs" in use at (eval 1) line 1.Bareword "conf" not allowed while "strict subs" in use at (eval 1) line 1.
Can someone tell me what this means, (why it is happening) and what do I need to do in order to rename the smb.conf file to smb.conf.master.
View 6 Replies
View Related
Nov 8, 2010
I googled and tried to find an easy step by step-by-step guide on how to use a bash script read a variable from a file. This is the way I did it (but it does not really work so something is wrong, but what?) (testfil2 contains one line that readsidnumber=1578
#!/bin/bash
value="/home/user1/Desktop/testfil2"
echo $value
kill $pidnumber
View 4 Replies
View Related
Jan 20, 2010
Since the computer does not have xorg.conf, can I have the computer generate that file because I need to work on it and so I need to create it. That is why it would be useful to have a xorg.conf file still.
View 5 Replies
View Related
Feb 26, 2010
I am trying to edit the xorg.conf file as described here:
[URL]
However, I cannot find the xorg.conf file anywhere.
View 9 Replies
View Related
Mar 13, 2010
When I try to save a file that I have edited using gedit I get a error Could not save the file /etc/pwrstatd.conf.You do not have the permissions necessary to save the file. Please check that you typed the location correctly and try again.Is this something to do with not being logged on as root? If so how do I log on as Root or edit the file as a root user?
View 4 Replies
View Related
Mar 15, 2010
I was checking my syslog.conf file recently and it seems that it is an empty file >_> it shouldn't be correct?
View 2 Replies
View Related
Mar 21, 2010
I successfully shared a subdirectory of my home directory, using GNOME under Ubuntu 8.04 LTS Desktop. What drives me crazy is that I can't find this directory listed in /etc/samba/smb.conf, in a "path" line. Please tell me where is this directory specified, since smb.conf seems to be the only samba config file.
View 5 Replies
View Related
Apr 6, 2010
I have seen this issue come up previously in the forum: external program calls are disabled due to unsafe options file permissions But the resolutions previously posted have not worked for me:
[code]...
View 4 Replies
View Related
May 8, 2010
I tried to setup a dyndns, and ever since I tried to get that setup, I can't access my webmin, or access /etc/hosts/resolv.conf. But I can still access my samba shares I had created before this happened.
View 5 Replies
View Related
Jun 1, 2010
I started using 10.04 today and it seems that the xorg.conf file disappeared. It's the first time that the default xorg driver works for my nvidia card, and I want to know what drive is this. How can I know what xorg driver the system is using? Is there a command for that?
View 5 Replies
View Related