Debian :: Asynchronous Update System Between Two Computers

Jul 24, 2011

In a few months I am gonna be starting a website that handles credit card information.

A requirement of my servers is that they be fully self-maintaining.

By this is mean that they will download their own updates, restart them-self, and switch them-self back on after general house power failure (black out).

Is there a way in Linux to make the computer automatically reboot itself after download and installing an update (if it needs to). My Linux uses the apt package system, with Synaptic Package Manager/Update Manager.

Now here is another problem I found. When a customer has logged into my site, my computer won't register them as logged in when they've rebooted? Like, its going to issue them new cookies? Credit card transaction process will be have to be restarted?

What if I build two identical server running in sync with each other... sort of like RAID mirror.. and they both download and install updates, once their both ready to reboot. Computer 1 will reboot. On successful reboot, System 1 alerts System 2 that it successfully reboot and that System 2 may now reboot. This way the customers experience is not interrupted.

View 2 Replies


ADVERTISEMENT

General :: Difference Between 'synchronous' And 'asynchronous'?

Jan 24, 2010

What is the basic difference between 'synchronous' and 'asynchronous' io in the linux/unix platform ? And in Linux RHEL5 and AIX 5.3 / 6.1, How can I measure that my server support either 'asynchronous' or 'synchronous' I/O ?

View 1 Replies View Related

Programming :: How To Properly Clean Up On Asynchronous Or Sudden Shutdown

Jun 6, 2010

I have an user space application that performs file I/O operations, when a SIGKILL is captured, some routines are done first to ensure that all I/O operations are completed before rebooting the application or system. My question is, this won't work if the power button is pressed or the power supply is disconnected, so there can be incomplete I/O operation or corrupted data written into the file, so is there a way to prevent data corruption or at least complete any ongoing operation when this scenario happens? Assuming there is at most 1 second before the power really went out, can I/O be still completed?' I'm running the application on a busybox 2.6.14 kernel on an embedded system board.

View 1 Replies View Related

Fedora Installation :: Use GUI Tool For Update System - No Response When Click The 'Update System' Button

Apr 28, 2009

I've tried to use the GUI tool for update system in Fedora 10. It listed all of the available updates successfully, but it have not any response when i click the 'Update System' button~

View 2 Replies View Related

Debian :: Bug Prevents System Update On Squeeze

Jul 8, 2011

I cannot update my system either with Update Manager nor with Synaptic. The system tries to download the updates, and then generates an error message that I have broken packages. So, I click on Fix Broken Packages, etc., and when running get the following error message:

E: /var/cache/apt/archives/libavcodec52_5%3a0.6.3-0.0_i386.deb: short read on buffer copy for backend dpkg-deb during `./usr/lib/i686/cmov/libavcodec.so.52.72.2'

This appears to me to be a system bug. I'm running the 32-bit version of Squeeze. Re-install, or ?

View 4 Replies View Related

Debian Configuration :: Crashed After System Update

Jan 23, 2011

I updated squeeze last night for the first time. It worked fine after 1st reboot last night. There was one reboot stalled at "hald" so I shut down and restarted. Worked ok 2nd time around

Today,upon login I got a string of taskbar notification (which I couldnt read as they all overlapped . I was able to see a kernel error message but couldnt report it (network was down) or save it (USB stick not recognised) Some programs worked, others didnt

I have the partedmagic rescue distro on USB stick so have those programs to use in order to fix the problem. Any idea how I can repair this? I tried fdisk for the hell of it. reported clean partition as predicted. I am using debian-testing-amd64-kde.

View 3 Replies View Related

General :: Synchronize System Changes On Two Computers?

Aug 22, 2010

I have two computers with Ubuntu 10.10 on them, a desktop and a laptop. I have two options for handling them:
Try and keep them the same
Accept that they have different 'personalities' and branch off their on way

However, I've chosen the first option because I like to keep my files and settings the same on both computers. I am in the process of extracting a tar archive I made of my entire desktop's hard drive (9.7GiB) onto my laptop, so after this is done they will be exactly the same. However, upon turning the laptop on with my freshly-copied system, things will become different. If I take the laptop to school, for example, and do stuff there, then come back home, and do stuff on my desktop, how can I sync these computers (both ways!) with the new changes at the end of the day/week/whatever?

View 2 Replies View Related

Debian :: Cannot Update System After Unsuccessful Install Of OpenOffice

Mar 20, 2010

I installed openoffice 3.2 but had insufficient diskspace at /opt. Thereafter I receive this message if I start the package/update manager.
"A unresolvable problem occurred while initializing the package information. Please report this bug against the 'update-manager' package and include the following error message:
'E:The package ooobasis3.2-math needs to be reinstalled, but I can't find an archive for it.'"
Uninstall and reinstall (at a different location (/usr/opt) is not possible although there is enough space.

View 1 Replies View Related

Debian :: Grub Settings Revert After System Update

May 18, 2010

I used the Debian Lenny (main, not testing) update manager yesterday to install some new updates. Took a few minutes and no problems but today I started up and for some reason my system wouldn`t load.The hard drive installer automatically sets hd1,0 as my Debian system when it`s 0,0. I had changed this but upon updating yesterday the system again has grub using the previous setting.

Is there any logical reason why a system update (not upgrade, just small update via update manager using only main files not testing or volatile nor backports) could or would change my grub settings back to the wrong ones? I haven`t installed anything else, the only change has been the standard system update so it can only be that which caused it, but why?

View 7 Replies View Related

Software :: Mirroring System Folders Between Two Computers

Sep 7, 2010

I'm trying to mirror an apt-cacher-ng cache between two computers. I have apt-cacher-ng installed on my laptop, and I have another machine running apt-cacher-ng. In order to keep them both up to date with each other and to make sure all the computers have all the updates, I've been trying to find effective ways to keep them matched.

- Unison looks like what I want, it would delete files that are deleted, and it would add files that are added. (the assumption is if they're deleted from one, they'd be deleted from others).
- Rsync seemed quite a bit easier, especially with the advanced permissions issues. Apt-cacher-ng uses a user called apt-cacher-ng.

Instead of giving root an ssh password, I wanted to just ssh as apt-cacher-ng. Then I can still get the files over the network, but without the root account being open.
So I ran:
passwd apt-cacher-ng
and when I sshed, it looked like it was working until it logged me out (almost immediately). So that's not working. What am I missing? Maybe there's a better tool then rsync for this?

View 2 Replies View Related

Debian :: Gnome 3 Desktop Shows Only Classic After System Update

Mar 6, 2015

How to troubleshoot my desktop. After I use update manager and restart the desktop, it defaults to Gnome classic display instead of the usual Gnome 3 display.

View 6 Replies View Related

Networking :: Secure System Design (300 Wireless Computers)

Mar 7, 2010

How to design secure fault tolerant network (routers, firewall, domain servers, etc) of 300 wireless computers separated in multiple buildings and floor with multiple users for each station mainly utilizing dtp and internet software?

View 1 Replies View Related

OpenSUSE Network :: Connecting Two Computers On LAN \ Both Computers Are Connected To A Switch With Cables?

Jan 31, 2011

im trying to connect two computers on lan.One computer has: VMWare Workstation and has Opensuse 11.3 mounted in it.The other computer has: VMWare Player and has Opensuse 11.3 mounted in it.Both computers are connected to a switch with cables.I have followed this guide in both computers:Depanati singuri calculatorul!: Opensuse 11.3 - configure local networkin order to setup a network.In one computer, if i go to: Computer---Network---Network folder, i only see one machine. When in fact i could see both of them right

View 9 Replies View Related

Ubuntu :: Automated Scheduled Backup System Waking Up Computers

Mar 24, 2010

I am looking for an automated backup system and I like bacula. I have 3 Notebooks and a Desktop computer that need regular backup. Now I don't want to let them run all night just to do the backuping, so I was thinking I could use wake-on-lan to have bacula wake up the machines, then do the backups, and shut them down afterswards. While this may work with devices on the ethernet, it won't work with the Notebooks on the wifi. So is it possible to have the Notebooks schedules to automatically wake up from suspend or shutdown ? Or is it possible to interject a shutdown command if it is after a cerain hour and call the bacula director to start the backup now?

View 2 Replies View Related

Debian Multimedia :: MPlayer No Longer Listed In Apps Menu After System Update

Aug 3, 2010

MPlayer was working just fine last night, but today I'm having problems which may be due to me performing a system update. I noticed that MPlayer was no longer listed in my Applications menu and I no longer had the option of opening videos with it. However, I now had Gnome MPlayer which must have been installed with the update because I never installed it. Whilst going through Synaptic, I found that the MPlayer GUI had been removed, so I re-installed it. However nothing happened when I attempted to open videos with it.

When I tried to use it through the terminal I got the error message:
mplayer: relocation error: mplayer: symbol codec_wav_tags, version LIBAVFORMAT_52 not defined in file libavformat.so.52 with link time reference

I found a bug report on this very problem here [URL]. The conclusion was that the person filing the bug report was using a version of ffmpeg not found in Debian and that he'd need a version of MPlayer built with his version of ffmpeg libs. I'm assuming that this is also the case with me, however I'm not sure how to go about finding a build or simply building a version of MPlayer with whatever version of ffmpeg that I'm using. For reference, I'm using Squeeze.

View 3 Replies View Related

Networking :: Building System Router - Can't Access Computers On Other Side Of Network / Fix It?

May 20, 2009

I have built a linux router with a pc having two network cards. I am running ubuntu 8.10.

I have enabled forwarding on the router. One network (192.168.1.0/24)is connected to eth0 and another (192.168.2.0/24) is connected to eth1.

The interfaces have addresses 192.168.1.1 and 192.168.2.1.

On any side side of the network, I can ping both interfaces on the router.

However when I ping a machine on the other side of the network, I get 100% packet loss.

I have not touched iptables on the router or any machines.

What I am doing wrong?

View 2 Replies View Related

Programming :: Passing Data Between Kernel Space To User Space In Asynchronous Way

Dec 13, 2010

I am developing a I2C CDROM client driver. The CDROM firmware supports TOC information read through a I2C command. It sends the TOC information in burst ( Interrupts a GPIO pin when it is ready ) and my CPU does a I2C read to read the TOC. When the CDROM firmware finishes sending the last data burst , it informs my CPU that it is done with the TOC, by a flag in the last data burst. I would like to know, which is the most efficinet way I can send these TOC information to userspace?

View 4 Replies View Related

Fedora Networking :: FC10 - Unusual System-config - Unable To Ping Other Computers Or Routers

Jun 2, 2009

I recently built my second general-purpose server, and recently installed fedora core 10 on it. The first thing I attempted to set up after installation was the network - and that's where it's gone wrong When editing a network device using the graphical system-config-network utility, I find that the subnet mask is being automatically changed to match the default gateway address every time I attempt to modify any of its settings (or sometimes even when I cancel the changes). This also means that I cannot set the subnet mask, as it simply won't accept my setting for it. I seem to be able to get around this glitch by setting the subnet mask using the shell version of the same utility, but that doesn't solve my network issue.

Even when I use the shell utility to fix the subnet mask, I'm unable to ping other computers or routers on the network even when ifconfig indicates that the desired ip address has been taken, and other computers on the network are also unable to see the server. I'm using a wired connection and a static IP address on a network with no DHCP.

View 14 Replies View Related

Debian :: Connecting Two Computers

Jun 28, 2010

I want to know how to transfer files between two computers having linux using a cat5 cable like in windows easy transfer.I am running Debian squeeze testing with linux 2.6.32-3-686 kernel and gnome 2.30

View 11 Replies View Related

Debian :: Possible To Connect Two Computers Together

May 6, 2011

I had two computers and each had a wireless card, there is no router and no cables or usb sticks etc. Would it be possible to connect the two computers together somehow through the two wireless cards? If so how

View 8 Replies View Related

Debian :: File Transfer Between Two Computers

Nov 17, 2010

In my laptop with debian-lenny OS I have a number of ripped dvd movies some of which are about 2.5GB. I have transferred those with less than 2GB (that is the size of my usb-flashdrives) to my netbook (with opensuse-11.3 OS) with the help of usb-flashdrives. Is there any method of tranferring the larger files by connecting the two machines by ethernet cables with usb ports and using some software packages?

View 7 Replies View Related

Debian :: Two Computers Suddenly Cannot Access Depositories

Mar 9, 2010

I have two computers, running Debian Lenny 5.0.3, suddenly they cannot access the Debian depositories and even when typed debian.org, the site does not come up! I used another hard disk with a different distro and one of the computers, and it did access the debian site. Any reason for this?

View 3 Replies View Related

Debian Configuration :: Start The Ssh Connection Between Both The Computers?

Apr 27, 2010

I have installed GNU/Linux Debian on my computer (desktop) and i have ubuntu installed on my laptop. Now I want to start the ssh connection between both the computers. I want to make Debian as server and Ubuntu as client. Please can you guide me with this (installation and setup). Also the key values of the configuration file (ssh_config & sshd_config) are expected.

View 10 Replies View Related

Debian Configuration :: How To Set Up SSH Server Between Local Computers?

Jan 15, 2011

I can't get past the "scp -p id_rsa.pub" step; ssh fails with "Could not resolve hostname" errors. Both machines are connected with a hub. I've also tried using the IP address in the place of hostnames with no avail. Both machines can ping eachother successfully.The server has the "openssh-server" package installed.

View 1 Replies View Related

Debian :: Software That Prevents Devolving Computers Location?

Jun 15, 2011

The following article prompted me to ask the question if there is any software that will prevents devolving a computers location? [URL]... Wi-Fi systems on smartphones and laptops may be used to secretly report the locations of users, their family and friends unless changes are made to their design, warns Ontario's Information and Privacy Commissioner Ann Cavoukian.

View 5 Replies View Related

Debian Multimedia :: Basic Networking - Referring To Computers By Name

May 16, 2011

Sorry if this is a dumb question, there's a lot about networking that I don't get yet. I've got two computers using the same wireless router. They both get their IP addresses via DHCP from the router (I assume). If I want to connect from one machine to another, I can use the IP address (which works), but it's a pain checking what the IP address is, I guess it depends on which one connects first? So it might work today but tomorrow the IP addresses are reversed and the same command wouldn't work.

What I'd like to do is just refer to the other computer by name, but of course I haven't got a DNS server just for these two computers, and I don't think the router can do it (can it?) so is there a way to do it? Is it really just a case of switching off DHCP and giving each computer a fixed and unique IP address, and then entering some name in the hosts file for the two computers? Although then there's nothing to guarantee that the name in the hosts file actually matches the hostname of the computer at that IP I suppose.

View 5 Replies View Related

Debian :: Windows (err, Microsoft) Attempt To Monopolize Computers?

Aug 27, 2010

I finally found a blank DVD), I, of course, have a few questions: 1. Besides costs, what are some benefits of Linux over Windows? I'm sure with some use, I'll figure some of them out myself; my main problem with Windows (err, Microsoft) is their attempt to monopolize computers. If you have Windows, you have to deal with Microsoft's attempt to keep your computer free of all non-Microsoft products. 2. How do I resize the desktop? When I start up Debian I get an 'Out of Range' message on my screen, then after I hit CTRL Alt + a few times, I'm left with an oversized GUI- it's bigger than my monitor so I have to bring the mouse to the side/bottom to scroll down to my taskbar. 3. How do I install programs? The first thing I tried installing was Google Chrome, but I get an error message "Archive not found."

View 5 Replies View Related

OpenSUSE :: Update The System The Progress Stops In The Update Window And No Updates Appear

Apr 27, 2011

I have a problem in updating opensuse 11.4, when I try to update the system the progress stops in the update window, and no updates appear

View 9 Replies View Related

Ubuntu Installation :: Update Manager Doesn't Update System?

Jun 23, 2011

I upgraded from 10.10 to 11.04 and when i try to check for updates in the update manager it says:

W:Failed to fetch http://ppa.launchpad.net/and471/kaza...source/Sources 404 Not Found
, W:Failed to fetch http://ppa.launchpad.net/and471/kaza...amd64/Packages 404 Not Found

[Code].....

View 3 Replies View Related

Debian :: 5 - Install The "Synaptic Package Manager" And A Mirror Repository So That My System Can Update

Aug 23, 2010

I downloaded the first CD Image as instructed at [url] and installed it on my laptop. I would like to install the "Synaptic Package Manager" and a mirror repository so that my system can update.

I have apparently installed " apt-cdrom add" and then typed "apt-get update" and I tried to install the mirror when the system was installed but as the wireless was not connected it apparently did not add the correct details.

View 8 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved