Ubuntu is a Linux distribution with an emphasis on ease of use and installation. Note that http://askubuntu.com is specifically dedicated to Ubuntu questions.

learn more… | top users | synonyms (1)

13
votes
2answers
3k views

(SSH) Is it dangerous to close terminal without “exit”?

This happened many times. While the SSH active, I'm so tired and just close the terminal without exit Is it dangerous to doing like that?
1
vote
3answers
425 views

Dual boot Ubuntu with windows 8

I have Windows 8 and need to dual boot Ubuntu. I made a new partition from Windows Manager, but when I boot Ubuntu and select the new partition I get the error: this partition is not rooted !! ...
0
votes
1answer
2k views

How to get grub Ubuntu 12.04 to boot from secondary boot partition and use new seperate root

On a remote Ubuntu server I performed a series of upgrades/changes to go from a desktop-install Ubuntu 10.10 Maverick to a server-install of 12.04 LTS Precise This all went well except a few hickups ...
4
votes
2answers
563 views

How to bzip a file with minimum cpu percentage?

I am using bzip2 to compress a file,the process takes more that 100% cpu.Is there any way to run bzip2 with minimum CPU precentage.
2
votes
2answers
5k views

Change Partition Table with GParted

I have an Ubuntu 12.04 LTS server that has 6x600GB SAS drives in a RAID 5 configuration (Perc 6/i). The partition scheme looks like this: Partition File System Mount Point Size /dev/sda1 ...
0
votes
2answers
846 views

access a command line via a web browser

2 questions: Question 1 My job blocks ssh which means that I cannot ssh to my home server. However, they do allow https out. Is there a package out there for ubuntu that will allow me to connect to ...
6
votes
2answers
6k views

Use shared libraries in /usr/local/lib

I have build some libraries from sources, and the files after make install are in /usr/local/lib For example, in my case I have the file libodb-2.2.so which is in this directory. However when I ...
3
votes
2answers
1k views

/nagios/cgi-bin/statusmap.cgi was not found on this server

I installed Nagios 3.4.4 on Ubuntu server 12.10. Installation was successful but now I'm not able to view maps and trends.When I try, I get the following error /nagios/cgi-bin/statusmap.cgi was not ...
2
votes
1answer
722 views

GParted messed up my partitions

Update: running testdisk I can actually see all of my files in /dev/sda1! I wanted to install Windows alongside my Debian installation in order to play some games. In order to do that, I had to boot ...
0
votes
2answers
6k views

How can i free up memory / manage memory on a linux box?

I am running two Ubuntu 12.04 servers (no GUI / desktop) using canonical's cloud images on Amazon EC2. One is a micro with 613MB of RAM and one is a medium with 3.75GB of RAM. I only have opscode's ...
3
votes
1answer
1k views

Sharing Ubuntu drives with Windows

I'm new to the whole Linux thing. I have a Linux server up and running and have been using this guide as a help. I have an issue with shared drives. My Windows machines can see them but cant write to ...
2
votes
3answers
353 views

How to create partition in ubuntu server 12.10

I'm trying to create partition during Ubuntu Server installation(12.10).Now I have a 500GB hard disk where I need to create a partition of 200GB for root file system and another 20GB for swap space ...
6
votes
2answers
1k views

How to implement package install suggestion on Debian?

I have noticed that while on Ubuntu, if I type the following: mc and it isnt installed, I get the message below: The program 'mc' is currently not installed. You can install it by typing: sudo ...
1
vote
0answers
304 views

problem with socks in proxychains

I'm trying to connect to a socks server using proxychains. My ProxyList part of proxychains.conf is: socks5 ip1.sockssrv.org 1080 MYUSER MYPASS When I try to use it; for example using ...
-1
votes
1answer
850 views

How to install netbeans on Ubuntu

I'm trying to install Netbeans on Ubuntu. I downloaded netbeans-7.3-javaee-linux.sh, but when I opened it it didn't work. I tried opening it from a terminal, but it didn't help, and I ran: # sudo ...
1
vote
3answers
318 views

Is it mandatory to have a variable in awk's first statement?

I am having some hard time with awk today. If I try to do: df|awk '{print $2; $some=$2; print $some}' It works as expected and I get the size of the disks twice but if I do: df|awk '{$some=$2; ...
1
vote
3answers
205 views

Can I install ubuntu on a Virtualbox image and use it anywhere?

I am wondering if I install ubuntu once on a virtual machine running inside virtualbox, could I then use it as a portable OS and launch it from virtualbox on any machine? Or would I have to match the ...
1
vote
0answers
357 views

Problem connecting to L2TP VPN

I installed l2tp-ipsec-vpn‍‍ from ppa:werner-jaeger/ppa-werner-vpn. Yesterday I was able to connect to my L2TP vpn account successfully. But after restart i'm getting this on syslog: Mar 07 ...
1
vote
3answers
9k views

No targets specified and no makefile found. Stop. Makefile ubuntu

When I execute the command sudo make I get this error: No targets specified and no makefile found. Stop.
1
vote
1answer
98 views

Which packages contain IPsec implementations and algorithms that use it for encryption?

Which package contains the implementation of IPsec and which package contains the implementation of encryption algorithms that IPsec uses for encryption? I need to use custom crytographic algorithms ...
3
votes
1answer
253 views

How to use lockstat.txt on Ubuntu 12.04?

I have Ubuntu 12.04 installed on my machine. I want to use lockstat. I have looked at Documentation/lockstat.txt but I am not getting how to use it, if possible please help me out. I am working on a ...
2
votes
2answers
157 views

Where is the frame.h located in modern Linux implementations? (ubuntu specifically)

A book I am reading refers to an include file that shows how a stack frame looks on one's UNIX system. In particular: /usr/include/sys/frame.h I am having trouble finding the modern equivalent. ...
0
votes
1answer
285 views

Enable compiz window grid with visual effects set to none. Ubuntu 10.04

I have to disable "Visual Effects" (system -> preferences-> appearance -> visual effects -> none) because I get a terrible flicker/blinking when it is enabled, but I'd really like to use compiz window ...
0
votes
2answers
59 views

Ubuntu 12 installation - partitions

I want to install Ubuntu 12 and I would like to partition my hard drive so that the OS lives in its own partition and the data in a different one. Thus if the system breaks for some reason, the data ...
0
votes
2answers
171 views

Which process updates /proc/scsi/scsi?

I wrote C that displays info about my hardware on ubuntu. Now I wonder how I can make it more flexible such as querying the hardware directly instead of the file the os updates. So I think I can look ...
1
vote
2answers
917 views

Ubuntu: can't find ndbm.h

I need to compile an old apache version, 1.3 and compilation process fails because: mod_auth_dbm.c:77:18: fatal error: ndbm.h: File or directory not found where is it?
1
vote
0answers
81 views

What kind of crash would crashdump fail to capture?

A freshly built machine running Ubuntu 12.10 64bit is hanging under seemingly random conditions. To debug this I've installed linux-crashdump, confirmed that the second kernel is loaded and a ...
1
vote
0answers
511 views

Installing 12.04LTS Server on a Fake RAID10

Scenario Install Ubuntu 12.04LTS Server on a RAID10 with boot on a RAID1. 4 - 2Tb SATA Hard Drives 3 Partitions (/boot, /, and swap) boot (256Mb from each disk) setup in RAID1 /dev/md0 partition ...
1
vote
0answers
105 views

beagleboard com and HDMI dispaly

I've installed Ubuntu 11.10,lkde and gem on my BB and I connect to it through serial com. when trying GUI application through the com (e.g. gedit) I get "display not found, though a monitor is ...
1
vote
0answers
341 views

lxc networking quesion

I have a similar requirement to the OP of this thread. I want the following configuration: -Physical host (PhyHost) reachable from the network at IP 10.1.101.89 -LXC container (LxcHost) ...
0
votes
2answers
447 views

How to delete a library which is not visible for package manager?

Long time ago I've installed matplotlib which I need to remove. I did it from the source, so if I go to synaptic manager (I use ubuntu) then I don't see matplotlib installed. But I found ...
16
votes
3answers
1k views

How to prevent shutdown when an SSH user is logged in?

I'm administrating a networked environment and I had an interesting situation arise yesterday. When a host is required to shutdown by a regular user, it refuses to do so if other users are logged in ...
0
votes
1answer
131 views

Package Installation log creation

I have written a script for installing packages on Linux(Ubuntu). So I want to create a log file for installation of packages for troubleshooting if any problem occur during installation.So please ...
2
votes
1answer
650 views

SSH host key keeps changing

I am trying to set up a web service (using the Play Framework) on an Ubuntu machine on the network. However, I am experiencing intermittent failures connecting to it, not being able to connect to it ...
0
votes
2answers
3k views

Changing root password does not change sudo password

I'm trying to change the password that get's asked when doing sudo. I'm in Ubuntu. Doing 'sudo passwd' or 'sudo passwd root' does give me the two new password questions, and it successfully changes ...
1
vote
1answer
152 views

Deleted header file /bits/types.h

On compiling a program using gcc, I was getting syntax errors in /sys/types.h. While investigating the problem, I ended up mixing up the /bits/types.h and /sys/types.h and I mistakenly deleted ...
3
votes
1answer
256 views

Washed out colours with screencast software but not screenshot on Ubuntu (all versions)

I have experimented with screencast software on Ubuntu over a number of LTS versions and using pretty much every software I can get my hands on. I have used VLC, RecordMyDesktop and some others the ...
1
vote
1answer
55 views

Why grp:lctrl_lshift_toggle still keeps right keys as switch triggers?

I ran the following command in my terminal: setxkbmap -layout us,ru -option "grp:lctrl_lshift_toggle,ctrl:nocaps" but for some reason, the effect is the same if I specified "grp:ctrl_shift_toggle" ...
0
votes
2answers
546 views

How to turn off DELL BIOS beeping through Ubuntu?

I removed my LCD with Inverter, because it was broken. I'm using a Inspiron 4050 with a HDMI or VGA connected at TV, but the BIOS beeps(8times) continuos for ever and ever. There is a way to control ...
2
votes
0answers
637 views

ping receives no packets, but tcpdump can see them coming in

I'm migrating an old Ubuntu OpenVZ instance (Jaunty) to a new CentOS 6.3 host (using vzdump/vzrestore). Now networking does not work properly. Facts: It works just fine if a setup a new OpenVZ ...
0
votes
1answer
822 views

How to use one distro's live CD to install another distro?

I'm trying to install Mint Linux to a USB stick, but the Mint live CD doesn't fit on a normal CD and I don't have any DVDs available. The Ubuntu live CD does fit on a CD, so I want to use the Ubuntu ...
2
votes
1answer
2k views

How to execute a shellscript when I plug-in a USB-device

I want to execute a script when I plug in a device in my Linux machine. For example, run xinput on mouse or a backupscript on a certain drive. I have seen a lot of articles on this, most recently ...
1
vote
0answers
648 views

xrandr config not loading properly at startup from .xprofile

I'm using xrandr to rescale the resolution on a netbook (Ubuntu 12.10). When I run the following command it works fine: xrandr --output LVDS1 --mode 1024x600 --panning 1280x720 --scale 1.25x1.2 ...
1
vote
2answers
666 views

Heartbeat with virtual IP at Ubuntu 12.04

I have installed heartbeat package at both linux devices so that when ever clients request a service they will be arrived to this IP, and client will not know what are the back-end/actual ip addresses ...
1
vote
1answer
199 views

kvm guest Network interface no Authenication

i have a kvm host based on ubuntu 10.04 host , and the guest is rhel 5.3 64-bit, on the guest i tried to execute mii-tool eth0 SIOCGMIIREG on eth0 failed: Input/output error SIOCGMIIREG on eth0 ...
0
votes
0answers
621 views

Error when trying to install valgrind on Ubuntu 10.04

Having trouble tracking down a solution to the following problem. I am running Ubuntu 10.04. ~$ apt-get install valgrind Reading package lists... Done Reading state information... Done Some ...
2
votes
2answers
7k views

NFS does not work. mount: wrong fs type, bad option, bad superblock

This is what I got on server: manuel@server ~ $ cat /etc/exports /var/share 192.168.178.20(rw, sync) manuel@server ~ $ cat /etc/hosts.allow portmap: 192.168.178.20 manuel@server /etc $ cat ...
1
vote
0answers
415 views

Ubuntu 10.04 kvm Virtual Machine guest network speed slow

i have the following situation, i have a kvm host ubuntu 10.04 LTS 64-bit network host speed is perfectly run , as i am testing network speed using iperf , the speed between any network device and the ...
1
vote
0answers
140 views

External HDD read/write permission changing from a cron job

So, I run an overnight python script that runs a backup of our web data in the /var/www directory, then moves the backups to an external HDD in /media. The script in scheduled in the sudo crontab ...
0
votes
1answer
130 views

Having trouble executing a compiled C program

I am running an Ubuntu v10.04 through VirtualBox. To test the persistence of files I create in the virtual machine, I wrote a very basic C program. When I shutdown the virtual machine and restart it, ...