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)

17
votes
2answers
30k 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
2k 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
1k 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
12k 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
2k 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
471 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 ...
12
votes
2answers
2k 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
466 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
943 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
439 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
238 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
577 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
17k 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
114 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
489 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
272 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
442 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
63 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
287 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 ...
2
votes
2answers
2k 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
100 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
682 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
113 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
476 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
724 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 ...
19
votes
3answers
2k 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
191 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
2k 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 ...
2
votes
2answers
14k 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
226 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
776 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
67 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" ...
1
vote
2answers
928 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
1answer
2k 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
1k 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 ...
4
votes
1answer
6k 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
1k 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
850 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
260 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
851 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 ...
6
votes
2answers
14k 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
578 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
161 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
337 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, ...
9
votes
4answers
45k views

How to mount/recover data on a disk that was part of a mdadm raid 1 on another machine?

Some background The disk itself was "worked on" by a friend and is said to be still intact, undamaged and still mountable/recoverable The disk was part of a software raid 1 on Ubuntu 12.04 The other ...
2
votes
1answer
261 views

Wireless on my Dell Latitude E5320 doesn't work on Ubuntu but works on Linux Mint. What can I do to make it work?

I have dualboot Ubuntu 12.10 & Linux Mint 14, both are clean install & updated with the latest. My wireless works flawlessly on Linux Mint but it's very unreliable on Ubuntu: every 15~20 ...
2
votes
3answers
13k views

How to print the percentage of disk use from `df -hl`

I know that df -hl outputs a list of all my partitions with its size, usage as a percentage, and space available. If I wanted to output just the size and usage as a percentage of sda2 and sda3, for ...
0
votes
3answers
326 views

Is there a difference in resource use/requirements between Ubuntu and Debian versions of Linux Mint (under the same DE)?

I intend to use Linux Mint on a RAM/1GB laptop. I'm used with Xfce and LXDE and I see that both Linux Mint 14 Nadia and Linux Mint Debian have Xfce versions. Is there a reason to prefer one to the ...
7
votes
3answers
5k views

“Unable to resolve hostname” - how to cleanly change hostname without rebooting

At work, I work on a small website using Ubuntu servers hosted on Amazon EC2 instances. We have two webservers, and at any given time one of them is 'live' and one is 'testing', but when we've got our ...
0
votes
0answers
61 views

Boot disk unavailable

Background I've got one 32GB SSD that I have Ubuntu 12.10 installed on (this drive is encrypted), and two 1.5TB drives that will serve as storage and backup respectively. I have formated both drives ...