What are the solutions to consistently backup a set of VMs stored in disk images (qcow2 or raw) on a filesystem on a lvm volume (with possible snapshots).
- Online : Ideally, I would like to send a sync to all VMs before pause and snapshot, but it seems that it's not possible with KVM (it was with XEN). The save command seemed to be an option, but it crashes some VMs. So, what do you recommend to backup these VMs online ?
- Offline : Is there a command to shutdown all vms, and start them back after snapshot/backup ?
I have a server that started out at 8.04 LTS was upgraded to 8.10 and to 9.04. When I upgraded to 9.04 sudo and ssh stopped working.
Fortunately I have a root account and can login as root or su to root.
I suspect this is the result of changes I made to nsswitch.conf and pam.conf to get winbind working.
I was hoping for a fix by upgrading to 9.10, but that didn't work. I want to upgrade to 10.04 LTS, and stay there but I think need to resolve this first.
auth.log reports failed password for ssh attempts and authentication failed for sudo. I am at a loss to determine where the problem is and how to track it down.
I had a working server 9.04 on my network and I could access shares via Samba and MacFusion from Windows, ubutu and mac boxes. After the upgrade I can not access shares via Samba, I can ssh in it just fine (no change there) also Macfusion mounts the paths just fine.
Anybody had this problem with the upgrade? It must be samba everything else is working (also I can't access any files from my Ubuntu Laptop running 10.10 Desktop edition)
Here is my smb.conf file:
[global] workgroup = WORKGROUP server string = %h server (Samba, Ubuntu) wins support = yes ; wins server = w.x.y.z dns proxy = no
I had sybase server running on my desktop but after the upgrade it does not seam to start properly. tried to restart the server many times but does not seam to help
The logs are displaying as below 00:00000:00001:2010/11/19 13:53:08.21 server Recovery complete. 00:00000:00010:2010/11/19 13:53:08.26 kernel Initializing Job Scheduler Task 00:00000:00010:2010/11/19 13:53:08.39 kernel Installed Job Scheduler sequencer code version 0.27 - 27 tokens
Any changes in the way httpd.conf works in 9.04Yesterday I updated from 8.04 to 8.10 and then to 9.04. All works fine, except for Apache Virtual sites.I had several defined in my httpd.conf file, which I used for testing clients' websites.ince the upgrade the virtual sites are not recognised, and all access is done at the original level /var/wwwAny changes in the way httpd.conf works? checked the Apache docs, but found nothing.Here's the httpd.conf I've been using:
<Directory /var/www/clientname/htdocs/products> AllowOverride All </Directory>
I'm running a Windows 7 guest using Virtual Machine Manager to launch my "console" to the VM. I believe it uses VNC to connect to the console. I'd like to have clipboard synchronization so I can copy from the host and paste to the guest.
I am currently using Centos 6. I want to use the latest version of libvirt (libvirt 0.9.4). The machine already has libvirt 0.8.1 installed . I did yum remove libvirt to remove the existing libvirt and I compiled 0.9.4 from source using :
./configure --prefix=/ make make install ldconfig /etc/init.d/libvirtd start
After the installation is complete, I wanted to use the virsh interface. Once I enter virsh , I get :
virsh /lib/libvirt.so.0: version 'LIBVIRT_PRIVATE 0.8.1' not found (required by virsh)
I just wanted to know opensource & proprietary products/tools built using libvirt (like oVirt, AbiCloud, archipel). I am a linux newbie and in a new job wherein, this is my first task to work on libvirt and create a report on existing products n benefits. it will be nice if someone guides me on libvirt advantages. If this is not the right place to ask. do suggest me an alternative website to find the information.
and probably to perform other tasks requiring root privileges (?).I don't know very much about polkit, so I don't know if I'm not missing (or messing up) something.This is the error I get under 11.4:This is the expected behavior (11.3)No matter if I run Gnome, Kde or another de. The process highlighted in red on picture 2 is the one started when a user click on connecting. It fails to start on 11.4 - probably due to my own mistake (?) but I don't know. I could start virt-manager with gnomesu, kdesu or xdg-su -c, that would just start the program as root, but it shouldn't be necessary
I get this error message when I open up virt-manager (logged in as a typical user):
Code: Unable to open a connection to the libvirt management daemon. Libvirt URI is: qemu:///system Verify that: The 'libvirtd' daemon has been started Manually trying to start the daemon results in: Code: error : qemudWritePidFile:508 : Failed to open pid file '/var/run/libvirtd.pid' : File exists virt-manager works just fine when I log in as root.
I am new to virtual machines in general, and currently playing with the XEN-based VM in CentOS 5.5. Question: if neither virt-manager nor virsh (using "virsh edit <guest name>" and changing the name in the XML file) are designed to actually change a guest's name...then what is the recommended procedure for doing this?
I just installed the lamp stack and so far my default site is working. But a 2nd site I made is not working.I created the config file in /etc/apache2/sites-availableit reads:Quote:
I have very interesting problem after ~10 PHP Fatal error, php 5(latest one) in apache2(latest one) in Ubuntu Server 10.10(with latest updates) just do not work. So if try any php page it's not working(user see white page), but HTML still work fine.What that can be? So only restart apache is help to back php. (we are running Wordpress blog 3.1)
I had a problem with apache2 and getting .htaccess working. I have done some things and i believe its working the ErrorDocument command is anyway. I believe there may be some problems with the rewrites though.Im trying to take a urlhttp://localhost/showthread/123and make it display whats on http://localhost/index.php?showthread=123The rewrite rule is Quote:
Options +FollowSymLinks RewriteEngine on RewriteRule ^showthread/([^/.]+)/?$ index.php?showthread=$1 [L]
I upgraded Samba to 3.5.2 to enable Windows 7 to log in to the PDC. ACL was working with the Samba 3.0.28a that came with 8.04LTS. After upgrade I can now log in to the domain with Win 7 but ACL permissions are not working on Win7, XP or anything. They still show on the server but any attempt to change permissions on the workstation fails with "Access is Denied" and only user/group/other permissions are doing anything. Anyone know what changes for the ACL were made between the two versions? I know they're working on switching to VFS modules but setting "vfs objects = acl_xattr"
I have a production mdadm RAID1 v.8.04 Ubuntu Server and would like to upgrade to a PAE enabled kernel of 8.04 Server. I have 4GB RAM and would like to extend to 6GB RAM in the near future. I remember reading about a simple method of upgrading the kernel, but cannot find much info on the net. Has anyone upgraded and what performance gains were found with the PAE enabled system?
After upgrade to Ubuntu Server 10.04 LTS, ufw has started blocking some legitimate HTTP and FTP contacts. What can I do to tell ufw not to block any HTTP and FTP requests.This is what is shown in messages:
Code: May 3 11:07:48 server kernel: [] [UFW BLOCK] IN=eth0 OUT= MAC=00:00:00:00:00:00:00:00:00:00:00:00:00:00 SRC=192.168.1.100 DST=192.168.1.50 LEN=60 TOS=0x00 PREC=0x00 TTL=121 ID=9979 DF PROTO=TCP SPT=60191 DPT=80 WINDOW=16560 RES=0x00 ACK URGP=0 UFW has these settings:
some time ago I've installed Ubuntu LTS 10.4.1 on my linux server because I tought that the long-term-support version was the server version... then, I realized that there was also an Ubuntu Server edition... so, is it possible to upgrade my current installation to 10.10 Server edition? what should I do?
Version 9.10 had been installed via the alternate CD as the LTSP Server Edition. In place upgrade to 10.4 completed normally via Update Manager. However, LTSP terminal boot now fails with error "Forbidden directory" and "Access Violation". The following was found . Ubuntu 10.4 uses tftp-hpa. Either this is a change from Ubuntu 9.10 or the default behaviour of tftp-hpa has changed. So now, the filename argument given in /etc/ltsp/dhcpd.conf must include the full pathname. The previous requirement was to exclude the chroot path. If this is documented somewhere, I missed it. And after modifying /etc/ltsp/dhcpd.conf, do not forget to restart the dhcp daemon $ sudo /etc/init.d/dhcp3-server restart
I have looked around a bit but I can't even get my head around what to do next.
I attempted to upgrade my headless Ubuntu server from 8.4 LTS to 10.4 LTS last night. I used screen so that I could reconnect because the update said that although SSH may crash, I should be able to get back on via port 9004. When I tried to get back on this morning I could not SSH in via port 22 or 9004, so I did the only thing that I felt that I had left--I rebooted. I have since had to dig out an old monitor and keyboard and put a head on it to try and get this problem resolved.
When I boot the computer, GRUB gives me the option of kernel 2.6.32-21-generic-pae, but when I pick that I get the following error and the Caps and Scroll lights on the keyboard just blink.
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)I next have the option of kernel 2.6.32-21-generic-pae (recovery mode), but when I choose that option I get a screen full of time dated lines that do not make any sens to me and that same previous error message somewhere in the middle of it all.
If I try to boot to any of the old kernels, then I get a screen full of error messages and get dropped to an ash shell, BusyBox v1.13.3
Obviously the computer was in the middle of asking me something very important when I rebooted, but without being able to log in, I was never going to find out what that was. I guess I assumed that it wasn't a big deal because all of this was probably sorted out already as a possible chain of events on a headless server upgrade.
The bottom line is that my server no longer works and I do not have a clue as to how to get it up and going. If you have ever experienced this situation and have gotten through it or you actually do know something about this situation, please help me out.
My server is no longer headless, but I am now definitely clueless.
I have a Ubuntu Server machine that I can't get to 10.04. Sometime in the past I updated it to 9.04, but perhaps something went wrong. When I do a do-release-upgrade, it tells me there are no upgrades available. I tried a bunch of things but no luck, so I installed gnome to try the gui update manager on the console. When I start it, it first tells me that my distribution is no longer supported and that I should update. It gives me the button that says 9.04 is available, but after I click it I'm told that there are no new versions available.
About 3 months ago I upgraded from 8.04 to 10.04 and the experience has since been very problematic in regards to overall performance. The problem is mostly with MySQL, but I have also noticed that the smallest amount of disk IO slows down the system a lot. I was expecting a slight performance improvement before I upgraded, but instead I got a very big opposite. I tried tweaking the MySQL server settings, but the improvement has been minimal.
At this point I am going to have to make a new system with something like Centos (I've heard good things about it's performance). Before I do, I want to give Ubuntu one last chance and ask if anyone knows anything that can be done to fix the performance issues. At the very least go back to something that is comparable to 8.04?
I've two servers working quite happily, but I'm aware that support for Jaunty/Jackalope is ending. One servers is a Samba PDC the other is a mail server.I obviously don't want to break either of them. What is the recommended procedure for upgrading from 9.04 to 10.04 LTS can I do it directly and if it fails can I just use my backup over the top of the upgrade to effectively downgrade?
In order to pass PCI compliance I need to upgrade our webserver from php 5.3.5 to php 5.3.6. I found this: [URL] however it doesn't seem to work. My best guess is due to the fact I have 64bit server. Is there something else I can do without going through a compile?