Hot answers tagged

6

i have by mistake emptetied my databases for where can i get database backups. Wherevery you did put them. my server team told i do not have backup activated now what to do to solve my issue YOU did not activate backups, now you whine. Sorry, there is nothing you can do. My server is on ubantu VPS 1: is there some server command that could ...


3

Oh no! You did something kinda bad... Please read: http://nex7.blogspot.com/2013/03/readme1st.html Two issues to note: Under RAIDZ1|2|3, the zpool command reflects the size of the disks comprising the pool, including parity. zfs list will show usable space. That's where the discrepancy comes from. Also, what you ended up doing was... expanding a 4-disk ...


1

It's getting full because Apache does not manage cleaning up the storage used by the disk cache. That's why there is a bundled utility called htcacheclean to manage the size. htcacheclean official documentation


1

you need to edit your /etc/network/interfaces to add a new ip address to your interface like so auto eth0 iface eth0 inet static address 192.168.0.42 network 192.168.0.0 netmask 255.255.255.0 broadcast 192.168.0.255 gateway 192.168.0.1 That said if you dont know where to be adding new ips to a ...


1

apt-cache policy php5 will show you the available versions on Debian systems. Then you can install with apt-get install -y php5=whatever_version. On Fedora deriviatives you can use yum --showduplicates list php does the same and you can install a specific version using yum install -y php-whatever_version If the version you need is not available after ...


1

Create a virtual machine with virtualbox or VmWare Workstation (paid) and download an older version of CentOS 5 then download PHP 5.2.17 and install it normally .


1

Well, if you want to disable the default ubuntu user (a reasonable thing to do), you will need to add another user to the system that you will use to connect via SSH. Needless to say, this second user should have sudo privileges.


1

There are several ways to install diff-versioned software on the same server but (I think) the best variant is packing your application into different Docker containers.


1

You have several choices: Cheap USB 2.0 stick: not recommended because they are slow and the writes will kill most of them pretty quickly, exception: a read-only system like SmartOS (for ZFS) or ESXi (no ZFS, just as an example) which only writes at bootup or once an hour and keeps everything else in RAM or your data pools. More expensive USB 3.0 stick ...


1

I recently resolved a similar issue, where Ansible would encounter "UNREACHABLE!" errors only for tasks requiring file transfers (e.g. copy, template) while connecting just fine for anything else. I resolved it by adding the following directive to ansible.cfg, under the [ssh_connection] section: scp_if_ssh = True As you might guess from that fix, the ...


1

I try to answer the questions in reverse order: 2. Why do I get this? DOWN-ROOT: Error sending script execution signal to background process When the down-root plugin is used, the main process will fork() before it drops the root privileges. The module will then remain in a wait state until it receives a message from the main process via pipe to ...


1

In the end, we decided to use the git method, and changing IPs was the least of our troubles. :) The procedure: Use Puppet to install and set up etckeeper, and create a repo for each server on our Gitlab instance. We chose to use a gitignore that ignored everything except select files and directories. Have team members create a branch (with a common ...


1

TLDR: By default behaviour of postfix, your email was bounced (i.e. your sender will get non-delivery message) and postfix won't keep the email even in the queue. Based on both logs from mercury and ALex_hha, I can concluded that there are different behavior when mail was delivered by virtual daemon (ALex_hha case) or local daemon (mercury case). When ...


1

Use mohit's answer, but refer to https://dev.mysql.com/downloads/repo/apt/ for the current mysql-apt-config. Click "Download" at the bottom. Then copy the link from "No thanks, just start my download." at the bottom


1

+1 for rng-tools In case you are stuck in situation as I am - not having permissions to install new software (rng-tools) on a headless server with virtually no input hardware (sound card, keyboard, mouse) attached. You can run this simple code from another terminal connect to same server, to add to the entropy. It does not matters if you start running this ...


1

Should I be aware of any potential problems or increased risk of breakage. After switching to "dist-upgrade", if you use the Ubuntu repos, then I believe you'll start getting kernel updates which you did not before. Unfortunately kernel updates are a risk factor in the situation you describe. In your situation, it might make sense to a) configure your ...



Only top voted, non community-wiki answers of a minimum length are eligible