/srv/irclogs.ubuntu.com/2014/08/02/#ubuntu-server.txt

zartooshjaawerth we have no wifi on our system.00:41
fridaynextwhen i do 'df -h /media/raid', it shows 5.5T size, even though it should be 6T.  But fdisk -l shows 6000GB.  Any ideas why this would happen?00:57
sarnold6000000000000 / (1024 * 1024 * 1024)00:58
sarnold5587.9354476928710937500000:58
fridaynextsarnold: ah man, now i feel like an idiot00:59
fridaynextsarnold: thank you01:00
sarnoldfridaynext: just so long as you've got the right order of magnitude, everything else seems to just take care of itself :)01:00
BSODInTheSkyI got banned from the normal one for having to go to the bathroom01:21
BSODInTheSkyNo one is talking. Goodbye!01:23
=== Lcawte|Away is now known as Lcawte
Abhijitis it possible to do sample.mysite.com/A/ to first vps and sample.mysite.com/B/ to another vps?08:46
ikoniaarpu: sure09:02
ikoniaops09:02
ikoniaAbhijit: sure09:02
Abhijit:-)09:03
lordievaderGood morning.09:17
psih0manhello! I have a problem with fsck.ext3 on a large partition (12T): after running for a while, the system sent the process SIGSTOP. the system has 48 GB RAM, of which the fsck process created 32 GB of buffers. SIGCONT does not resume execution. how can one go about checking such a large partition? is it safe to kill the fsck process?09:52
bekksThe system shouldnt send SIGSTOP to the fsck. Did you run out of memory?09:56
psih0manno I didn't. there are about 7 GB free09:57
psih0manthe systems is running on ubuntu 14.0409:58
psih0manhere is the ps output: root      1848 22.2  0.4 262256 243328 pts/3   T    12:11  10:29 fsck.ext3 /dev/mapper/36a4badb0003f2dba000007ed4c6c164d-part109:59
psih0manno one else is using the system and no other daemons are running10:00
rbasakpsih0man: are you running it in the background somehow?10:04
rbasakpsih0man: if so, are you sure that it hasn't just stopped because it's prompting the console?10:05
psih0manrbasak: you're correct. I just noticed that it displayed a Fix<y>? prompt while running in background10:06
psih0mannow I need to figure out how to send the resposes10:06
psih0manI will bring it into the foreground10:07
psih0manthank you for help!10:07
rbasakNo problem10:11
smabosheHello!12:07
smabosheI'm having trouble running "sudo do-release-upgrade". Is the "en_ZM" locale not supported for Ubuntu 14.04 LTS? - https://gist.github.com/smaboshe/d51b102d8a678e0b98e212:22
=== CripperZ- is now known as cripperz
sync0patehalp! I'm locked out of my VPS :( can anyone help me figure out why? http://paste.ubuntu.com/7933466/13:38
sync0pategetting that from ssh -v13:38
sync0pateit happened after the hosting company did some "maintenance" and a reboot13:38
sync0patenobody awake in here?13:42
lordievadersync0pate: Not a reboot proof vps?13:45
sync0pateobviously not lordievader13:45
sync0pateand the control panel doesn't let me so much as reboot it myself13:45
sync0pateI can upgrade it, or open a support ticket13:46
lordievadersync0pate: Then there is nothing you can do remotely without some kind of kvm support or something.13:46
sync0patewell13:46
sync0pateI've already opened a support ticket, but do you have any idea what could be causing it?13:46
sync0patefor when I finally get in13:46
lordievaderWithout any info it could be a million things.13:47
sync0pateany info?13:49
sync0pateany idea where I should start looking?13:50
sync0patealso I'm moving away from this host the second I can get in.13:51
sync0patebecause fuck em13:51
sync0patenever have these problems with my other one13:51
lordievadersync0pate: Please watch your language.13:56
lordievadersync0pate: Start with the logs.13:57
sync0pateoh apologies, I didn't know there was no swearing in here13:57
sync0pateauth.log?13:57
lordievadersync0pate: All Ubuntu channels are family friendly.13:57
sync0patekk13:58
lordievadersync0pate: That would be a start. In the best case it is a permission issue.13:58
sync0pateI'm just pretty sure there's been no changes to anything13:59
sync0pateI'm the only one who accesses it, apart from the hosting company13:59
sync0pateso they must have changed something13:59
sync0patebecause I haven't touched it13:59
lordievadersync0pate: I'm not saying that that is the problem so don't jump to conclusions and blame someone before you have proof.14:00
sync0pateno absolutely, but I can't imagine how else it could've happened14:00
sync0pateI'm just rather annoyed at their awful service14:01
jak2000hi all why cant do a ifup eth0?   anyone can see:17:58
jak2000http://pastie.org/943953317:58
bekksjak2000: Because eth0 is already up.18:01
TJ-jak2000: because you have a syntax error in 'interfaces'18:02
jak2000http://www.techienote.com/2012/04/how-to-configure-network-ubuntu-12-04.html18:07
jak2000wich is the erro TJ-?18:07
TJ-jak2000: "man resolvconf" is your clue18:08
SierraARAny ideas why running do-release-update on 12.04.4 is telling me there are no releases? I was told I'd be able to run the update once 14.04.1 was out18:19
TJ-SierraAR: Yes, we've just answered that question in #ubuntu :)18:21
SierraARIt wouldnt be in my backlogs :P18:22
TJ-SierraAR: We are waiting for http://changelogs.ubuntu.com/meta-release-lts to have Trusty added. If you have precise-proposed enabled on 12.04, you should have an updated update-manager-core, and can do "do-release-upgrade --proposed"18:24
jak2000hi all, TJ- tell me i have a problem in interfaces file anyone can tell me where?19:11
jak2000http://pastie.org/9439533 thanks19:11
PryMar56jak2000, auto eth019:14
jak2000remove these line?19:18
jak2000ok19:18
klepdoes anyone know why when pxe booting ubuntu 12.04 over network to ubuntu archives (I'm using MAAS) that the pxe process hangs on a purple screen and pegs the CPU for a matter of 10+ minutes before continuing?19:18
jak2000changing auto lo for auto eth019:18
bekksNo, fix it to "auto eth0 static"19:18
bekksAh, THAT line you are talking about :)19:19
jak2000ok changed: auto lo to auto eth019:20
jak2000sudo ifup eth019:20
jak2000RTNETLINK answers: File exists19:21
jak2000Failed to bring up eth0.19:21
jak2000any advice?19:25
klepifdown eth019:28
jak2000ifdown: interface eth0 not configured19:29
jak2000$ sudo ifdown eth019:29
klepsudo ifconfig eth0 down ;sudo dhclient eth019:30
klepwhat's your interfaces file read like?19:31
klepauto eth0 dhcp19:31
jak2000in /etc/network/interfaces right?19:32
jak2000sudo ifconfig eth0 down ;sudo dhclient eth019:32
klepyea19:32
jak2000but not apply i am wait and wait19:32
jak2000break?19:32
klepdo you have a dhcp server?19:33
klepsomewhere handing out ips?19:33
jak2000not19:33
klepok then control C19:33
jak2000i have statics ips19:33
klepwhat IP address do you want to give it?19:33
jak2000192.168.0.88/24 and gw=192.168.0.5419:33
klepsudo ifconfig eth0 192.168.0.88 255.255.255.0 up; route add default gw 192.168.0.5419:34
klepmake sure you add sudo before the word route there too19:34
jak2000SIOCSIFADDR: Invalid argument19:35
klepwhat does ifconfig -a say ?19:36
klepsudo ifconfig -a19:37
klepwell looks like ifdown works19:39
=== Laogeodritt| is now known as Laogeodritt
fridaynextthis is my /etc/exports, and I can connect to my NFS shares, but I can't write to them. Can anyone see any settings I have that are blatantly wrong? http://pastebin.com/raw.php?i=0s8FnRQM21:13
Patrickdkand what does mount show?21:16
fridaynextPatrickdk: well I'm trying to access from OSX.21:22
fridaynextDo you mean mount on the server?21:22
Patrickdkare you sure your using nfs v3?21:22
fridaynextwebmin says I am.21:22
Patrickdkwebmin?21:22
fridaynext(I set up the shares without webmin)21:22
Patrickdkyour running webmin on osx?21:22
fridaynextNo, running webmin on Ubuntu Server 14.04.1 on a standalone NAS I built21:23
PatrickdkI didn't ask what you where doing on ubuntu21:23
Patrickdkwhat is OSX using?21:23
Patrickdknfs 3? nfs2? nfs4?21:23
Patrickdkoviously your attempting nfs3 on ubuntu21:23
fridaynextOh I don't know what nfs OSX is using. I'll trying and research how to find that out.21:24
Patrickdkwhy I said, what does MOUNT say21:24
Patrickdkdunno why you have to research it21:24
fridaynextI asked if you meant mount on the server at 16:22. I'll check that now.21:25
Patrickdkmount on the server?21:25
Patrickdkwhy would you mount your nfs on the server?21:25
fridaynextThis is mount on OSX http://pastebin.com/raw.php?i=iznnhgYG21:25
fridaynextShow's they're all mounted.21:25
fridaynextbut I'm setting version 3 on my ubuntu server, so I'll switch it to v4 and see if that works on OSX21:26
Patrickdknfs4 is harder to setup21:26
Patrickdkodd, it doesn't say what version21:27
Patrickdkwait21:27
fridaynexta basic google search doesn't tell me what version it is either21:27
Patrickdkmounted by caseyfriday21:27
Patrickdkare you sure your permissions are right?21:27
fridaynextunforutantely, that's my username on both the server and the client, so I don't know which it's using21:27
Patrickdkthe same UID on macos has write permissions on the ubuntu nfs folders?21:27
Patrickdkusername doesn't matter, USERID does21:28
Patrickdkwith nfs4, username + userid both matter21:28
fridaynexthow do i check my uid?21:28
Patrickdkgetent passwd | grep caseyfriday21:28
guntbertfridaynext:    id21:30
Patrickdkguess that works too :)21:30
PatrickdkI hardly ever lookup my own id21:30
fridaynextwell the uid's are different on each machine (obviously?)21:32
Patrickdkwell, then user permissions won't be enough21:39
Patrickdkyou would have to use group permissions, with a common group id, or everyone permissions21:39
Patrickdkto be able to write21:39
fridaynexti have ownership set to nobody:nogroup, so how would I change the group to whatever a connected client is?21:41
Patrickdkfirst on the unix side21:42
Patrickdktry setting it to like, chmod a+rwx on one of those folders21:42
Patrickdkand see if that fixed the issue21:42
Patrickdkif no one else will be mounting these nfs folders, that is *secure enough*21:42
fridaynexthttp://pastebin.com/raw.php?i=TYeSnAeD21:43
Patrickdkif not, then we can fix it, after we know that corrects it21:43
fridaynextare those permissions wrong?21:43
Patrickdkyep, only nobody has write permissions :)21:43
fridaynextah21:43
Patrickdkdepends on what you want :)21:43
Patrickdkin your case, yep, wrong21:43
fridaynexti want to be able to write to some of the folders21:43
fridaynextwell, all of them actually21:44
Patrickdkif you only want the osx system to use it21:44
Patrickdkjust make it writable by the osx userid21:44
fridaynextah, my osx user id.21:44
Patrickdkif you also want it writable on the ubuntu side too, alittle harder21:44
fridaynexthow about just both?21:44
fridaynextis that a+rwx?21:44
Patrickdkthen your stuck making a common user id on both, common group id on both, or everyone permissions21:44
Patrickdka+rwx is everyone can write21:45
fridaynextsounds like that's what i want.21:45
Patrickdkor rather, everyone can read,write,execute/list-dir21:45
fridaynextit's all within a local network21:45
Patrickdkthat is only marginal21:46
Patrickdkit's more if your osx had multible users21:46
fridaynextwell, how do i add write permissions for my OSX uid?21:46
Patrickdkchown uid folder21:46
Patrickdkwhere uid is your osx userid21:46
fridayne_crappy internet connection. sorry.21:47
Patrickdkchown uid folder21:47
Patrickdkwhere uid is your osx userid21:47
fridayne_and then I can't write to that folder within ubuntu? or I could change the group, then add the different apps I want to write to it to that group?21:48
Patrickdkyes21:48
fridayne_so much work to make it work the way i want it.21:48
Patrickdkbut you need to create that group with the same groupid on both ubuntu and osx21:48
fridayne_well on osx, 20 is the 'staff' group id21:48
fridayne_so I could just use that21:48
fridaynexthttp://pastebin.com/raw.php?i=aj6wNTmX22:00
Patrickdkworks?22:03
Patrickdkmight be using nfs422:04
Patrickdkwonder what the option is in osx22:04
Patrickdklikely vers=322:04
Patrickdkto mount it using v322:04
fridaynextdoesn't work22:04
fridaynextso if i just change the setting to v4 in the ubuntu server, that'll create more complications?22:05
Patrickdkv4 is nice, and secure, and adds a lot of stuff :)22:05
Patrickdksetting up kerberos, making userid and names match, ...22:05
fridaynextis that where the writers in mass effect got the idea for 'cerberus'?22:06
Patrickdkheh?22:06
fridaynextso kerberos between ubuntu and osx will likely be difficult?22:06
Patrickdkdunno22:07
fridaynextsomeone in the #macosx room says 10.9 runs nfs v322:09
fridaynextso the versions should match.22:09
PatrickdkI know it does22:20
Patrickdkbut I'm pretty sure it also runs nfs422:20
Patrickdkthe question is what does it run by default :)22:20
fridaynexti was also just able to connect via NFS4...22:47
fridaynextbut i still can't write to the shares22:50
Patrickdksorry, I don't do osx, and out of ideas, mainly cause I'm busy doing other things22:55
fridaynexti finally got it to work. sort of22:56
fridaynexti changed the owner to my osx uid22:56
fridaynexti'll just work with group id's within the ubuntu box22:57
fridaynextso my question is, it says I only have 14GB available within the share22:57
Patrickdkah, so group wasn't working over nfs22:57
fridaynextI thought shares were just as big as they get?22:57
fridaynextno, group wasn't working22:57
Patrickdkshare? what is a share?22:57
fridaynextan nfs share22:57
Patrickdkit's not a share :)22:57
fridaynextlike, I'm sharing a folder from my Ubuntu box, so why would it say I don't have enough space?22:58
Patrickdkheh?22:58
fridaynextwhat is it?22:58
fridaynextif it's not a share?22:58
Patrickdkit should be the same on both22:58
Patrickdkan nfs mount22:58
fridaynextokay22:58
Patrickdkit's a shared filesystem22:58
fridaynextso it's a folder, sitting on an empty RAID5 array with 5.5TB usable space.22:58
fridaynextI'm wondering why it says I only have 14GB availabe...22:58
Patrickdkand what does ubuntu, df -h, show?22:58
fridaynextthat it's not even in there. :)22:59
fridaynextso my raid array must not be mounted, or something22:59
fridaynextah, my raid array switched from being md0 to being md127.  wtf.23:00
Patrickdknever use names23:00
Patrickdkuse UUID23:00
Patrickdkuse, blkid to find it23:00
fridaynextthat didn't return anything (when i typed 'blkid /dev/md127')23:01
Patrickdkwhy did you put /dev/md127 on it?23:01
Patrickdkjust, blkid23:01
fridaynextso in /etc/fstab, i should not have /dev/mdX?23:01
Patrickdkno23:01
fridaynextblkid returns nothign as well23:01
Patrickdkheh?23:01
fridaynexti need to find the UUID of my raid array, so I don't have to use /dev/md127 in /etc/fstab, correct?23:02
Patrickdkthat would be best23:02
Patrickdkthen it can move all it wants23:02
Patrickdkbut I don't understand why blkid wouldn't see it23:02
fridaynextand i tried using blkid - but that command returned nothing.23:02
Patrickdkit should always23:02
fridaynextit's not currently mounted - is that why?23:03
fridaynextah, found the UUID23:03
fridaynextmdadm --detail /dev/md12723:03
fridaynextis it okay for the UUID to have colons in it?23:04
Patrickdkif it does, it's not a uuid23:04
Patrickdkwhat does mdadm actually output for that?23:05
fridaynexthttp://pastebin.com/raw.php?i=AqcZzh6a23:05
Patrickdkwrong uuid23:05
Patrickdkthat is the raid uuid23:05
Patrickdknot the filesystem23:06
fridaynexti thought that's waht I wanted, to tell /etc/fstab what to mount at boot up23:06
Patrickdkfstab doesn't mount raids23:08
Patrickdkit mounts filesystems23:08
fridaynextso how do i get the UUID of the filesystem that resides on the RAID array that I want to mount at boot up? (besides blkid, since that's reporting nothing)23:09
Patrickdklike, this is mine23:09
PatrickdkUUID=53681bc0-51fc-487d-b7cd-8639a9e6e5c3 /homeext4noatime0 223:09
Patrickdkand from, blkid it says23:09
Patrickdk/dev/md1: UUID="53681bc0-51fc-487d-b7cd-8639a9e6e5c3" TYPE="ext4"23:09
fridaynextI formatted the RAID xfs - does blkid work with that FS?23:09
Patrickdkand from mdadm --detail, UUID : 72233391:2532ba80:a494839d:76063f0b23:09
Patrickdkit should, I would think23:10
fridaynextthis is so frustrating23:10
Patrickdkhttp://mindref.blogspot.com/2010/11/linux-partition-uuid.html23:11
fridaynextTHERE it is.23:11
z1hazehello, I'm just trying to find some information on I would setup vm's on my dedicated server so i cant assign them to people?23:12
fridaynextnow I wonder if I'll survive a reboot.23:12
z1hazeI dont know a great deal about it so anyone who might be patient to try to help id appreciate it23:12
fridaynextz1haze: I set up a Windows 7 vm using KVM on my Ubuntu 12.04.1 LTS server, so I know it can be done, but I definitely just followed tutorials online - don't remember how to do it.23:13
fridaynextPatrickdk: I'm mounted! df -h now shows /media/raid with 5.5T usable space.23:15
fridaynextIt did delete all the folders I already created, but there weren't many, so nbd.23:15
Patrickdkunmount it23:16
Patrickdkmove that /media/raid somewhere else23:17
Patrickdkmount it, then copy it back23:17
fridaynext? why?23:17
fridaynextOh, to preserve the folders. I already created them all again.23:17
Patrickdkto keep it clean, and no need to redo it23:17
Patrickdkwell, unmount it and delete the old ones atleast23:17
Patrickdkso you don't get confused23:17
Patrickdkif it doesn't mount23:17
fridaynexti can't even force unmount it at the moment...23:19
Patrickdkya, have to take down nfs first23:19
fridaynextstill says resource busy23:19
fridaynextnot sure what this means http://pastebin.com/raw.php?i=CVdFdwPP23:22
fridaynextbut perhaps that's why i can't unmount23:24
=== unreal_ is now known as unreal
z1hazehmm23:25
fridayne_i am finally copying data over23:28
fridayne_looks like it's going at about 80-90MB/s, which is about the max speed I'd expect from WD Reds, so I'm pretty sure I'm getting max transfer speed over this wired connection!23:28
=== Lcawte is now known as Lcawte|Away

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!