[05:18] hello , [05:18] How to redirect requests for a resource that are not on the server ? , [05:18] i have a website hosted on ubuntu 14.04 - apache 2.4 i want my website to accept only requests for files on the server and the others redirect them to another website , can that done ?! [05:47] hey all [05:47] can anyone recommend an irc server? === jelly-home is now known as jelly [06:19] hi, I'm trying to install linux kernel 4.7.0 on an ubuntu 14 LTS server. So far all attemts result into booting into busybox, with the message that the hard drive (/dev/dis/by-uuid/....) cannot be found. the xenial kernel (4.4) boots fine. Any idea what I'd be missing? [06:20] It was a mainline deb that I installed. I'd like to try it to check if a bug is resoved (mentioned that it should in 4.7). [06:20] the issue is present on both physical server (dell poweredge) and on kvm/qemu virtual machine. [07:53] hello i'm trying to install ubuntu 14.04.5 LTS from USB pen drive to software raid & lvm, the problem is that on the 4 console (the log) im seeing errors like that: main-menu: operation not supported, and my installation fails [07:54] the errors are seen after disk setup, root & swap partition and starting installing the system [08:39] Good morning. [09:58] hi all. i have executed "apt-get dist-upgrade" and now after reboot i get the error message "init line 277 readlink not found" My server is not booting now! Can somebody tell me how to fix this problem so my ubuntu server start to boot again pleas? [09:58] xperia: what version of ubuntu [09:58] xperia: it also should give you a bit more info than that [09:59] ikonia: last line is /bin/sh/ can't access tty job control turned off [10:00] its 16.04.1 now [10:00] it looks like filesystem is mounted in read only modus [10:01] there is nothing else beside the cusor blinking [10:03] xperia: try to reboot into single user mode [10:05] xperia: once up with that, run an fsck on the root fs [10:09] RoyK: i rebooted with usb and i chroted the rootfs partition. if i try to do apt-get update i get the error message that command can not be found even i have access to all of my rootfs [10:09] i guess i need to mount usr too like it said to get access to my commands [10:09] on my rootfs [10:12] apt-get update won't do anything [10:12] we need more info about what part of the boot process is failure [10:12] rather than little snippets [10:12] an fsck as RoyK suggested wouldn't hurt [10:16] xperia: umount your old root and run fsck on it - if it came up mounted ro, something is usually messed up [10:17] xperia: and hopefully that 'something' is just some hichup in your fs and not your drive [10:17] xperia: you may want to run a smartctl -H against the disk first [10:19] well it looks like the installation and upgrade from the last lts version to the new one 16.04.01 was aborted in half. [10:20] i chrooted now in my roofs and did again apt-get dist-upgrade [10:20] and got the eeror message that packages need to be reconfigured [10:20] doing it right now so installation can be completed [10:22] RoyK: will do this fsck too but now too late. wil wait till upgrade is finished [10:25] xperia: you should never write to a filesystem with errors [10:26] LOOKS like i am back. i see again root login screen [10:27] xperia: just for safety, run touch /forcefsck and reboot to give it a fsck [11:03] rbasak: hrm, bug 1610765 may be related to the new migration stuff... [11:03] bug 1610765 in mysql-5.7 (Ubuntu) "mysql server fails to start due to faulty apparmor profile" [Undecided,New] https://launchpad.net/bugs/1610765 === daker_ is now known as daker === JanC is now known as Guest57323 === JanC_ is now known as JanC === petevg_vacation is now known as petevg [13:52] is it possible for two servers to share dns, so both have different websites on them but use the same two nameservers of the master server? so on the second server the domains just use the fist servers ns1 and ns2 and the sites are still routed through the first server from the second and load up properly? [13:53] jonah: what are you trying to achieve? With a weird dns setup :) [13:56] bekks: haha - well basically I have a server running and orignally wanted to add failover with an identical second server. I can't find a good solution for this though, so wondered if I can just run them in parallel. Both providing mail and different sites. I don't have any spare IPs so hoped the second server could somehow route through the first [13:59] two server, serving the same sites, and a dns loadbalancer. [14:01] And basically you dant do that with just one IP. [14:11] Hi, I want to use a ubuntu-cloud image but not with a qcow2 format, I need it in the raw format. [14:11] How can I convert it? [14:12] tuor, qemu-img can do that for you [14:16] ddellav, coreycb: as I managed not todo my ci tidy last week, did some catchup today [14:16] backported some new revs for client packages for heat; rebased some patches, misc other bits [14:16] jamespage, awesome, thanks :) [14:16] ddellav, coreycb: I suspect the need todo another oslo ++ run [14:16] jamespage, ok [14:16] keystone needs new oslo.db I think [14:17] thedac, hey - I should have something approximating vmware-nsx packages for newton as well [14:18] tap-as-a-service and networking-sfc packaged, but not uploaded just yet [14:18] ppa:james-page/yakkety [14:18] bekks: well the dilemma is I've got a block of 8 ip on order which isn't ready for a month. so I wondered how to use both servers in the meantime... [14:37] mdeslaur: I think that happens because the user has a locally modified apparmor profile and so it doesn't get updated with the new paths. [14:37] I'm not sure what to do about that. [14:38] rbasak: oh! I see [14:38] rbasak: meh, he gets to keep both pieces [14:49] jamespage, thx. worked well. :) [14:53] jamespage, do you have an opinion on bug 1607095 ? [14:53] bug 1607095 in Ubuntu Cloud Archive "ubuntu cloud archive repo includes python-setuptools package that breaks with trusty version of python-pip" [Undecided,New] https://launchpad.net/bugs/1607095 [14:53] coreycb, hmm yeah I saw that one [14:53] coreycb, does that not break dfs? [14:54] When my cloud-image VM boots up, I cant login. I have configured a user and a password in the user-data file. [14:54] jamespage, good question, I've not hit it [14:54] jamespage, oh.. we pip install setuptools for dfs [14:54] I have run the image in a KVM VM. [14:55] jamespage, so no it doesn't affect it [15:00] Hmms seems like, there is no user created in the VM. [15:00] I have to check my yaml file. [15:01] jamespage, yeah we pip upgrade pip and setuptools from what the default virtualenv gives us prior to installing anything with pip [15:02] bekks: is mod_proxy any good? [15:03] tuor, ubuntu cloud images require ssh key authentication by default. can you just generate a keypair and use it? [15:04] jonah: Depends on what you want to do. Questions without any contexts are pointless, usually. [15:05] tuor, might be useful: https://help.ubuntu.com/lts/serverguide/cloud-images-and-uvtool.html [15:05] coreycb, can't I login with tty? [15:05] coreycb, thx. [15:06] I'm using kvm and want to manage the VMs with libivrt. I can start the VM and I see it's screen, the only thing is, I can't login on it. With SSH, I need to know it's IP first... [15:10] tuor, uvt-kvm might be nice for that, I'm not sure that virsh has the capability to find the IP, but arp might work. [15:10] coreycb, ok. [15:11] tuor, uvt-kvm has a --password option too, but of course it's not as secure as using keys [15:12] To login with SSH I need a user to. The user didn't get created. I mounted the VMs partition and check /etc/passwd, but there is no user called "user" or "ubuntu" in it. No user with uid 1000 [15:14] tuor, hmm not sure, there should be an ubuntu user by default [15:15] coreycb, there wasn't. Maybe I have an error in my userdata file... [15:16] At booting up, after systemd started the journal service, there is no output on the "screen" for minutes... [15:32] jgrimm: do you know what version of libvirt will ship in yakkety? (2.1.0 is in sid, 1.3.4 is currently in y) [15:39] dannf, equivalent with sid would be the goal [15:41] jgrimm: cool - yeah, there's some arm stuff in 2.1.0 we're interested in - looking at whether or not to try a backport, will wait on that :) [17:11] I have a crontab that I wrote years go that uses 'env - PYTHONPATH= ...' . What does the '-' do in this command? [17:12] jayjo: the manpage says that - implies -i [17:12] i.e. ignore environment [17:13] ok got it - i'm going to switch it to -i to be more verbose === dzragon^ is now known as dzragon === iberezovskiy is now known as iberezovskiy|off === degorenko is now known as _degorenko|afk === huttan_ is now known as huttan === lunaphyt- is now known as lunaphyte [19:01] ddellav, jamespage: oslo.db uploaded and a few other fixes. CI should be back to blue now. [20:53] hi all. i am trying since hours to get fail2ban to run on a new ubuntu server but for some strange reason everytime i do "sudo service fail2ban start" it just start with the only one ssh jail and nothing else despite the fact that more jails exist in the conf file. what is the problem why is fail2ban not really working in ubuntu? [20:56] did you enable them? [20:58] patdk-wk: OOHH looks like i need to enable them additional yes. [20:58] one second === dzragon^ is now known as dzragon [21:48] Hello old my friends [21:52] Some one want to help me with my problem of raid1 [21:52] error on md1 and md3 [21:52] http://paste.ubuntu.com/22741284/ [21:53] and this is an information about devices... [21:53] fdisk -l http://paste.ubuntu.com/22741359/ [21:53] and information about md1 and md3 http://paste.ubuntu.com/22741501/ [21:55] i saw that one device is not sincronized, in mails that i get some time mentioned md1 and other mentioned md3 [22:52] http://askubuntu.com/questions/809823/error-raid1-not-unsynchronized-a-degradedarray-event-had-been-detected-on-md-d [22:53] MASM: there's an
in one of the code blocks [23:06] MASM: disk sda has been (or, more precisely, partitions sda1 and sda3 have been) removed off your two md RAIDs (md1, md3) [23:07] your system log should hint on why this happend. [23:08] if it happened while you did not change the configuration (MBR, grub, partitions) it is often caused by a broken disk (i.e. phyically damaged). check its S.M.A.R.T. attributes using smartmon-tools. [23:09] smartctl -a /dev/sda [23:09] sarnold: Thanks i re-edit it [23:09] smartctl -t long /dev/sda [23:09] smartctl -a long /dev/sda [23:10] tomreyn: and what i need to do with that? [23:10] sorry the last line was wrong, should be just "smartctl -a /dev/sda" again [23:11] *IF* your disk is physically defect (use smartmontools to get a better idea about it, and review your system logs at /car/log/syslog* ), you need to replace it. [23:13] i got this message from `smartctl -t long /dev/sda` Please wait 118 minutes for test to complete. [23:14] if i undestand the command line show information about disk this : smartctl -a /dev/sda [23:14] if it's broken: use hdparm to get the broken disks' serial number, power down the computer, identify the physical location of the drive to be removed (using the serial number), remove it, place a new disk there instead (can be later). [23:14] this is for testing? : smartctl -t long /dev/sda [23:14] yes -t for testing [23:14] and when the test finish i need to run this : smartctl -t long /dev/sda [23:14] you should not start a self test until you have examined your system logs and the -a output [23:15] sorry, this for check results?: smartctl -a /dev/sda [23:15] yes, state, and test results, and how much longer for the test to run [23:16] any I/O on any disk makes the disk deteriorate. this is especially true for a disk which is already half broken. [23:16] look for a websiote which explains how to interpret the output of smartctl -a /dev/sda [23:16] i need to wait 116 minutes, xD [23:17] only a few of these values actually matter, and their meaning can vary between models and vendors. [23:18] that's enough time to do what you should have done in the first place - review the -a output, interpret it, and moreover, review your system logs. [23:19] good luck, i'm off to bed [23:19] good bye men thanks for you help