[05:18] <WhoAmi00> hello ,
[05:18] <WhoAmi00> How to redirect requests for a resource that are not on the server ? ,
[05:18] <WhoAmi00> 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] <Xhuin> hey all
[05:47] <Xhuin> can anyone recommend an irc server?
[06:19] <gvandeweyer> 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] <gvandeweyer> 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] <gvandeweyer> the issue is present on both physical server (dell poweredge) and on kvm/qemu virtual machine.
[07:53] <KpuCko> 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] <KpuCko> the errors are seen after disk setup, root & swap partition and starting installing the system
[08:39] <lordievader> Good morning.
[09:58] <xperia> 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] <ikonia> xperia: what version of ubuntu
[09:58] <ikonia> xperia: it also should give you a bit more info than that
[09:59] <xperia> ikonia: last line is /bin/sh/ can't access tty job control turned off
[10:00] <xperia> its 16.04.1 now
[10:00] <xperia> it looks like filesystem is mounted in read only modus
[10:01] <xperia> there is nothing else beside the cusor blinking
[10:03] <RoyK> xperia: try to reboot into single user mode
[10:05] <RoyK> xperia: once up with that, run an fsck on the root fs
[10:09] <xperia> 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] <xperia> i guess i need to mount usr too like it said to get access to my commands
[10:09] <xperia> on my rootfs
[10:12] <ikonia> apt-get update won't do anything
[10:12] <ikonia> we need more info about what part of the boot process is failure
[10:12] <ikonia> rather than little snippets
[10:12] <ikonia> an fsck as RoyK suggested wouldn't hurt
[10:16] <RoyK> xperia: umount your old root and run fsck on it - if it came up mounted ro, something is usually messed up
[10:17] <RoyK> xperia: and hopefully that 'something' is just some hichup in your fs and not your drive
[10:17] <RoyK> xperia: you may want to run a smartctl -H against the disk first
[10:19] <xperia> 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] <xperia> i chrooted now in my roofs and did again apt-get dist-upgrade
[10:20] <xperia> and got the eeror message that packages need to be reconfigured
[10:20] <xperia> doing it right now so installation can be completed
[10:22] <xperia> RoyK: will do this fsck too but now too late. wil wait till upgrade is finished
[10:25] <RoyK> xperia: you should never write to a filesystem with errors
[10:26] <xperia> LOOKS like i am back. i see again root login screen
[10:27] <RoyK> xperia: just for safety, run touch /forcefsck and reboot to give it a fsck
[11:03] <mdeslaur> rbasak: hrm, bug 1610765 may be related to the new migration stuff...
[13:52] <jonah> 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] <bekks> jonah: what are you trying to achieve? With a weird dns setup :)
[13:56] <jonah> 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] <bekks> two server, serving the same sites, and a dns loadbalancer.
[14:01] <bekks> And basically you dant do that with just one IP.
[14:11] <tuor> Hi, I want to use a ubuntu-cloud image but not with a qcow2 format, I need it in the raw format.
[14:11] <tuor> How can I convert it?
[14:12] <jamespage> tuor, qemu-img can do that for you
[14:16] <jamespage> ddellav, coreycb: as I managed not todo my ci tidy last week, did some catchup today
[14:16] <jamespage> backported some new revs for client packages for heat; rebased some patches, misc other bits
[14:16] <coreycb> jamespage, awesome, thanks :)
[14:16] <jamespage> ddellav, coreycb: I suspect the need todo another oslo ++ run
[14:16] <coreycb> jamespage, ok
[14:16] <jamespage> keystone needs new oslo.db I think
[14:17] <jamespage> thedac, hey - I should have something approximating vmware-nsx packages for newton as well
[14:18] <jamespage> tap-as-a-service and networking-sfc packaged, but not uploaded just yet
[14:18] <jamespage> ppa:james-page/yakkety
[14:18] <jonah> 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] <rbasak> 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] <rbasak> I'm not sure what to do about that.
[14:38] <mdeslaur> rbasak: oh! I see
[14:38] <mdeslaur> rbasak: meh, he gets to keep both pieces
[14:49] <tuor> jamespage, thx. worked well. :)
[14:53] <coreycb> jamespage, do you have an opinion on bug 1607095 ?
[14:53] <jamespage> coreycb, hmm yeah I saw that one
[14:53] <jamespage> coreycb, does that not break dfs?
[14:54] <tuor> 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] <coreycb> jamespage, good question, I've not hit it
[14:54] <coreycb> jamespage, oh.. we pip install setuptools for dfs
[14:54] <tuor> I have run the image in a KVM VM.
[14:55] <coreycb> jamespage, so no it doesn't affect it
[15:00] <tuor> Hmms seems like, there is no user created in the VM.
[15:00] <tuor> I have to check my yaml file.
[15:01] <coreycb> jamespage, yeah we pip upgrade pip and setuptools from what the default virtualenv gives us prior to installing anything with pip
[15:02] <jonah> bekks: is mod_proxy any good?
[15:03] <coreycb> tuor, ubuntu cloud images require ssh key authentication by default. can you just generate a keypair and use it?
[15:04] <bekks> jonah: Depends on what you want to do. Questions without any contexts are pointless, usually.
[15:05] <coreycb> tuor, might be useful: https://help.ubuntu.com/lts/serverguide/cloud-images-and-uvtool.html
[15:05] <tuor> coreycb, can't I login with tty?
[15:05] <tuor> coreycb, thx.
[15:06] <tuor> 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] <coreycb> 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] <tuor> coreycb, ok.
[15:11] <coreycb> tuor, uvt-kvm has a --password option too, but of course it's not as secure as using keys
[15:12] <tuor> 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] <coreycb> tuor, hmm not sure, there should be an ubuntu user by default
[15:15] <tuor> coreycb, there wasn't. Maybe I have an error in my userdata file...
[15:16] <tuor> At booting up, after systemd started the journal service, there is no output on the "screen" for minutes...
[15:32] <dannf> 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] <jgrimm> dannf, equivalent with sid would be the goal
[15:41] <dannf> 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] <jayjo> I have a crontab that I wrote years go that uses 'env - PYTHONPATH= ...' . What does the '-' do in this command?
[17:12] <Pici> jayjo: the manpage says that - implies -i
[17:12] <Pici> i.e. ignore environment
[17:13] <jayjo> ok got it - i'm going to switch it to -i to be more verbose
[19:01] <coreycb> ddellav, jamespage: oslo.db uploaded and a few other fixes.  CI should be back to blue now.
[20:53] <xperia> 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] <patdk-wk> did you enable them?
[20:58] <xperia> patdk-wk: OOHH looks like i need to enable them additional yes.
[20:58] <xperia> one second
[21:48] <MASM> Hello old my friends
[21:52] <MASM> Some one want to help me with my problem of raid1
[21:52] <MASM> error on md1 and md3
[21:52] <MASM> http://paste.ubuntu.com/22741284/
[21:53] <MASM> and this is an information about devices...
[21:53] <MASM> fdisk -l                       http://paste.ubuntu.com/22741359/
[21:53] <MASM> and information about md1 and md3 http://paste.ubuntu.com/22741501/
[21:55] <MASM> i saw that one device is not sincronized, in mails that i get some time mentioned md1 and other mentioned md3
[22:52] <MASM> http://askubuntu.com/questions/809823/error-raid1-not-unsynchronized-a-degradedarray-event-had-been-detected-on-md-d
[22:53] <sarnold> MASM: there's an <hr> in one of the code blocks
[23:06] <tomreyn> MASM: disk sda has been (or, more precisely, partitions sda1 and sda3 have been) removed off your two md RAIDs (md1, md3)
[23:07] <tomreyn> your system log should hint on why this happend.
[23:08] <tomreyn> 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] <tomreyn> smartctl -a /dev/sda
[23:09] <MASM> sarnold: Thanks i re-edit it
[23:09] <tomreyn> smartctl -t long /dev/sda
[23:09] <tomreyn> smartctl -a long /dev/sda
[23:10] <MASM> tomreyn:  and what i need to do with that?
[23:10] <tomreyn> sorry the last line was wrong, should be just "smartctl -a /dev/sda" again
[23:11] <tomreyn> *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] <MASM> i got this message from `smartctl -t long /dev/sda` Please wait 118 minutes for test to complete.
[23:14] <MASM> if i undestand the command line show information about disk  this : smartctl -a /dev/sda
[23:14] <tomreyn> 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] <MASM> this is for testing? : smartctl -t long /dev/sda
[23:14] <tomreyn> yes -t for testing
[23:14] <MASM> and when the test finish i need to run this : smartctl -t long /dev/sda
[23:14] <tomreyn> you should not start a self test until you have examined your system logs and the -a output
[23:15] <MASM> sorry, this for check results?: smartctl -a /dev/sda
[23:15] <tomreyn> yes, state, and test results, and how much longer for the test to run
[23:16] <tomreyn> any I/O on any disk makes the disk deteriorate. this is especially true for a disk which is already half broken.
[23:16] <tomreyn> look for a websiote which explains how to interpret the output of smartctl -a /dev/sda
[23:16] <MASM> i need to wait 116 minutes,  xD
[23:17] <tomreyn> only a few of these values actually matter, and their meaning can vary between models and vendors.
[23:18] <tomreyn> 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] <tomreyn> good luck, i'm off to bed
[23:19] <MASM> good bye men thanks for you help