/srv/irclogs.ubuntu.com/2014/01/30/#ubuntu-server.txt

=== thumper-afk is now known as thumper
w0rmiei've a connexion problem with a DELL XPS 8700 while installing ubuntu server 12.1000:42
w0rmiethe configuration looks fine, but no way to access to internet for updates00:43
w0rmieRTNETLINK: File exists00:44
w0rmieFailed to bring up p2p100:44
w0rmieso?00:44
sarnoldw0rmie: unrelated, but are you sure you want to install 12.10 onto a server today? 12.10 is EOL in three months: https://wiki.ubuntu.com/Releases00:45
w0rmieit's the most stable release i think to build a beowulf cluster00:47
w0rmiedo you have an idea about how to resolve this sarnold? :)00:51
sarnoldw0rmie: not off the top of my head; are there any more errors in dmesg? in the log files? what's the output of 'ip addr show', 'ip route show', etc?00:51
w0rmie$ ip addr show gives: 192.168.11.0/24 dev p2p1 proto kernel scope link src 192.168.11.11100:56
w0rmieit's ip route show sorry00:56
sarnoldah, good, I though that 192.168.11.0/24 looked pretty strange there..00:57
w0rmie;)00:57
sarnolddo you have a default route?00:58
w0rmieyes01:00
sarnoldcan you ping or otherwise contact the router listed in the default route?01:01
w0rmiealready done, unreachable01:01
sarnoldhrm, does dmesg say anything interesting about the interface? do you have ethtool installed? does it say anything interesting about your nic?01:03
sarnoldcan you throw a 'known good' nic (laptop?) into that port on the switch? test the cable too?01:03
w0rmiethe cable is tested and the network is fine, i am using windows and OSX too in the same net segment01:04
w0rmieethtool says: Current message level: 0x00000033 (51)01:06
w0rmieethtool says: drv probe ifdown ifup     Link detected: yes01:06
sarnoldsorry w0rmie, I think I'm out of idas01:08
w0rmieit's ok sir, something goes wrong with the default kernel for RTL8111/8168B as i see on a forum here ;)01:10
Lightswordi'm trying to install ubuntu 13.10 on a supermicro MBD-H8SGL-F AMD socket G34 Opteron motherboard but the install freezes right after the initial loader02:56
hitsujiTMOLightsword: where exactly does it freeze? have you made any keyboard entry at this point?03:04
Lightswordright after I hit the install ubuntu right after boot03:04
Lightswordactually there must be a bug in 13.1003:04
Lightsword13.04 worked03:04
hitsujiTMOare you able to get up another tty at the point it freezes?03:06
LightswordI was installing using the internal KVM03:07
=== wedgwood is now known as Guest44693
=== thumper is now known as thumper-afk
=== Ursinha-afk is now known as Ursinha
=== Ursinha is now known as Guest49006
=== huats_ is now known as huats
makarahi. I've locked myself out of a VM by setting SSH to refuse passwords, before I added my key. I've added the vdh to another instance of Ubuntu. How can I see it, and mount it, so I can add the key?08:55
hitsujiTMOmakara: is the drive showing up: sudo fdisk -l08:58
makarahitsujiTMO, yeah, it's /dev/sdb08:59
makaradoesn't show in df08:59
hitsujiTMOmakara: which partition of that is the / ?08:59
hitsujiTMOmakara: sorry which partition of that is the /home ?09:00
hitsujiTMOmakara: could you pastebin the output: sudo fdisk -l09:00
makarasdb109:01
hitsujiTMOmakara: sudo mount /dev/sdb1 /mnt09:01
hitsujiTMOmakara: is sdb1 the / so?09:01
makaraI've got the home directory here09:02
makarano .ssh folder yet09:02
makarai'm the same user on both machines09:02
makaramkdir .ssh permission denied09:03
makarawhat is your question?09:03
hitsujiTMOmakara: ok. whats the path to the home as its mounted now?09:04
makara/mnt/home/09:04
hitsujiTMOmakara: so: mkdir /mnt/home/makara/.ssh09:04
makarapermission denied09:05
hitsujiTMOmakara: ls -ld /mnt/home/makara09:05
makaramakara:makara09:06
makarals09:06
hitsujiTMOmakara: mount | grep /dev/sdb109:06
makara/dev/sdb1 on /mnt type ext4 (rw)09:07
hitsujiTMOmakara: ls -l /mnt/home/makara/.ssh09:07
makarano such file or directory09:08
makarawhy would it be there?09:08
makarathat's the problem09:08
makaraI've edit sshd_config to allow passwords09:08
makaraI'm going to detach and reboot09:08
makarathx 4 help09:08
hitsujiTMOmakara: cool. might be easiest. can't see why you're getting the errors09:08
zetherooI ssh into one of our KVM host servers and perform a simple df -h ... but it just sits there without giving any output. I have to exit the terminal, open a new terminal and ssh back in to get any response again ...09:09
zetherooAlso if I cd into /mnt and then try to do ls -la the same behavior occurs ... will not show anything and the terminal session is frozen ...09:09
makaraI guess it knows the makara@pep is not makara@giz09:09
hitsujiTMOzetheroo: check dmesg and /var/log/syslog for any errors related to the df -h09:09
makarahitsujiTMO, I think i also encrypted the home directory. Would I be able to see the files in that case?09:10
zetheroook09:10
hitsujiTMOmakara: no, the filesystem isn't aware of the host09:10
hitsujiTMOmakara: ahh. if it was encrypted then you must load the encypted folder. the main folder is locked09:10
zetheroohitsujiTMO: looks like one of the nfs mounts isn't responding ... thanks ;)09:11
makarahitsujiTMO, there are two folders?09:13
hitsujiTMOmakara: with encrypted home folders, you encrypted home is mounted in place of /home/makara when you log in. the /home/makara on the drive is used as a mount point09:14
makarahitsujiTMO, https://bugs.launchpad.net/ubuntu/+source/ecryptfs-utils/+bug/36401509:37
makarareal pity that. I won't be using encrypted home for a while09:37
zckhi there09:38
hitsujiTMOmakara: ahh. yeah. thats a bit annoying.09:38
hitsujiTMOmakara: at least encrypted home is still valid for client devices09:39
=== thumper-afk is now known as thumper
makarahitsujiTMO, i'm going to remove the encryption09:51
makarabut all the web pages show how to do it from a GUI09:51
makaraany idea how to cli this?09:51
hitsujiTMOmakara: afraid not. its not something a play with09:52
b00tbu9hi09:58
b00tbu9I would like to know how to set up and use mailx09:58
b00tbu9with an existing smtp server09:58
b00tbu9Tried searching internet..09:59
b00tbu9nothing worked09:59
zckb00tbu9: why do you want to use it?10:04
smbhallyn, I am on the libvirt update10:13
hallynsmb: cool, thanks10:16
hallynsmb: I just noticed it was only marked as affecting virt-manager while the patch was against libvirt :)10:16
smbhallyn, Yeah, I was about to change it later when I got the package prepared and tested. So you changing it saved me the hassle. :)10:17
smbhallyn, Just marked the virt-manager task invalid for that reason10:17
makarahow can I chroot into a mounted filesystem? I want to create a user for the mounted drive, not my working OS10:22
=== Guest49006 is now known as Ursinha
hallynsmb: I didn't know offhand how to do that through the email api :)10:24
=== keee is now known as w0rmie
smbhallyn, He, nor would I  :)10:25
hallynI guess I could have just done a new 'affects' stanza followed by status invalid10:26
smbhallyn, Got libvirt source package ready for quick sanity check and sponsoring up at chinstrap:~smb/4review10:32
smbGot it verified on my machine at home10:32
makarain this thread: http://ubuntuforums.org/showthread.php?t=115624010:35
makarathey mount /dev and /dev/pts separately10:35
makarawhy?10:35
hallynsmb: can you just pastebin the debdiff?10:43
smbhallyn, I can, just did not think that would make things easier for you. A sec10:44
smbhallyn, http://paste.ubuntu.com/6843117/10:46
hallynsmb: i'd rename the patch 9023-xen-fix-parsing-xend-http-response.patch, but other than that looks good10:53
hallynsmb: oh wait, you need me to push it?10:53
hallynsorry i missed that :)  ok, will push, thx10:53
smbhallyn, Yeah, still got no power to upload10:53
smb:) Feel free to change the name of the patch on that10:54
hallynsmb: ok, just did a test build to make sure :)  all's good, pushing.  thanks11:13
adachow can i create an user with home directory and no password. A system use?12:09
adac*user12:10
shaunoadac: I'd usually use 'useradd' for that (rather than 'adduser').  it has a --system flag, amongst others.  if you don't specify a password, it'll have a disabled pass.  usually you'll still have a $HOME though, eg www-data has /var/www as a home12:21
shaunoof course, hit up the man page and see which flags meet your requirements12:21
UchMondhow to open pptp port .. i'm using ufw firewoll and iptables.. eth0 externel eth1 internal..12:30
UchMondi've done as documentation said but.. not working12:31
rostamhi how to find the grub version on my system? thx12:37
zetheroohow to install sunjava on Ubuntu 12.04 ?12:39
hitsujiTMO!java | zetheroo oracle java instructions are here12:52
ubottuzetheroo oracle java instructions are here: To just use java you need a "Java Runtime Environment" (JRE) and/or a browser plugin. If that is not sufficient you will need a "Java Development Kit" (JDK) aka "Software  Development Kit" (SDK).  Please see https://help.ubuntu.com/community/Java about how to install one of three current implementations.12:52
hpr_hello12:53
hpr_I have a question to koolhead17 regarding his OpenStack book12:53
hpr_The book makes use of the ubuntu distribution12:53
hpr_does the content of the book also applicable to other linux distributions ?12:54
hpr_like opensuse or debian or Linux Mint ?12:54
ihreHello, I'd like to run an Apache2 server as a different user, so I edited APACHE_RUN_USER, but how can I let this user restart his apache2 process without sudo?13:00
=== gary_poster|away is now known as gary_poster
jamespageroaksoax, does this ring a bell?13:14
jamespagehttps://bugs.launchpad.net/ubuntu/+source/maas/+bug/127449913:14
jamespageI thought we raised it last november but maybe not13:14
roaksoaxjamespage: let me check13:17
roaksoaxjamespage: uhmmm13:20
roaksoaxrvba: ^^13:24
rvbajamespage: roaksoax: yep, that's exactly what we think just happened with sparkiegeek's box.13:26
zulgood morning13:27
rvbaWhen the pool of IPs is exhausted, isc-dhcp-server apparently just re-uses already taken IPs.13:27
jamespagervba, yup - that's where I raised it from13:43
smoserjamespage, do you have a suggstion for https://launchpad.net/~ubuntu-cloud-archive/+archive/cloud-tools-next/+build/5534963 ?13:49
jamespagesmoser, yes - I pushed a branch to ~ubuntu-cloud-archive for that in the icehouse pocket13:49
jamespagecan't actually remember if I uploaded it tho13:50
smoserjamespage, ok. ill follow that up. are you aware of https://launchpad.net/~ubuntu-cloud-archive/+archive/cloud-tools-next/+build/553495613:52
smoseri just uploaded a 1.17.1.13:52
jamespagesmoser, ah - you won't be able to backport that unchanged13:52
jamespagethe gccgo version in precise sucks13:52
jamespageso you'll need to disable that bit of the packaging13:53
smoserhm..13:53
smoserok. i thikn thats ok. mans we don't get other arches in cloud archive.13:53
smoserfor precise. which is probably ok.13:53
zuljamespage:  https://code.launchpad.net/~zulcss/python-cinderclient/1248519/+merge/20397213:55
jamespagezul, thanks14:02
jamespage+114:02
jamespagezul, nova is still in proposed btw14:03
zuljamespage:  wtf?14:06
zuljamespage:  adt tests failed14:07
smoserstgraber, can i just drop the whole arch checking from ubuntu-cloud template ?14:11
smoseryou added that, i dont really think its necessary.14:12
stgrabersmoser: I'd rather not as otherwise people will end up downloading cloud images which they can't actually run and I prefer to be a bit more user friendly than that14:13
smoserthey'lll download images they can't run when they *say* to do it14:14
smoserand they may have good reason for doing so14:15
smosermaybe they're going to patch in qemu-static14:15
smoserstgraber, ^14:15
zuljamespage:  sorry do you have the bug number for the api issue that you were having14:17
zuljamespage:  nm found it14:17
smoserjamespage, i have forgotten14:18
smoserhow do i un-cleanly 'debuild -S' the mongodb ?14:18
jamespagesmoser, "-nc"14:26
koolhead17zul: hello sir14:29
zulhi koolhead1714:29
koolhead17zul: got few mins? dm?14:29
koolhead17jamespage: hello sir :)14:29
zulkoolhead17:  sure14:29
smoserjamespage, do you have toolage that helps you magically decide to use an lp: branch or straight backport ?14:31
jamespagesmoser, nothing official14:36
jamespagewe probably should have that14:37
jamespageand a check in the backport-o-matic that looks for backport branches as well14:37
smosersecond qustion14:37
smoserwhere would i disable the gccgo stuff for juju-core14:37
jamespagein d/control and d/rules14:38
zuljamespage:  i have a fix for nova for adt tests failing just testing it now14:46
jamespageyolanda_, please can you use http://bazaar.launchpad.net/~charm-helpers/charm-helpers/devel/view/head:/charmhelpers/core/host.py#L13514:50
jamespageinstead of 'write' and then changing permissions please14:50
yolanda_jamespage, ok14:51
smoserjamespage, i'm confused by line 43 at http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/trusty/juju-core/trusty/view/head:/debian/rules14:54
smoserah. never mind.14:55
zuljamespage:  https://code.launchpad.net/~zulcss/nova/nova-api-fix/+merge/20398714:55
smosereverything will build with golang. and only non 'golang_archs' will build with gccgo14:55
smoserbut that doens'tmake sense.14:56
smoseras my filed build took the gccgo path.14:56
smoseron amd6414:56
jamespagesmoser, it did both actually14:57
jamespagegolang first and then gccgo14:57
smoserright. its just funny logic.14:57
smoserbecause the variable is named 'golang_archs'. but you're using that to determine you should use gccgo14:58
smoserwould you be opposd to naming that 'gccgo_arches' ?14:59
smoserm. never mind thats wrong too15:02
=== Core_Craig_ is now known as Core_Craig
zuljamespage:  neutron fixed i think15:43
smoserjamespage, sorry for being dense.15:51
smoserhttp://paste.ubuntu.com/6844404/15:51
smoserthat results in15:51
smoserhttp://paste.ubuntu.com/6844406/15:52
zuljamespage/smoser: can i get a +1 https://code.launchpad.net/~zulcss/neutron/fix-tests-locking-issues/+merge/20401215:52
smoseris that somehow going to work on the ppa builders ?15:53
zuljamespage:  https://code.launchpad.net/~zulcss/nova/nova-api-fix-too/+merge/204017 and https://code.launchpad.net/~zulcss/neutron/fix-tests-locking-issues/+merge/204012 (then we should be good for icehouse-2)16:12
jamespagezul, can we bump that into the release please16:17
jamespagehttps://code.launchpad.net/~zulcss/nova/nova-api-fix-too/+merge/20401716:17
jamespageneutron: +116:18
zuljamespage:  yeah im just going to have to back out the fix-requirements patch then (due to sqlalchemy)16:20
smoserstgraber, sent new patch. please check.16:21
zuljamespage:  done16:26
zulbrb i need to reboot16:28
stgrabersmoser: your new patch now allows arm64 on armhf/armel which isn't supported (the other way around is, which is why I proposed using two entries instead in my previous e-mail.16:31
smoseryour previous logic was also broken16:31
smoserthe stuff i was replacing16:31
smoserrunning armhf on armel16:31
smoseri really think bothering with this "i'm smarter than you" is just wrong.16:32
smoserlet the user do what they want. rather than maintaining a hard coded list of "this works"16:32
stgrabersmoser: how's my logic broken? it may not be particularly readable in the arm64 case because it's done in two different if statements, the first checking for armel/armhf/arm64 on armel/armhf/arm64 and the second one ensuring that arm64 is never used on !arm6416:37
smoseryour logic was previously broken saying armhf would not run on armel16:38
smosererr.. that it would run16:39
smoserwhich i think is broken logic16:39
smoseranyhow16:39
zuljamespage:  so +1 for nova?16:39
smoserfix it up however you thikn is "right".16:39
smoseri dont care enoguh16:39
stgrabersmoser: it's not, armhf does run on armel16:39
smoserwell, do whatever you like. again i think its wrong to care.16:40
smoseryou'lll just fail early and possibly break someone who wanted to do something.16:40
smoserand thats the person you're going to stop.16:40
semiosishi all.  i'd like to follow up on a MIR for glusterfs which has been around for two years... https://blueprints.launchpad.net/ubuntu/+spec/servercloud-p-glusterfs-mir16:43
semiosisjust yesterday there was some movement regarding building qemu with glusterfs support, which apparently depends on the glusterfs MIR16:44
semiosisi'd like to know what's stopping the MIR for glusterfs, and if there's anything I (the upstream glusterfs deb packager) can do to help move things along16:44
semiosismarcoceppi, jamespage: ^^^16:45
* semiosis is not with redhat btw, just a volunteer passionate about debian, ubuntu, and glusterfs16:46
semiosisanother related link: https://bugs.launchpad.net/ubuntu/+source/glusterfs/+bug/127424716:49
=== hxm- is now known as hxm
zulsmoser: ping https://code.launchpad.net/~zulcss/nova/nova-api-fix-too/+merge/204017 (to get nova out of -proposed)17:20
=== Ursinha is now known as Ursinha-afk
UchM0ndhello guys.. i have one problem.. i setup pptp server on ubuntu 12.4 (i used ubuntu documentation) and setup ufw firewall .. when i scan my ports i have ssh open and 1723 closed .. i don't know how to open it .. what to do?18:56
hitsujiTMOUchM0nd: sudo ufw 172318:57
hitsujiTMOUchM0nd: sudo ufw allow 1723     sorry18:57
UchM0ndalready done this18:57
UchM0ndbut no luck18:57
hitsujiTMOUchM0nd: can you pastebin the output of: sudo ufw status18:58
Core_Craigis the process listening on 1723 stopeed by chance?18:58
UchM0ndif so how to restart it18:59
Core_CraigLet's start with the ufw status check :)18:59
UchM0ndufw status http://pastebin.com/Aqnsb3Wf19:00
UchM0ndwhen i connecting vpn error is 80719:01
hitsujiTMOUchM0nd: no deny rules, so lets move onto the process. sudo service pptpd restart19:01
UchM0ndnext ?19:02
hitsujiTMOUchM0nd: test... is it working ?19:02
UchM0ndno same again19:02
UchM0ndwhen i scan with nmap it shows that i hav 22 and closed 172319:03
UchM0ndmy ip tables is in  /etc/rc.local19:04
UchM0ndiptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE19:04
UchM0ndeth0 is public19:04
hitsujiTMOUchM0nd: sudo netstat -an | grep 172319:04
=== Smedles_ is now known as Smedles
UchM0ndnothing shown up19:05
hitsujiTMOUchM0nd: then the server isn't listening. its not setup correctly19:05
Core_CraigI wonder if it's not bound to the correct port.19:06
Core_CraigPort as in eth0.19:06
UchM0ndso.. should i remove pptp and redo everithing again ?19:06
hitsujiTMOUchM0nd: no, just go through the the steps and verify your config first19:07
UchM0ndhitsujiTMO ok i will return in a minute ..19:07
UchM0ndthanks though :)) kind man :)19:08
UchM0ndhitsujiTMO hey man.. i just resolved my problem :))  i followed this link http://www.linuxquestions.org/questions/linux-networking-3/pptp-packets-from-the-vpn-client-cannot-reach-the-vpn-server-94479620:03
UchM0ndhttp://www.linuxquestions.org/questions/linux-networking-3/pptp-packets-from-the-vpn-client-cannot-reach-the-vpn-server-944796/#post467764620:03
hitsujiTMOahh sweet20:04
UchM0ndi had error configuring local and remote ip-es :))20:04
UchM0ndhitsujiTMO thanks ..20:05
sarnoldnice20:05
=== thumper is now known as thumper-afk
=== lfaraone_ is now known as lfaraone
=== thumper-afk is now known as thumper
=== matanya_ is now known as matanya
hxmhi21:55
hxmafter restart mysql service I get this http://pastebin.com/MXbxTtYi21:56
hxmFATAL ERROR: Upgrade failed, no clue whats that21:56
hxmi verified the user debian-sys-maint has the correct password22:01
darkxploithello..its since some hours i saw vswap at 100%. i could not ssh over the server. i then rebooted it. vswap is now 0%. site still down i can't ssh. i have launched the console. a netstat -antpl give me no result. a nmap localhost can't reach http://125.0.0.1/. i have disable firewall right now. still nothing.. i have restarted apache.. now a netstat -antpl shows apache listening22:07
darkxploitits still not working22:09
=== thumper is now known as thumper-afk
=== JanC is now known as Guest9638

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