=== sync0new_ is now known as sync0pate === lool- is now known as lool [02:17] Trying to configure sysstat to collect Power Management statistics, I've installed/configured lm-sensors and it's working. Also configured 'sadc -S POWER' [02:17] still no love for sar -m TEMP "Requested activities not available in file /var/log/sysstat/sa30" [02:18] I feel like I'm missing a step [02:20] anybody using kvm on 14.04? [03:02] ya cent i believe is based on ubuntu..oh wait no its based on redhat right? [03:43] I'm trying to increase the size of a file system on a virtual machine (KVM). I have increased the image file size on the host, and in the guest, parted shows the new size of the drive correctly. However, using resize2fs gives the error that the file system is already as big as the device - it is not seeing the new device size. resizing from within parted isn't an option as it doesn't support ext4. any ideas? [03:46] gdi2k_, you can delete the partition and redefine it.. I've done it, but its scary [03:46] PryMar56, yeh just reading about that - sounds hairy! did it go ok? [03:46] yes, it worked [03:47] gdi2k_, before you start, note the first sector [03:47] PryMar56, yes, it's straightforward in this case (1) [03:47] oh, consider using `fdisk -lu` [03:50] PryMar56, hmm, so I delete the partition, create new, and it wants to start my partition at sector 3. If I force sector 1 it says out of range. bummer [03:50] scroll back in your console to see what the first sector was [03:50] definitely sector 1 [03:51] http://paste.ubuntu.com/8193538/ [03:51] if you have another image file create the same way, do fdisk -lu [03:52] I didn't write changes, so it's all still good. will paste output to fdisk -lu [03:52] yeah, use sectors [03:52] http://paste.ubuntu.com/8193548/ [03:53] ah, 63 there [03:53] what is that? not sector? [03:53] gdi2k_, you have more detailed control with -u [03:53] sectors [03:54] it's about the units. If I turn off Dos compatability mode and switch units with u, I get 63 [03:54] so that's my starting point... [03:54] that is the right way to do it [03:54] 63 is out of range too [03:54] gdi2k_, the starting point is the most crucial thing [03:54] it suggest 2048 [03:55] its an image file? [03:56] http://paste.ubuntu.com/8193574/ [03:56] yes, for a virtual machine [03:58] gdi2k_, something strange about that version of fdisk.. you can exit without changes and try gparted? [03:59] found this: http://confluence.wartungsfenster.de/display/Adminspace/fdisk+Force+sector+63+boundary [03:59] it has no GUI, so no gparted but I have tried with parted - it won't allow the resize due to lack of ext4 support [03:59] (it wants to resize the file system as well as the parition) [04:01] gdi2k_, did you say if resize is bigger or smaller? [04:01] must be bigger [04:01] bigger [04:01] expand [04:02] PryMar56, it was 50G, need it to be 200G [04:02] gdi2k_, things were simpler in the old days [04:02] forcing a starting sector of 2048 is harsh [04:03] PryMar56, that URL gives a command to force access to sector 63, but the command does not work: "fdisk -c=dos -u=cylinders /dev/vdb" [04:04] I would setup LVM and rsync the image file over [04:05] get it working before you retire the image file [04:08] I may end just creating a fresh larger image file and copying all the files and changing all the mount points... will play with this first though - there must be a way! [04:12] PryMar56, wow, parted just goes ahead and writes changes. now I'm in a muddle... [04:17] PryMar56, ok with parted, I was able to specify starting point as 63s (sector 63) - it complained about the drive not being optimally aligned, which I ignored. I ran fsck which corrected some issue, then I ran resize2fs on it and it went smoothly. Mounted it, and all data is there :) thanks for your help! [04:17] gdi2k_, good to hear [04:18] what is the ubuntu version? [04:19] PryMar56, it's actually on a PBX system running on CentOS (which I find hard), but that's what it comes with. would much prefer it to be running Ubuntu like the rest of our servers [04:41] Openldap problem, from client machine while i switch the user as su - babin it say user dose not exists any one there to help me ? === TriJetSc- is now known as TriJetScud === bradm1 is now known as bradm === bekks_ is now known as bekks === hxm is now known as HackeMate === Lcawte|Away is now known as Lcawte === Guest54399 is now known as Adri2000 === bekks_ is now known as bekks [13:48] hi, i'm in trouble with my server. I was running ubuntu 12.04.4 LTS and decided to upgrade to the latest LTS. I launched it via SSH and byobu. During the install I needed to switch off my computer so I detached the terminal and left the release running. Later I relog on my server and byobu didn't load, I try to rattached the terminal via screen, the upgrade has failed and my system was in read only. [13:49] So I need help to continu the upgrade and save my server life. Thanks you. [13:53] Good afternoon. [13:54] hi [13:54] Hey zoski, how are you? [13:56] yes I'm lordievader [13:56] I feel lost lordievader [13:56] zoski: Do you know why your server went into read-only mode? [13:57] I think it's because the upgrade failed [13:58] zoski: http://askubuntu.com/questions/105793/why-has-my-file-system-turned-read-only-after-updates [14:00] I'm checking this lordievader thanks for the link [14:05] I used "dmesg | less" lordievader I get some messages I don't uderstand... I did a pastbin : http://pastebin.com/84FysAmT [14:06] zoski: IO errors, thats why it went into read-only mode. Do you have a backup? [14:07] lordievader: yes only of the important files [14:07] zoski: Ok, do you have SMART enabled on that disk? [14:08] lordievader: yes, I enabled some smart alert last year [14:08] lordievader: the server was supposed to email me if something went wrong [14:09] zoski: Read [1], run a long test and see if your disk needs to be replaced. [1] http://www.techrepublic.com/blog/linux-and-open-source/using-smartctl-to-get-smart-status-information-on-your-hard-drives/ [14:10] okay thank you lordievader [14:10] zoski: No problem ;) [14:13] lordievader: I can't launch the long test smartctl did work I get an I/O error [14:14] sorry didn't work sorry [14:15] zoski: Turn off the server, grab the drive. Pop it into another machine and run it from there. [14:16] lordievader: Okay, I'm not near the server right now I will try if someone can open me the room where the server is [14:22] what's best actually to install software ? /usr/share or /usr/local/share ? [14:23] lordievader: I'll going to check the server in about half an hour. Someone there may help me [14:23] YamakasY: Software that I manually install allways goes to /opt. But it is best to use apt for installing software. [14:24] lordievader: yeah I know, but I need to install some own packages and I see that /opt is kinda 1995 :P [14:24] YamakasY: Works for me. Keeps it away from the rest of the system, and gives a nice overview. [14:25] lordievader: true! [14:25] lordievader: I love you [14:25] damn I keep doing that :P [14:26] lordievader: thank you a lot for your time, I'm leaving [14:27] YamakasY: Heh, that's the first time someone said that to me on IRC :P [14:27] lordievader: I adore you! [14:27] zoski: No problem, good luck ;) [14:27] someone said that ? [14:27] lordievader: thank you [14:27] YamakasY: Who doesn't, I'm great :D [14:27] Just kidding ;) [14:46] lordievader: hehe, indeed, you need to love yourself every day! [14:46] lordievader: I do twice ;) [14:46] ;) [14:47] man I hate cybersquatters [15:16] Does iptables check for connecting host ? - Anyone knows ? [15:23] Having a weird problem with one of me Ubuntu servers. It is seemingly refusing connections from certain hosts... [15:26] xr600: Did you check your firewall on the server, and any firewalls that may be on the network? [15:53] xr600: You can do iptable rules that only allow connections from certain places, yes. [16:11] lordievader: story update. I'm back home with my server. His hard drive is dead [16:13] lordievader: The full story is : I get there to clean it and reboot it early today. Then I saw I could update to 14.04 so I did. During the install the hard drive didn't manage the load and decide to leave us. [16:15] lordievader: right now the server didn't even manage to boot. I will backup what I can with a bootable usb key. Thank you for your help [16:23] zoski: check smart status for the drive. smartctl -H (or even, smartctl -x) /dev/sd(something) [16:25] RoyK: I cannot managed to launch smartctl early when I was connected to the server. I know my hard drive is dead. I was just updating lordievader on my situation 'cause he helped me. Thank you [16:27] zoski: I was thinking if you were to boot that thing up on a usb key, just run smartctl to verify the harddrive's dead, and that it's not just the filesystem that went nuts [16:28] zoski: also, keep in mind to install smartd (part of smartmontools iirc) after reinstalling - it may warn you if the drive is dying [16:29] zoski: it *may* warn you, not all disk failures are detectable before they happen [16:33] Thank you RoyK for the advice but I had smartd installed and it didn't warn me at all. I think cold hard drive + upgrade was to hard. I will try smartctl while backing up what I can with the usb key, it's a good idea [16:34] But it's not for today, I need to pack my stuff, I'm going back to my school city tomorow morning. [16:35] Sorry for my english, by the way ;-) [16:41] zoski: no worries <( [16:41] :) [16:42] ^_^ [17:50] Sierra: There is no firewall, but when I'm on the same subnet as the server, I can reach it... When I go on the outside of the gateway, I can't... === lazyPower_ is now known as lazyPower [17:50] (... ANd sorry for the delay, had to shop & cook here...) [17:51] Lcawte: Any special switch I need to list it ? === darkness is now known as Guest54718 === darmok__ is now known as darmok === cmagina_ is now known as cmagina === Lcawte is now known as Lcawte|Away [21:44] Hi all - I'm trying to troubleshoot an annoying issue I've got with a relatively new server I have running 14.04 in AWS EC2. It's working fine except after some period from boot (30 mins - 2 hours) I can't get any incoming traffic to it - no SSH or web. Oddly, occasionally it's allowed some traffic (I could SSH from a neighbouring host) but not public, but then eventually all has failed. I presume some sort of firewall but I don't know Ubuntu [21:44] enough to troubleshoot further. I'm sort of lost as to where to troubleshoot so any pointers are much appreciated === Lcawte|Away is now known as Lcawte === NomadJim_ is now known as NomadJim [22:51] TheFearow: possible DoS or intrusion. is the server reasonably secure (who can log in and how)? === NomadJim_ is now known as NomadJim === mixomathoze_ is now known as mixomathoze