A site for solving at least some of your technical problems...
A site for solving at least some of your technical problems...
An Operating System that works. All the specifications are free and Linux, AIX, HP-UX, SunOS, Solaris, IRIX are examples of a Unix implementation.
The name Zmeu (no capital E) is the name of a fantastic creature of Romania. There are so many stories that there isn't a clear understanding of what it is... but it is human like, can spit fire and wants to marry young women.
If you're wondering, it is generally a bad guy.
Today, I noticed a lot of traffic on one of my servers. Looking into what was happening, I immediately found out that an attacker was looking for a loophole in that system. That attack was being performed from China.
As I am still trying to get my computers to work with a dual seat (or multiseat), I did an attempt in using the onboard video (a relatively decent Matrox card.) So I went in the BIOS and changed the setup for the video from Offboard to Onboard. Big mistake!
The video stopped working. On reboot the computer beeped 8 times and booted the OS normally (I have SSH setup so I could access the computer, but absolutely no video on either port: on board and off board.)
I have a Supermicro X9SCI/X9SCA. Searching for "no video" or "missing video on boot"... returned nothing ...
Today I finally resolved a problem I had for a while on one of my computers.
When logging in using the normal lightdm X11 login screen, directly on the computer, I would get an error and absolutely no menu, no icons, no keyboard functionality, no unity, no nautilus... The only thing I had working was the background which gave me access to the settings, but nothing else. More or less, nothing useful.
I just had an idea and then I found a comment form a user on a forum who said that he just deleted his .config and .compiz directories and rebooted. After that it worked for him. It worked for me ...
Today I wanted to upgrade some packages that had security issues. Ubuntu (like Debian) provides the apt-get tool that allows you to do upgrades the easy way:
sudo apt-get upgrade
However, that upgrades all the packages present. In some cases, you may want to skip on some packages because you know they are not ready (i.e. your own packages).
In order to only upgrade security issues, you want to get a list of packages that are to be upgraded for security issues:
apt-get -s dist-upgrade | grep "^Inst" | grep -i securi
That apt-get command line lists all the packages ready for ...
As I upgrade to 14.04, I started seeing this error in my console:
no talloc stackframe at ../source3/param/loadparm.c:4864, leaking memory
Quite cryptic if you ask me, but the "leaking memory" did sound bad.
The error would in particular appear when I used sudo for whatever reason, for example:
sudo iptables -L -nvx
So... something to do with sudo?
I found the answer on the Ubuntu forum. The solution is to turn off a feature of samba. Run the samba setup tool in your console:
That opens a curses window in your console. You should then see an option ...
Oka, so today I finally got the chance to upgrade to Ubuntu 14.04, hopefully soon to 14.10 too.
I have to say that in general, it looks like they've done a good job as things seem to work better...
However, the display setup got lost. My HP 2509m monitor is connected through a KVM and because of that, it does not always work as expected. That is, the nVidia card does not get to read the monitor information. It took me a while, but I found a way to fix the problem.
First of all I connected the monitor directly to my computer. That gave me the ability to change the resolution to 1920x1080 ...
I run a few Drupal website and once per hour I run the cron.php script. I do it only once per hour because nothing changes so often on my websites so it would require faster refreshes.
Once in a while (relatively rarely now) I get a list of errors from CRON saying that the checks failed. The errors look something like this:
HTTP/1.0 302 Found Location: /cgi-bin/ipdiags.ha Pragma: no-cache Content-Type: text/html <html><meta http-equiv=Refresh content=0;url=/cgi-bin/ipdiags.ha> <body></body></html>
As you can see, this is a 302 so a temporary error. ...
It has been a while that my right Alt key acted as the Level3 key instead of a right Alt key. I never cared for the AltGr on my QUERTY keyboard, but it kept popping up as the Level3 key even though I clearly removed that option in the keyboard settings under /etc/default/keyboard
XKBMODEL="pc105" XKBLAYOUT="us" XKBVARIANT="" #XKBOPTIONS="lv3:ralt_switch" XKBOPTIONS="compose:caps"
I commented out the level3 definition and instead put "compose:caps" which makes my CAPS Lock key work as a compose key (i.e. if you press ...
Once in a while I want to add my user to a group and then right away make use of that group.
Unfortunately, in general Unix kind of forces you to re-log in for the new group to be attached to your account.
However, a command has been added, a while back, to do just that on the fly. Not something you would want to use in a script, but at least, it works for me when doing a few things here and there.
In my case, I wanted to run QEMU, which I hadn't done in a while, and the system told me that it could not open the KVM, the error: kvm permission denied.
The problem was that I was not part ...
As I am working on my as2js compiler, I stumble on a couple of problems with the for() loop parsing because of the in keyword. That made me think and the for() statement was actually a very funny one. Yes! You can actually write something like this and it compiles:
int zero; for(3;2;1) zero;
As you can see, all 3 entries in the for() statement are valid expressions and therefore the compiler can compile that code. This creates a loop that runs forever, similar to:
but much less clear to read, obviously.
Now that's food for thought, isn't it?
Find the page/content you are looking for with our index.
In computing, nested means an item defined inside another. It is most often used for loops, a loop can be declared inside another. The one inside is called the nested loop. In particular, two loops can be defined one after another or one inside the other. There is no other way to declare a loop.