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)

2
votes
1answer
701 views

Ubuntu 12.10 - setup a user, when ssh login gives me /etc/bash.bashrc: Permission denied

I setup a user on my Ubuntu 12.10 server named "deploy" and I believe i added the user to the sudoers properly. However, whenever I SSH into the server with this user, I get: -bash: ...
4
votes
3answers
1k views

Ways to update Ubuntu (debian-based distros) offline

What is the easiest way to update/upgrade an offline Ubuntu machine with the help of a Windows machine that has internet access? This question also applies to installing new packages offline and not ...
0
votes
2answers
15k views

sendmail error dsn=5.0.0, stat=Service unavailable

i have configured an sendmail configuration in ubuntu 12.04 64 bit machine when i'm send th email through a perl script it gives the below error dsn=5.0.0, stat=Service unavailable and mail is not ...
0
votes
2answers
906 views

Ubuntu is running slow

I'm not sure since when it became slow, but I think after I did apt-get update. Here's my machine details: I can see from the system monitor that the CPU is working hard specially when I run Chrome ...
2
votes
1answer
609 views

Compile the Ubuntu “Raring” Kernel with the Intel Compiler

Of course, the first question is: why I'm doing this. Just for fun! I'm learning more about Linux kernels and I have a virtual machine that I can replace in 15 minutes. Getting to business, I don't ...
1
vote
1answer
126 views

eee pc 1025c shows black screen after booting on Ubuntu 10.04 [closed]

eee pc 1025c shows black screen after booting on Ubuntu 10.04 It does work in recovery mode, but not in default mode
2
votes
0answers
177 views

Possible to limit number of cups printers?

The way I have configured CUPS on my workstation is by echo 'CUPS_SERVER=cups.example.com' >> ~/.profile echo 'export CUPS_SERVER' >> ~/.profile When I open the print menu in any ...
2
votes
1answer
296 views

How can I access a shared folder from R on Ubuntu to a 2nd Ubuntu machine using Samba?

I have two machines running Ubuntu 12.04 LTS with Samba installed. I have access to myshared folder as expected. However, when setting in R the path smb://mymachine1/mysharedfolder to read a file it ...
1
vote
2answers
186 views

Change chkconfig used by Centos 6.3 to print “on” in bright green (like Ubuntu's chkconfig)?

chkconfig on Ubuntu will highlight services that are on in green when using list mode. http://i.stack.imgur.com/Jx1jW.png This does not occur on CentOS 6.3. I'd like that highlighting on the CentOS ...
2
votes
1answer
104 views

Why does apt-get remove only a few kB?

I installed nginx (sudo apt-get install nginx) and then removed it with sudo apt-get remove nginx. I to need ensure that the application is uninstalled and cannot run. (I'm still able to run service ...
4
votes
3answers
1k views

How do I share an internet connection through USB?

I have two Linux boxes. One is running KNOPPIX and the other Ubuntu. I have only one wifi dongle between them, and only one of them has an Ethernet port. They both have free USB ports however. I ...
1
vote
2answers
299 views

VNC connection taking a long time to connect (essentially…never)

I have my Ubuntu 13.10 desktop with vnc setup and installed. I'm using both a Macbook's integrated vnc remote desktop program and Windows 7's built-in Remote Desktop program to vnc. Both give the same ...
2
votes
1answer
2k views

Can't do chown/chgrp/chmod on shared dir in VirtualBox Ubuntu 10.04

I installed Guest Additions on my Ubuntu 10.04 VM running out of VirtualBox in order to enable directory sharing, following these instructions. Set the shared folder in the VirtualBox GUI and it ...
0
votes
1answer
82 views

init 0 process is not starting

Yesterday I have encountered one problem, when I turn on my PC it took a long time to boot. After booting it reached to command line with <initramfs> (It is unknown to me what it is) I thought ...
2
votes
0answers
25 views

Route a particular process over another gateway [duplicate]

I have 2 internet connections on differnet interfaces. I have eth0 which is internal ip of 192.168.1.70 and then I have another network connection to a different network which is on wlan0 ...
5
votes
5answers
15k views

Ubuntu 13.04 does not recognize USB drive

Using Ubuntu 13.04 (with Gnome 3), my new USB stick (details see dmesg/lsusb) doesn't show up automatically. Situation: The drive does not show up at fdisk -l The drive does appear when running ...
2
votes
2answers
193 views

How to associate a script at boot time to a specific run level?

I am trying to understand how run levels work. I understand the meaning of the 7 run levels and I understand that they were usually configured by /etc/inittab, which used to call /etc/init.d/rc, which ...
2
votes
2answers
1k views

Adding priority to the task permanently on Linux machine

How do I increase the priority for a task in Debian Linux system? After a little research I found that I can increase the priority to a task using nice command and if I want to increase the priority ...
-1
votes
5answers
6k views

how to enable root user in linux(Ubuntu)?

In Linux (Ubuntu),I am going through with a lot of problems. In ubuntu, I haven't got any root user. So, I have to apply sudo bash at every Instance. I just want to create a root user, from which I ...
1
vote
2answers
531 views

nodm not working on bootup

I've setup and used nodm in the past (it is extremly simple and easy), but now cannot get it working. My base system is Ubuntu 13.04 server, but I have tried Debian and older Ubuntu servers as well. ...
1
vote
4answers
238 views

Adding KDE to Ubuntu

I seem to have installed KDE on Ubuntu 13.04 desktop, by issuing sudo apt-get install kompare. The reason was rather esoteric – I wanted to use the Kompare utility, that's all. My Ubuntu is ...
1
vote
1answer
97 views

Terminal application erased from Ubuntu 13

I had a bit of rough time with Ubuntu yesterday when the home screen went blank and no program icons or sidebars were visible. Today after recovering from it and saving the essential data, I have ...
1
vote
1answer
2k views

How do I generate an SNMP community string for MRTG?

I have trying to set up MRTG on my server, following this guide: https://help.ubuntu.com/community/MRTG I followed it as far as, cfgmaker ...
2
votes
1answer
104 views

How to specify a daemon shutdown command with upstart?

In an upstart configuration how do I define what command should be used to shutdown a server. Lets say I have daemon that has two seperate processes. startup.sh - to start the server shutdown.sh ...
0
votes
1answer
1k views

Installing php5-mcrypt for phpmyadmin

I am trying to install phpmyadmin on a server. Unfortunately, I get the following error: Reading package lists... Done Building dependency tree Reading state information... Done Some packages ...
0
votes
1answer
414 views

Different behavior of mktemp Ubuntu 12.02 / Mint 9 Isadora

In a bash script I use ImageMagick's convert command for doing some image processing. I generate a temporal gif file for convert to write to. I really need the file to have the .gif extension so ...
3
votes
1answer
4k views

dpkg: warning: 'ldconfig' not found in PATH or not executable - Ubuntu 12 - Vagrant

I am working on setting up a Vagrant / Puppet install so that new developers can have a clean development environment for our Rails project. The basic Vagrant configure commands are: config.vm.box ...
3
votes
2answers
968 views

setting a cronjob in IST time

I am trying to set a cronjob run in a different timezone. I've googled a lot and found editing /etc/default/cron is the way to go. But this file is deprecated and I see the following message, so I ...
3
votes
1answer
49 views

Having error during Ubuntu installation

I have Ubuntu on a USB stick. When I boot from it (select boot from this USB), it shows some logs like usual. I also see the Ubuntu logo with 5 dots below, but then I get these: ext2_lookup deleted ...
6
votes
2answers
436 views

How to replicate a currently installed Linux system as an installation CD?

I have an installation of Ubuntu 13.04 which I have customized to be just the way I want it (default applications, user accounts, desktop environment settings, ...). Now, I want to be able to ...
3
votes
3answers
651 views

How to monitor directory/file changes to rebuild index?

Just moved to Ubuntu 12.04 from Windows 7. Under Win 7 I use "Everything" to search files and directories, it can build the index database and update it once any file or directory changes. I'm very ...
0
votes
3answers
4k views

How to download files from a remote Linux (Ubuntu) Server? [duplicate]

How can I download files from a remote Linux Ubuntu server? I have access to this server, but I don't know a convenient way to download a file from there using SSH (PuTTy), for example. Any ...
2
votes
2answers
1k views

Why command `ls -d` only print the `.` directory?

I have tried man ls, and then I got -d, --directory list directory entries instead of contents, and do not dereference symbolic links As the manual says, -d means listing all the ...
3
votes
3answers
4k views

How can I change the date modified of a folder to the last changed file inside? [duplicate]

In my media center directory all modified times of my folders are somehow not the desired date. How can I change all modified times of the main folders to the modified time of the newest media-file ...
1
vote
2answers
135 views

Figuring out installed packages on Ubuntu from filesystem backup

I have a full filesystem backup from my Ubuntu box, and my OS disk crashed. Is there a way to list all installed packages (like dpkg -l does but) from the backup? The logfiles are not an option as ...
2
votes
0answers
507 views

PC sudden shutdown, Sensors show normal temps, Thermal event interrupts shows 1276

I'm experiencing sudden shutdowns on my Linux systems. Using Ubuntu 12.04, my kernel version is 3.5.0-37-generic #58~precise1-Ubuntu. Running a Acer M5 581t(G) with 6 gigs ram laptop. I have been ...
1
vote
1answer
362 views

Applications grabing ALSA exlusively

So, my second question about linux audio on the site. The previous one generated quite a lot introductory information. I have ALSA and PulseAudio installed. Before installing PulseAudio, no audio ...
1
vote
1answer
193 views

How to figure out what is performing scheduled server reboots?

I'm helping a friend with a server and it appears the server reboots every week on Sunday night. How can I figure out what is causing is the server to reboot? Aside from rebooting, the server appears ...
1
vote
2answers
377 views

Ubuntu 13.04 with LinuxLive USB Creator and persistance forgets desktop background and keyboard layout

I'm using a live and persistent version of Ubuntu 13.04, created with LinuxLive USB Creator. The persistence mostly works, including for documents and apps, however the desktop background image and ...
2
votes
2answers
835 views

Mouse pointer stuck as I login

I am facing this problem,and I don't know I dig into it. As I log into Ubuntu my mouse pointer get stuck. I have tried the following methods: sudo apt-get update sudo apt-get upgrade I have also ...
3
votes
2answers
2k views

Find out screen id

I want to start a program with SSH using PHP, which works fine, but now I want to kill the screen with PHP, but the only thing I know is the name of the screen. How do I find out the screen ID ...
0
votes
2answers
173 views

How to attach my domain with bind in real www

How to attach my domain with bind in real wwwI install bind9, with apache. By God's very grace every thing went smooth. my dig, host, nslookup and ping provide this info: my system ip address: ...
1
vote
1answer
47 views

Cannot figure out how to revert back to backed up profile file

Basically, I made a backup copy of my /etc/profile (or ~/.profile I can't remember exactly) file that executes as soon as you login to a TTY, and then I changed the one that was there, and now it ...
1
vote
2answers
176 views

Move and empty /home partition of Ubuntu

My partitions are: Ubuntu's / on /dev/sda1 Ubuntu's /home on /dev/sda6/ Crunchbang's / on dev/sda7 Now I want to install Backtrack, but for this I need to get rid of Ubuntu's /home and move its ...
1
vote
2answers
527 views

errors trying to transfer via SCP [closed]

I'm trying to transfer a file between two servers and i'm getting different errors. Option 1: Logged at OLDSERVER via SSH scp file.tar.gz root@IPADDRESS:/var/www/. The error in this case is ...
0
votes
0answers
236 views

Installing oracle in pendrive Linux

I am thinking of installing Pendrive Linux (Ubuntu 12.0), and after that I need to install Oracle in Ubuntu. Does that mean Oracle get installed on my Pendrive space or Windows Partition? I am using ...
1
vote
1answer
156 views

Ubuntu 13.04 on Acer x64 PC, only boots after starting recovery

I have this strange problem with my Acer E1 421. First of all it's important to say that I've upgraded this laptop's memory to 8gb RAM instead of 2. I decided to remove Windows 7 x64, and install ...
1
vote
1answer
1k views

enable/disable NTP service on Ubuntu 12.04

Our application runs on Ubuntu 12.04 precise. On this server, we have both ntpdate and ntp. How to enable and disable ntp service on-demand? I tried sudo update-rc.d -f ntp remove/default and ...
1
vote
1answer
5k views

How to properly automatically/manually rotate log files for production Rails App

I am taking over administration for a server which has a custom made 3rd party Rails app. The app developer informed me that the ruby log files are getting large and pointed me to the following link: ...
1
vote
1answer
619 views

Cron automated bash script to run run 1 bash script then another, plus integrity check

So I have a custom in-house app developed by a 3rd party. When the app is running, I can verify it is running with the "screen -ls" command. As long as screens are running for rails and freeswitch ...