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)

0
votes
0answers
71 views

sybase and iconv

I inherited an old Ubuntu 6.10 server running php 5.1.6 which is using sybase to connect to MSSQL. A user submitted some text containing an en-dash and crashed one of my script. It turns out sybase ...
0
votes
0answers
98 views

uploading from Netbeans to remote CentOS server failed

I have a php web application on Netbeans on my Ubuntu , and server is CentOS on a virtualBox . Suddenly uploading to server stopped and I'm getting these errors for non-root user : Failed: file ...
5
votes
3answers
2k views

Ctrl + c will not kill process

I have looked for answers and so far have found nothing to answer my question. I am currently logging in to my Ubuntu server and upon running a process I can not run any of the interrupts on it. Here ...
0
votes
0answers
155 views

Postfix address resolver + loopback to root problem

Ubuntu Linux 12.04.1 With LAMP stack. The goal is to setup a web server that can send mail via the PHP mail() function, which uses localhost. The mail must then be relayed to an ISP domain ...
1
vote
2answers
145 views

Run service after logging in on an X session

I am using Ubuntu 12.04. I want to automatically start a service after login with LightDM. This service is not meant to start on boot, but after X is initialized.
4
votes
2answers
500 views

Get diff changes between original files installed with apt and current files

I installed php5-fpm package using apt; then I made some changes to the PHP configuration files. Now I would get the diffs between the original files versions (the ones of the package installed) and ...
0
votes
1answer
449 views

Transfer 150GB of files from an old MacBook Pro with Ubuntu 13.04 Live DVD

My girlfriend's old MacBook Pro 2009 (5,4) stopped working. I have tried several times to reinstall OS X, but could not do so. There appears to be something really really wrong with the OS. Since she ...
5
votes
2answers
2k views

/dev/md127 refuses to stop. No open files

So I'm trying to stop /dev/md127 on my Ubuntu 12.10 box. It was set up as RAID1, but I'm trying to move everything (well, rename) to md0. I read that renaming isn't possible, so I'm trying to remove ...
2
votes
1answer
2k views

How to get past “Loading Initial Ramdisk” hang after going from x86_64 to i686 cpu

Long story short, I have a Ubuntu 12.04 64-Bit Server setup as a virtual machine with VirtualBox (4.1.18). I migrated the guest machine from an AMD chipset (a gaming machine) to an Intel Xeon (server ...
-1
votes
2answers
155 views

Copyed mysql files from previous system now error while connect, what to do?

Fist of all I have the files but the old system is gone. I took the folders in /var/lib/mysql/ and gave then the permissions the mysql folder that was in there had. user mysql group root only ...
1
vote
2answers
549 views

cannot mount .img file - “not a directory” error

I try to execute the following command on an ubuntu 12.04 system: sudo mount minix203.img -o loop -t minix /mnt/myminix/ in order to mount an .img file with minix partition; and get the following ...
1
vote
0answers
313 views

After ubuntu install + software raid 0 config, we see: rejecting I/O to offline device

I'm trying to pin down what this error rejecting I/O to offline device is, as seen towards the end of this syslog. Ideas: Problem with RAID-0 configuration (we have 2 4TB disks in RAID-0 and I do ...
0
votes
2answers
246 views

Migrate an entire volume group LVM2 to RAID5

I have a Virtual Host server build with Ubuntu and Xen SO Ubuntu 12.04.1 LTS 64Bits xen-hypervisor-4.1 Disk Hitachi SAS 15K 147GB (x2) in a Volume group sda1 1GB /boot sda2 146GB lvm sdb1 ...
2
votes
1answer
497 views

How to check if hot-swap or hot-plug are activated on my Linux machine

I have Ubuntu 12.04.1 LTS 64-bit on a PowerEdge 2900. My current setup has two 300GB disks (no RAID), but I want migrate the system to three new 600GB disks. I'm trying to connect the new disks, make ...
0
votes
0answers
162 views

Remote desktop server as daemon

I'm using KRFB as remote desktop server in my Linux Mint KDE. It works fine as usual remote desktop server but I've to log-in then run it manually (or at start up) How can I run KRFB of any remoter ...
2
votes
3answers
163 views

Mystery of a small 1K hard disk partition, and is it safe or malware on Ubuntu 12.04.02LTS Amd64 generic

Look at my bizarre sda4 partition. It is just 1K in size! Be mindful that this is not cluster size, this is partition size. I did not knowingly install this sda4 super small partition. This is not ...
1
vote
0answers
239 views

System packages not detected by the Oracle installer

I am installing Oracle 11g 32bit on Ubuntu Linux and the setup shows the following error message on Prerequisite Checks screen: This is a prerequisite condition to test whether the package ...
3
votes
3answers
2k views

XEN Storage Repository has option type=lvm missing (XCP)

Several online documents on this subject talk about creating an SR with the option type=lvm but trying these: # xe sr-create type=lvm device-config:device=/dev/server/sr_guest1 name-label=sr1 ...
2
votes
2answers
199 views

Strange crontab-script interaction (bash)

I'm running Ubuntu 12.04 and bash. I've written a pair of shell scripts that allow me to set an alarm which, after ringing, unsets itself. The first, alarmset, allows me to enter a time and modifies ...
2
votes
1answer
167 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 ...
-4
votes
3answers
815 views

ubuntu: sudo find / -type d -exec chmod -Rf a-wr {} \; the user can't login [closed]

I used ubuntu 12.04 (32bit).Today,I mistakes a command is executed: WARNING DO NOT EXECUTE THIS COMMAND: sudo find / -type d -exec chmod -Rf a-wr {} \; I can't login system;The System is only one ...
3
votes
2answers
2k views

Ubuntu: How do the md devices get assembled at bootup?

How do the md devices get assembled at bootup in Ubuntu? Is /etc/mdadm/mdadm.conf truly the relevant factor here? My mdadm.conf is sound and I checked that while I was in the rescue CD environment. ...
0
votes
1answer
166 views

Can I configure software RAID on an existing server without losing the existing partition?

I've got an existing server with 1 disk and Ubuntu 12.10 installed and running. I want to add a 2nd disk and configure RAID 0 across the two disks using Ubuntu's software RAID. Can I do this ...
2
votes
3answers
1k views

Using sudo in openSUSE without actually changing to root user (i.e., like in Ubuntu)

I recently started trying openSUSE 12.3 after having used Ubuntu for a few years. I'm still getting used to openSUSE's treatment of su (and sudo) vs. Ubuntu's use of sudo. I've been reading the ...
5
votes
3answers
862 views

How does one open a new window from the shell with a specific size and position?

For example, say I wanted to start gnome-terminal with it's northwest corner at 0,0, and make the window 736x434 pixels (apparently the default, which allows for an an 80-character by 24-character ...
2
votes
2answers
145 views

Install the same 64-bit packages as a 32-bit Xubuntu installation

I have been using a virtual machine (Xubuntu 12.10, with VMWare on a windows host) for all my programming work, which I am trying to transition from a 32-bit install to a 64-bit install. I am hoping ...
2
votes
2answers
765 views

Can't do SSH public key login under encrypted home

I can't do ssh public key login to my server and I think this issue is related to the fact my home is encrypted. I chose the option "encrypt my home folder" under the Ubuntu install setup. The ...
0
votes
1answer
40 views

How to resolve midgard2 already loaded?

When running PHP on my Ubuntu 13.04 machine I get the following warning: PHP Warning: Module 'midgard2' already loaded in Unknown on line 0 This tells me exactly nothing. How could I resolve this ...
0
votes
0answers
342 views

make: i686-linux-gcc: Command not found

I am using Ubuntu-11.10 amd64 and trying to cross-compile a linux-2.6.38.8 kernel for a 32-bit target.I tried make CROSS_COMPILE=i686-linux- ARCH=i386 But I got error make: i686-linux-gcc: ...
0
votes
2answers
95 views

Transfering files using ssh

I've found the following command pretty convenient for transferring files to servers I have ssh access to: cat myfile.txt | ssh my.host.edu "cat > myfile.txt" Is there a similarly convenient ...
3
votes
1answer
73 views

Deleted user but files keep his group?

I removed a user from my computer. Now there's a lot of files that I need to modify that are from the deleted user group. How can I change ALL file group and owner from that deleted user without ...
3
votes
1answer
3k views

Cannot reach outside network or IP after upgrading to Ubuntu 12.04

I am running Ubuntu 12.04 on my server but since the upgrade from 10.04 I can no longer reach any outside sources of the server. I can SSH into the box, but from inside here I can not reach anything. ...
0
votes
1answer
165 views

Copy modified files from one server to other

Scenario: 2 Servers (*.12 and *.13) CakePHP "application" on both of them. *.12 is "Production" Server *.13 is "Development" Server Now i want to copy all files modified the last 2 days from test ...
2
votes
1answer
101 views

Partitioning. Arch vs Ubuntu manuals

I got a little confused after I had read advices on https://wiki.archlinux.org/index.php/Partitioning and on https://help.ubuntu.com/12.04/installation-guide/powerpc/directory-tree.html. Why is there ...
2
votes
1answer
244 views

exchange two words using sed

I am trying to exchange two words in a line but it doesn't work. For example: "Today is my first day of university" should be "my is Today first day of university" This is what I tried: sed ...
4
votes
1answer
63 views

How does APT deal with different programs with the same name?

I decided to finally learn vi and as I was doing that I realized that vi wasn't behaving as I expected. I learned from another post that this was because, on Ubuntu, vim-tiny is installed by default. ...
2
votes
0answers
101 views

To what extent does LXC manage configuring the network interface in a container?

In the LXC config file we can specify an IP address for a container: lxc.network.type=veth lxc.network.link=br0 lxc.network.ipv4 = 10.1.0.35/16 lxc.network.flags=up lxc.network.hwaddr= ...
0
votes
2answers
1k views

Ubuntu crontab php not working

Yes, I have read many, many documentations but I can't get it to work. I have a simple single php file which I want to run once or twice in a minute. My php file is called: cronjob_refresh.php and I'm ...
2
votes
2answers
2k views

Extra bridge interfaces get added automatically

I have a bridge set up between eth0 and br0, the bridge works fine, but sometimes, for unknown reasons and circumstances, I keep getting these off vethXXXXXX interfaces added to the bridge. When this ...
6
votes
1answer
902 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
181 views

Backtrack mp3 problem

I've installed Backtrack but I can't figure out how to play mp3files. I've installed ubuntu-restricted-extras,lame, libmp3lame but still won't work(I have Rhythmbox player, I've also tried Amarok). ...
2
votes
1answer
1k views

Is GREP_OPTIONS= --color=always ignored?

I was playing around with setting GREP_OPTIONS and couldn't get it to work. Just curious as to why. Simple test commands output: richard@ubuntu:~$ echo $GREP_OPTIONS richard@ubuntu:~$ ...
2
votes
0answers
332 views

Error: invalid arch independent ELF magic, while loading a VirtualBox machine with Ubuntu Tinyos

I've created a virtual machine with Ubuntu (having TinyOS). The problem arises when I start the machine. I immediately get a black screen with written: GRUB loading. error: invalid arch independent ...
1
vote
1answer
314 views

How do I manually modify an inode?

I am using Ubuntu Linux and, just for fun, I want to create a hardlink to a directory (as seen here). Because I'm just doing this for fun, I'm not looking for any sort of pre-developed ...
0
votes
0answers
94 views

User installation emacs 23 on a centos 5 with system-wide installed emacs-21.4-20.el5?

I would like to install my own copy of emacs 23 on a Centos 5 Linux where I don't have admin rights. I would like to have my own modern copy of emacs on this Centos 5 system since I've got a problem ...
3
votes
1answer
263 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 & ...
1
vote
0answers
115 views

Can't drag and drop in Qt Creator

I recently installed the system upgrades for my Ubuntu distro (12.10). Since the upgrades, I can't drag and drop items in Qt Creator. I found a solution that requires editing of xorg.conf. My system ...
7
votes
4answers
9k views

How to find the IP address of a KVM Virtual Machine, that I can SSH into it?

I have follow this guide (Virtualization With KVM On Ubuntu 11.10) to setup my KVM (Virtual Machines Software) on my Ubuntu 11.10 Server. However, I didn't setup my VM's IP address when creating the ...
5
votes
2answers
1k views

“who am i” after “su” not showing new user id?

Why is it that when I switch user 'su username' and then execute 'who am i' is outputs the previous user which I was logged as and not the one I've switched to?
1
vote
2answers
255 views

Which Linux distribution is suitable for serverside development and somewhat easy to use?

I need to setup a Linux-based server which is going to be the backend for our web services. This is what I need: (In order of importance) A GUI to manage applications and files It would be running ...