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.
3
votes
2answers
52 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
200 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
706 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 ...
5
votes
3answers
278 views
periodically can't access google
On a daily basis, at around the same time each day (early morning and early afternoon), my computer stops being able to access google or any sites that use google code (including sites that use google ...
2
votes
1answer
125 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
53 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
105 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
111 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 ...
9
votes
6answers
3k views
Ubuntu list explicitly installed packages
In Gentoo there is the file /var/lib/portage/world that contains packages that I explicitly installed. By explicit I mean, packages that I choose, not including anything installed by default, or ...
0
votes
2answers
61 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
57 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
21 views
Move a Whole Ubuntu Server [duplicate]
I have a machine with Ubuntu 12.04.1 LTS 64 Bits installed on a LVM except for the boot partition
the current settings is
/dev/sda1 /boot 1GB
/dev/sda2 lvm
on LVM
/dev/lvm/root 45GB
/dev/lvm/swap ...
0
votes
0answers
51 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 ...
12
votes
3answers
12k views
How to record Skype video calls on Linux?
I'd like to conduct recorded video interviews with Skype and am looking for a reliable tool to accomplish that.
Is there anything out there that's not slow or buggy?
I'm running (K)Ubuntu.
2
votes
3answers
70 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 ...
2
votes
1answer
68 views
How can I force a Ubuntu kernel to fail mounting / and drop into the initramfs rescue shell?
I am trying to customize the initramfs rescue environment and would like to force the kernel to fail mounting / and drop into the (initramfs) rescue shell, as opposed to single user mode.
How can I ...
1
vote
0answers
44 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 ...
1
vote
3answers
616 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
...
28
votes
11answers
20k views
How can I get distribution name and version number in a simple shell script?
I'm working on a simple bash script that should be able to run on Ubuntu and CentOS distributions (support for Debian and Fedora/RHEL would be a plus) and I need to know the name and version of the ...
2
votes
2answers
63 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
57 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 ...
1
vote
2answers
1k views
Using cygwin and rsync — “password file must not be other-accessible”
I've finally got an old computer of mine running as a backup server with Ubuntu 11.10. I'm planning on using it to backup my Windows 7 machine weekly using rsync. I've got cygwin installed, and rsync ...
1
vote
2answers
91 views
How can I get an Ubuntu 12.04 box to do an aptitude update; aptitude upgrade?
I did an aptitude apt-get and then aptitude upgrade, on an Ubuntu 12.04 box, and got:
root@li393-189:~# aptitude upgrade
Resolving dependencies...
The following packages will be ...
-4
votes
3answers
112 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 ...
1
vote
0answers
42 views
Weird issue with unmet dependencies when cloning package states from earlier installation on same machine
I've been doing the usual routine of saving the package selections and also marking the packages as auto or manual as outlined in the question and answer here: Restoring all data from backup of dpkg ...
1
vote
0answers
69 views
Creating a terminal application from a shell script
I have a shell script. I want to convert the shell script to an application for Ubuntu which can be installed using (sudo apt-get install) command and after installing, the application can run from ...
2
votes
2answers
121 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. ...
3
votes
5answers
8k views
Black screen at boot with Mint and Ubuntu live CDs
I just bought an HP pavillion g6 laptop, with the hope of installing Linux on it. I have now tried both Linux Mint (my first choice) and Ubuntu, and both simply give me a black screen from the moment ...
0
votes
1answer
78 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 ...
0
votes
1answer
60 views
Connecting from OpenVPN Server to MySQL Server
I have an OpenVPN server installed on a server. What I'm trying to do connect from the OpenVPN server using the mysql client to the MySQL server than is connected to the OpenVPN server using a ...
1
vote
3answers
198 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
423 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
0answers
21 views
Sharing /boot between two Ubuntu 12.04 Server installations?
This question may seem trivial at first sight, but it has certain implications and I'm wondering what is the recommended path to take here.
Assume the following scenario: a server system. The default ...
2
votes
0answers
126 views
Ubuntu: How to configure DNS servers in /etc/network/interfaces correctly for resolvconf?
All examples I have seen of configurations (/etc/network/interfaces) showed that you configure an interface and then underneath that gave the dns-* lines such as:
auto eth0
iface eth0 inet static
...
2
votes
2answers
71 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
477 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
17 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
111 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
80 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 ...
0
votes
1answer
127 views
Unable to upgrade Cinnamon with Linux Mint 13
I would like to upgrade to the latest version of Cinnamon. I'm running Linux Mint 13 in a virtual machine. Everywhere I look, I see the same instructions:
> sudo add-apt-repository ...
3
votes
1answer
56 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 ...
0
votes
0answers
50 views
Ubuntu software-center problem in Linux Mint
I am using Linux Mint KDE Nadia 14 64bit version. When I run software-center, it dosen't work, following errors appear:
huseyin@huseyin-GA-MA770-UD3 ~ $ software-center
2013-03-31 23:00:24,688 - ...
2
votes
1answer
141 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
34 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
68 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 ...
1
vote
1answer
87 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
46 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
51 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
102 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
74 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 ...


