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)

11
votes
1answer
3k views

is upstart and supervisord used for the same thing?

I have a some jvm based processes that I need to make sure start whenever my server is rebooted, and also if it stops because of an unexpected error etc. I'm running Ubuntu 12.04 in case in matters. ...
1
vote
1answer
123 views

Yarbu Execution

I am attempting to use a Project called Yarbu It appears to be exactly what I am looking for. However I am a noob at Linux and am having difficulty getting it to work. I successfully completed the ...
4
votes
5answers
2k views

Finding computer uptime from first day until now

I need to find PC uptime from the day of installation until now. Is this logged somewhere? Does any file log this cumulative uptime?
2
votes
2answers
324 views

write pc uptime in a file in shutdown

I need to log PC uptime. How I can do this? I use uptime for this and I will when ubuntu is shutdown write this command output in a file.
2
votes
2answers
846 views

Changing permissions for files in linux

I have started using Linux recently for development of a project and currently facing some issues with file permissions in the directories. I have some libraries .so files that I need to access from ...
5
votes
1answer
2k views

NFS server causes high load even when idle

I have an Ubuntu (12.04) NFS server that has a high load (larger than 10) even when nothing is running. In detail, the storage is provided by an iSCSI device, on which I have 5 logical volumes (LVM) ...
8
votes
1answer
14k views

~/.xinitrc not being run

I am not able to run my ~/.xinitrc (~/.xsession) scripts when logging into my computer. I'm using Xubuntu 12.10 with vanilla lightgm as the login manager. Both these files have the right permission ...
4
votes
2answers
2k views

iSCSI device mapped to different SCSI device

I have an iSCSI disk array connected to a server (Ubuntu). When I login with iscsiadm -m node --login -p 192.168.1.240 the device used to appear as /dev/sdb. I created a volume group with LVM using ...
15
votes
2answers
5k views

Why is vi apparently broken (viminfo error E576), and how can I fix it?

I am proficient at using Unix/Linux, but I am not an expert. If I want to open a file (for example, file.txt), I use vi: vi file.txt This opens the file, and if I want to close it, I use :q!. I ...
2
votes
1answer
314 views

PPTP server with NIC aliases

I have set up a VPN on a VPS Server using PPTP. I have one NIC with two aliases. eth0 eth0:1 eth0:2 The 3 interfaces have public addresses. eth0 is a French IP, eth0:1 is UK, and eth0:2 is ...
4
votes
1answer
3k views

qemu - two clients (tap0 & tap1) via br0 can't ping eachother but server pings ok

I've got: A host system running Ubuntu with KVM (functional) Two clients, one Ubuntu and one Windows 7, nothing fancy. I've also setup (see below) a bridge via br0 for the clients: br0: ...
1
vote
2answers
148 views

Having Latest Versions of all Apps in Ubuntu 12.10

As we all know that Arch Linux repository is updated with all the latest releases of all the softwares. But in Ubuntu, The repo is not updated that often resulting in user using the older versions of ...
1
vote
1answer
558 views

Unable to log in to Ubuntu server 10.04 after trying to join Windows domain

I was trying to join our Ubuntu 10.04 server to the Windows domain and I ended up editing the pam.d configuration files. My aim was to have domain users log into the Ubuntu server with their domain ...
3
votes
1answer
968 views

tc class rate 50Kbps != 50K/s in wget?

Got the following test rule setup: tc qdisc add dev wlan0 root handle 1: htb tc class add dev wlan0 parent 1: classid 1:1 htb rate 1000Mbps tc class add dev wlan0 parent 1:1 classid 1:5 htb rate ...
1
vote
1answer
1k views

Adding Objective C compiler to GCC 4.7.2

I finished building the GCC 4.7.2 with C, C++ and Go compilers on my Ubuntu 12.04. I now want to add the Objective C compiler, is it possible to add it to the previous build? If so, how should i ...
1
vote
1answer
266 views

How to add another OS entry in Wubi grub

I am trying to install another linux distro besides ubuntu. However, I want to retain my existing windows based loader. Currently, as per my knowledge, MsDos loads grub which then loads Ubuntu (with ...
3
votes
1answer
474 views

Awesome & youtube

I run Awesome WM on Ubuntu. Recently when I try to watch youtube videos in full screen they have been playing in a small letter box - They have not 'full screened'. In the other hand, Vimeo & ...
10
votes
2answers
33k views

iptables --set-mark - Route diferent ports through different interfaces

Short story, 3 interfaces, eth0 (LAN), eth1(ADSL), eth2(4G). eth0 -> eth1: Works (ports 80, 443, 4070) eth0 -> eth2: Doesn't happen This is a graphical representation of the idea: Port 80 & ...
2
votes
2answers
602 views

“Waiting for network configuration” upon boot

When I boot, I get the error message waiting for network configuration, then waiting an additional 60 seconds for network configuration. I had edited /etc/network/interfaces file before the above ...
1
vote
1answer
508 views

Writing a service in C: How to pass and process arguments to running service?

I want to write a service in C. While this service is running in background and processing some information I need to grab the results from this service from other applications or from command line. ...
4
votes
1answer
622 views

Can I display part of a window on the second device?

When giving presentations, I use the html/css/js-based showoff. It has a presenter mode which shows the notes and the progress in a good way for me. It seems like the idea is that somehow a second ...
2
votes
1answer
1k views

Writes to FrameBuffer /dev/fb0 do not seem to change graphics screen

In attempting to write directly to the graphics frame buffer /dev/fb0 , (Ubuntu 12.04) , the graphics screen does not change. Has Ubuntu 12.04 invalidated the use of /dev/fb0 , or does it need to be ...
0
votes
0answers
909 views

Java SWT App: Need 64-bit swt.jar

I have a Java app that I want to run in Ubuntu, but I have Java 64 so I can't run it because it only has the 32-bit swt.jar. I can't build it myself, so Is there anyone that can provide the 64-bit ...
3
votes
1answer
321 views

Why do the members of a bridge lose their Ip address?

I have created a bridge using to existing network interfaces: $ brctl addif br0 eth1 $ brctl addif br0 eth2 Why do eth1 and eth2 lose their IP addresses? What's the reasoning behind it? PS this is ...
2
votes
2answers
123 views

Are any files loaded when a terminal session terminates?

I know that .profile / .bash_profile are loaded when a terminal session is started, either through local machine or SSH. Are there any files that are loaded/called when the session terminates? ...
2
votes
1answer
225 views

To check which resource is being accessed by which process

I have some process running on my system. I need to list out which of the process at a moment has acquired/is using one or more of these in my system: Ethernet Camera USB Bluetooth WiFi File System ...
6
votes
1answer
869 views

Automatically apply module patch and compile kernel when updated?

I've recently applied a one-line patch to drivers/bluetooth/btusb.c in order to enable compatibility with my Bluetooth device. However, whenever I get a kernel upgrade, the patch will be lost until ...
1
vote
3answers
168 views

how to type linear algebra symbols

How do I type the symbols for linear algebra on Ubuntu? Are there any programs that use them? ( I understand this is trivial basket weaving. Whats the fastest way! )
2
votes
0answers
767 views

Logged into ubuntu via VNC. Windows key seems stuck

I have an ubuntu server running vnc4server and gnome-session. When i log in remotely using VNC, it appears that the windows key is stuck. This occurs with multiple VNC clients (ultraVNC/realVNC on ...
3
votes
1answer
636 views

Can I limit connections per second for certain UserAgents using UFW?

GoogleBot is hitting my server hard - and even though I have set the CrawlRate in Webmaster Tools it is still hiking up the load on my server and slowing down Apache for the rest of the normal web ...
1
vote
0answers
22 views

Upstart script produces folder with question mark at the end. Why? [duplicate]

Possible Duplicate: Bash/Korn shell script edited on Windows throws error ‘…^M: not found’ I'm writting an Upstart job to run Postgresql: description "PostgreSQL 9.1 Server" author ...
1
vote
1answer
2k views

How do I fix a noisy input device (Internal Mic)? snd_hda_intel - debug included

As the title says, I'm having trouble with a very noisy audio input device - the internal mic or any plugged in mics. So far I've narrowed it down to an problem in ALSA since my debug info is showing ...
3
votes
2answers
9k views

Booting Ubuntu from usb on a Mac

I have a Macbook pro (late 2009) running OSX 10.6.8. I want to partition a flash drive and install my Ubuntu iso image onto it. Then I want to boot up from it by (restarting my computer and) holding ...
1
vote
2answers
292 views

MySQL server on Ubuntu fails to start after changes made to my.cnf in Windows

I have MySQL 5.5 running on Ubuntu Server 12.10. When I run /etc/init.d/mysql restart, I get the following: mysql start/running, process 2754 However, when I open /etc/mysql/my.cnf in Windows via a ...
3
votes
2answers
10k views

Finding out the values of kernel options related to sysctl.conf and sysctl.d

On my Ubuntu machine, in /etc/sysctl.conf file, I've got reverse path filtering options commented out by default like this: #net.ipv4.conf.default.rp_filter=1 #net.ipv4.conf.all.rp_filter=1 but in ...
2
votes
2answers
1k views

Moving a root directory to a separate partition

I'd like to create a new partition and move the contents of the /var directory to it for the security reason of having /var/www and other subdirectories "mounted" with nosuid, noexec, and nodev ...
3
votes
3answers
6k views

redhat vs debian/ubuntu system architecture (& not deb vs rpm)?

What are the key areas (except package management) where Fedora/RHEL/CentOS differ from Debian/Ubuntu Linux systems? I'm asking this from a newbie's perspective to the Linux admin world so that I can ...
1
vote
1answer
2k views

kernel: mdadm: sending ioctl 1261 to a partition!

Every minute these three lines are added to /var/log/syslog: Dec 6 06:04:01 machine1234 kernel: last message repeated 3 times Dec 6 06:04:01 machine1234 CRON[28959]: (root) CMD ...
0
votes
1answer
547 views

Why is rewriting in htaccess not working on this server

I'm moving code from a server that served a single domain to one that serves multiple domains. I'm using named virtual hosts to handle the different domains. The url rewriting is not being executed ...
1
vote
1answer
1k views

Second GPU does not show up in `lspci`

I switched the second GPU in one of our servers (Ubuntu 12.04.1 LTS). But now lspci only gives one entry: $lspci | grep -i nvidia 04:00.0 VGA compatible controller: NVIDIA Corporation G94 [Quadro FX ...
1
vote
1answer
1k views

Gigabit network connection in Ubuntu issue with new hardware

Probably its typical issue, but I couldn’t found the answer. Sometime ago I had mini-ITX server worked on ZOTAC IONITX-G-E. It was managed by Ubuntu 10.10. I setuped Gigabit network with this server. ...
2
votes
1answer
114 views

Adding repositories with “./” [closed]

I'm trying to add this unoficcial repository to my Ubuntu 12.04 machine (32 bits), in order to install a software called SLTV. According to the official site, the following lines should be used: deb ...
3
votes
2answers
1k views

Can't get lm-sensors to ouput correctly or load ATI Radeon temp and fan

I am new to Linux and having minor issues. I followed this guide initially, but did not receive the proper output, and it did not show my ATI Radeon HD 5000 temperature or fan speed. Then I used this ...
10
votes
1answer
15k views

How can I make this daemon/init run as a non root user?

I have an init script to kick off a daemon. The problem is it runs as root. I would like it to run as a user called "deploy". Ubuntu 12.04 #! /bin/sh # File: /etc/init.d/unicorn ### BEGIN INIT ...
2
votes
3answers
215 views

Wubi limitations

Hi there I am quite new to Linux. Initially I decided to use Linux on VM but now I want to have full fledged experience. But I don't want to partition my PC. Will Wubi work since Ubuntu is ok for me. ...
4
votes
3answers
811 views

Linux installation stops working after a few reboots

I'm trying to set up a dualboot Win8/Linux on my HP tablet (touchsmart tm2-1050ez). However, when I'm finished setting it all up, after a few more reboots, I'm not able to boot to Linux anymore, as I ...
19
votes
3answers
38k views

Creating an user without a password

I'm trying to create user without password like this: sudo adduser \ --system \ --shell /bin/bash \ --gecos ‘User for managing of git version control’ \ --group \ --disabled-password \ ...
4
votes
2answers
6k views

Cannot change baud rate on usb serial device

I recently upgraded to ubuntu 12.04 from 10.04. Under 10.04 I had no trouble using usbserial driver to connect to a device through the serial port. After the upgrade usually I cannot reset the baud ...
1
vote
3answers
3k views

Can only access my webserver from my computer?

I am learning Apache2, and I just attempted to make my local web server live to the internet. When I type my IP 86.207.14.136 on the browser's address bar and access it, I see the index.html stored ...
1
vote
1answer
258 views

Accidentally set /lib permissions to 644

Long story short, I've got an Ubuntu server box that was recently compromised (I believe through a known exploit of an older version of Tomcat, which has already been updated). Part of the exploit ...