/srv/irclogs.ubuntu.com/2014/10/13/#ubuntu-server.txt

=== Guest68239 is now known as esde
=== FreezingAlt is now known as FreezingCold
Spydar007There's a program I want to use that only works on Debian, but my server has Ubuntu (and no, I can't just change it to Debian), someone told me you can run a Debian Virtual Environment through Ubuntu, how do I do this?05:36
=== nath|off is now known as nathema
=== kickinz1|afk is now known as kickinz1
lordievaderGood morning.06:43
lordievadermicah: I understand that. Just thought it would be nice to know in case you didm't/06:43
lordievaderdidn't*06:43
SachiruUbuntu is reskinned debian with a few custom libraries.06:44
SachiruIf it works in debian it will surely work in ubuntu, assuming the necessary dependencies are in place.06:45
lordievaderSachiru: That is a bit crude and not allways true.06:51
Aporie_Hello, what the right way to restart "notworking service" in 14.04 LTS ?? Can't do anything with "sudo service stop" and "/etc/init.d/netw... stop". Anyone have an idea ?06:52
SachiruNot working service, or networking service?06:53
Sachiru@lordievader: My apologies, then. But the fact is that it it works in debian it will almost always work in Ubuntu06:53
SachiruGranted that the necessary dependencies are in place.06:53
lordievaderIn most cases that is true ;)06:54
SachiruAporie_, do you want to restart a service that is not working, or do you want to restart the networking service?06:55
lordievaderAporie_: Does 'sudo service networking stop/restart' not work???06:56
sarnoldAporie_: do NOT run "service networking restart", that either makes the machine nearly unusable or it doesn't do anything at all, depending upon the version you've got.06:57
lordievaderHmm, yes perhaps it ain't a good idea...06:58
sarnoldAporie_: use ifup and ifdown on individual interfaces or use the -a command line option06:58
lordievaderApologies.06:58
SachiruAlso if you do use ifup and ifdown, use && to wrap them in the same command line, especially if you are ifdown-ing a system without IPMI while you are SSHed into it06:59
Aporie_sarnold, yeah I've useder "service netwsorking restart" and it didn't work06:59
Aporie_sarnold, using ifdown and ifup works well !06:59
Aporie_thanks06:59
SachiruPerhaps you need to spell better?06:59
sarnoldSachiru: hah, yes, good advice.06:59
sarnoldAporie_: if it just didn't work, you got lucky :) hehe07:00
sarnoldSachiru: lol07:00
Sachirusarnold, Burned several times with ifdown-ing an interface while connected via ssh to it without adding the && ifup07:00
Aporie_sarnold, ok so I guess I'm07:00
=== Sachiru is now known as Guest68868
=== Sachiru_ is now known as Sachiru
Aporie_sarnold, one more question, do you know if wifi is abled on boot by default ?07:50
lordievaderAporie_: You can have the interface up on boot (if configured), letting it connect to a network on boot is tricky.07:52
Aporie_lordievader, I've just configured a working wifi network. But It spend a lot of time to connect to it. I would like to reduce the time getting access to the network ...07:55
nokutHello everybody07:56
lordievaderAporie_: There are guides online, but like I said, it's tricky.08:00
|\nexcuse me, guys, i wonder if this is a solid reason... i see "gzip: stdout: No space left on device " while updating /boot related packages, my vps provider made it this way: "/dev/vda1 96M 77M 14M 85% /boot "09:32
|\nso am i correct reporting this as an issue to ticket system, since i havn't touch anything on special purposes?09:35
* maxb does not think "I have filled up my partition" is a bug.09:36
rbasak|\n: http://askubuntu.com/q/2793/780809:36
|\nmaxb, indeed, but it's not me who made it this tiny =)09:39
|\nthank you, rbasak09:40
|\nhowever, there is only 1 previous version09:40
lordievader|\n: This is an issue with your hoster, not with Ubuntu.09:42
|\nlordievader, that is exactly what i meant, sorry for not pointing that out clearly09:43
lordievader|\n: Okay, then we are on the same page ;)09:43
maxbIt is a bit on the small side, but seems like it should fit two kernels, which is enough09:44
|\nit's just 14mb free so i was in doubt still09:44
lordievaderUbuntu's initramfss09:44
lordievaderare large...09:45
|\nyeah, maxb, but appears not, because since linux-image-3.13.0-35-generic* linux-image-extra-3.13.0-35-generic* were removed, `dpkg --onfigure -a` fixed it all09:45
Aporie_lordievader, still on the configuration of wifi. I don't know why it's not working whereas, in dmesg, seems to be started at boot : http://pastebin.com/291s3Y0j10:02
Aporie_any idea ?10:02
Aporie_Is the troubleshoot comming from dhclient ?10:04
nokutwhat is the best method of taking a backup of wiki server (ubuntu 12.04)?10:12
nokutwe want to take (preferably) dynamic backups of the server until somebody else can take the responsibility of maintenance10:15
|\nsome cron for db backups maybe and some duplicity maybe, nokut?10:17
nokutok, thanks |\n10:23
nokutcan you use external usb drive in combination with anyone of those tools_10:24
|\nnokut, i never had such a need, in terms of backing up to usb, but it is totally possible, especially taking in view udev rules: "the certain usb plugged - backup started", ideally10:30
|\nscp/sftp/nfs/smb/ftp or piping via sockets sorcery lol, why usb10:31
lordievaderAporie_: How have you configured the device?10:39
lordievaderHeh you do get connected, that is more than I've achieved ;)10:41
nokutsorry it took long; usb is handy - we have some disks with enough capacity laying around unused10:46
Aporie_lordievader, yeah, but the I can't understand the troubleshoot. It's like the wifi is associated but have no access to internet10:53
Aporie_ping google.fr10:53
|\nif you have a real goal of providing backup services for your infrastructure i would subjectively advice to gather those hdds "under one roof" via buying a 1 single box with jbod or even build a raid5, not that expensive, but a real investment if compared10:53
Aporie_bug .. sorry10:53
lordievaderAporie_: That you are connected does not mean you have an ip ;), what's in /etc/network/interfaces?10:55
Aporie_wait have to put ethernet link to connect by ssh10:55
Aporielordievader http://pastebin.com/6yFdh77811:00
lordievaderAporie: Hmm did it get that ip?11:01
Aporiethe strange thing is that I plug ethernet link, I have the .25 ip active11:01
Aporiehttp://pastebin.com/PGXnqVbU11:02
Aporiewhen I plug*11:03
lordievaderAporie: Can you ping your gateway through the wlan0 device?11:03
Aporiehave to try this11:03
RoyKAporie: your routing table will be a bit funny with that setup11:04
Aporieyeah I can11:04
RoyKAporie: since the cabled and the wireless are connected to the same network and you've given two default gateways11:04
AporieRoyK, How have I to configure the /etc/network/interfaces then ?11:05
RoyKAporie: what are you trying to do here? please explain11:05
AporieI'm trying to get wifi connexion active on my server on boot11:06
Aporiewithout ehternet cable plugged in11:06
RoyKAporie: why do you want two different connections to the same IP network?11:06
lordievaderAporie: Will it be the default interface?11:07
Aporieyeah it will be11:07
RoyKthe 'default interface' will be the one with the default gateway11:07
AporieBut I want the two working11:07
lordievaderAporie: Wifi on a server... imo not a good idea.11:07
RoyKtry 'netstat -rn'11:07
RoyKlordievader: depends what you're doing - for a home server, it could be fine11:07
nokut|\n - Thanks, but we need this is only as a temporary solution11:07
lordievaderGive the wlan0 device the default gateway and comment it for the eth0 device.11:08
AporieYeah it's a home personnal server11:08
* RoyK has also been using wifi for home servers11:08
lordievaderI suppose but if you have the option of going with cable, why not...11:08
|\nnokut, here is a saying: "there is no anything more stable, than something temporary" =)11:08
RoyKlordievader: might be a bit messy with lots of cables around11:08
RoyKAporie: can you try to disable eth0? that should probably do it11:09
RoyKerm - p2p111:09
RoyKjust comment out "auto p2p1"11:09
RoyKand restart the networking (or give it a reboot, for good measure)11:09
AporieI've change the order of the connexion appearing in /network/interface11:12
Aporieand put the gateway to the first one (wifi connexion)11:12
RoyKAporie: remove "default gateway" on the p2p111:12
RoyKthe order doesn't matter11:12
RoyKthe config does11:12
AporieHEHE ! Seems to be working !!11:12
Aporiessh: connect to host 192.168.0.25 port 22: No route to host .... hmm11:14
lordievaderCan you ping the host?11:15
|\ni bet that routing is broken, since it says there is none D:11:16
Aporie iwlwifi 0000:02:00.0: No association and the time event is over already...11:16
Aporiein dmesg11:16
lordievaderThere you go ;)11:16
Aporielordievader, I can't ping the host, but it tied to do it from .24 ip (which is the ethernet ip) and not from the .25 ip (which is the wifi one)11:19
lordievaderAporie: Well you are not associated with a network, ofcourse you cannot ping the host ;)11:20
RoyKAporie: pastebin netstat -rn11:21
Aporiehttp://pastebin.com/CwtPr2H111:23
RoyKlooks good to me11:23
RoyKcan you ping 192.168.0.1 ?11:23
Aporieand the new netwok/interfaces file : http://pastebin.com/2KeAFMVy11:23
RoyKand output of 'ifconfig' ?11:24
AporieRoyK no I can't11:24
Aporiehttp://pastebin.com/1pKnabt111:24
Aporiewhy, in the result of netstat the destination is 192.168.0.0 ?11:25
RoyKhm... try to 'ifdown p2p1' and try again. also, pastebin 'ethtool wlan0' and 'iwconfig wlan0'11:25
lordievaderIs your wifi associated with your network?11:25
Aporielordievader, Yeah I think11:26
lordievaderAporie: You think... please check it, iwconfig11:26
Aporieiwconfig shows result11:26
RoyKlordievader: config looks right for what he's pastebinned so far11:27
RoyKAporie: did you try to ifdown p2p1?11:28
AporieRoyK yeah just did it11:28
lordievader13-13:16 < Aporie>  iwlwifi 0000:02:00.0: No association and the time event is over already...11:28
lordievaderHence I'm asking.11:28
AporieAnd I still have internet access11:28
Aporiewith wifi connexion... I can't understand anything11:29
Aporieinstalling ethool11:30
Aporiethere is no ethool packages11:31
AporieSo for now, I'm connected to network with the wifi11:33
lordievaderAporie: It's ethtool ;)11:33
Aporieproblem is the wifi get working when plugging ethernet cable ...11:33
lordievaderAporie: Nah, I think it then reroutes it over the cable.11:33
Aporieok thanks lordievader11:34
Aporiecable is not linked in for now, and I'm connecting by ssh to the server11:34
Aporie Link detected: yes result from ethtool11:35
Aporieand that WON is not active11:35
Aporiehttp://pastebin.com/9rjcbQni11:36
lordievaderHmm, that looks correct.11:36
AporieSO everything seems correct, but the wifi connexion get active when plugging the ehernet cable11:37
Aporieis the problem could come from bios settings ?11:38
Aporiebut it's stupid the make the wifi active just when ethernet cable is plugged in11:39
=== nathema is now known as nath|off
Aporieto make*11:39
lordievaderAporie: Is the output of iwconfig the same when the ethernet cable is disconnected?11:39
Aporieyes11:40
lordievaderHmm, most interesting...11:40
Aporieassociation is working but not getting ip address without ethernet cable11:40
lordievaderAporie: Does it work when you use dhcp?11:42
AporieIs the problem could come from a too weak bitrate ??11:42
Aporie Bit Rate=144.4 Mb/s fro now11:42
Aporiebut if I remember fine, it was like 50Mb /s before plugging ethernet cable11:43
lordievaderAs long as it doesn't drop to 1/2 Mbps, it should be fine.11:44
AporieHaaaa !!!11:44
AporieI've putted a mac filtering on my box11:44
Aporieto the ethernet card11:44
=== nath|off is now known as nathema
rbasakjpds: any news on strongswan please? Final freeze is this week.11:48
AporieI deleted the mac filter address from my box ... it's not working too11:50
AporieI despair11:51
AporieIt doesn't work with dhcp too11:56
=== nathema is now known as nath|off
RoyKqueorgullo is a spambot - any ops here?12:18
|\n^ i confirm the above12:20
=== nath|off is now known as nathema
Aporielordievader, RoyKI, Ok it finally works ! This is the /etc/network/interfaces file which allowed the wifi to work : http://pastebin.com/4TF6j30V12:39
AporieThe fact is, when booting the server, during plymouth, I have a message like it can't find a proper network configuration ... Asking to wait 60 sec to configure network... After that, all is working !12:40
AporieAnd nothing bad in dmesg12:41
AporieDon't care. The good point is that the server is working with wifi now, and it's good for my small appartment :)12:41
AporieThanks you to you guys : lordievader, RoyK12:41
lordievaderAporie: How is that last one different from earlier?12:42
Aporielordievader : haha ... I don't know. I've just remove the lines for the ethernet config12:44
Aporiehave to eat now ... working on that fu**** problem since this morning12:44
RoyKAporie: goodie12:57
jamespageapw, smb - how's you IPv6?v13:22
jamespagehttps://bugs.launchpad.net/ubuntu/+source/linux/+bug/138061413:22
uvirtbotLaunchpad bug 1380614 in linux "IPv6 address marked as 'mngtmpaddr' under utopic" [Undecided,New]13:22
smbjamespage, ignored mostly on my side13:23
jamespage:-(13:23
smbjamespage, apw is a bit better there13:23
smbjust distracted right now13:23
jamespageI suspect stgraber might be good for that as well13:24
smbjamespage, we can ask him later. he currently is at the (other) conference but we will see him sooner or later13:25
jamespageack13:25
apwjamespage, what is the problem with this mngtmpaddr ?13:38
jamespageapw, I was not expecting it to be marked as such as I don't think it is a mngtmpaddr13:39
jamespageits diff behaviour to 14.0413:39
apw3.13 doesn't have that flag13:39
jamespageapw, so when do interfaces get that flag?13:39
apwjamespage, it is something userspace requests, iproute2 for instance13:41
apwcommit 53bd674915379d91e0e505332c89741b34eab05c13:41
apwAuthor: Jiri Pirko <jiri@resnulli.us>13:41
apwDate:   Fri Dec 6 09:45:22 2013 +010013:41
apw    ipv6 addrconf: introduce IFA_F_MANAGETEMPADDR to tell kernel to manage temporary addresses13:41
jamespageapw, hmm13:41
apwnetwork manager is given as an example allowing it to request privacy addresses be used13:41
killallAny way i can recover a root password of a machine? Im in recovery mode and when i type root it asks for root password for maintenance or Ctrl+d to continue.  :/ 12.0413:43
lordievaderkillall: Root shouldn't have a password on Ubuntu.13:46
killallctrl + d to continue or give root password for maintenance13:47
killallqueorgullo:  is spamming me.13:47
killalllordievader:  it asks for a password13:48
=== nathema is now known as nath|off
=== nath|off is now known as nathema
lordievaderkillall: Ubuntu's policy is to keep the root account deactivated. But anyhow do you have access to the filesystem?14:14
killalllordievader:  rw init=/bin/bash in grub fixed :D14:15
lordievaderHmm, I suppose that'll work too.14:16
killalllordievader:  yeap worked14:20
|\nkillall, i admire with your nick14:29
killall;)14:29
fiyawerxhey guys - i have a fairly plain ubuntu server set up in a vm, but some apps have been filling my / (via /tmp) so I watned to add a second drive to use just for /tmp, is there a "proper" way to add it via lvm or can I just format it and add it to fstab? Is there something I need to watch out for?14:29
killall|\n:  your nick i s way cooler :D14:30
fiyawerxI added the drive, so I see it on the server (/dev/sdb) - just not sure how to proceed14:30
lordievaderfiyawerx: Instead of adding a drive isn't it better to address the issue?14:31
fiyawerxlordievader: it's Plex - with a few streams transcoding at the same time a total of 8Gb on the filesystem isn't enough14:32
lordievaderHmm, I see.14:33
fiyawerxI guess I could give the drive specifically to plex and let the regular system stuff use /tmp normally, still14:33
fiyawerxactually, i think i like that better14:33
lordievaderfiyawerx: So you want to enlarge your volume group and add an lv for /tmp?14:33
fiyawerxso I guess I can really mount it anywhere, not /tmp14:33
fiyawerxlordievader: if it's going to be a full "disk" is there a benefit to doing it that way as opposed to a direct format/mount?14:34
lordievaderfiyawerx: The way you describe it you need to create a new vg and add the secondary hdd as a pv to it.14:34
lordievaderfiyawerx: Well the bonus of lvm is that it is more flexible, if say you add a drive of 20 Gb and it turns out only 10 Gb is used, the other 10Gb is not wasted but can be allocated elsewhere.14:35
fiyawerxor - the converse, if I'm adding a 16GB drive now as say /plextmp, I could expand that if it turns out it's not enoughs pace?14:36
lordievaderfiyawerx: Jup, just add another pv.14:36
fiyawerxperfect, thank you14:36
fiyawerxnever had to play with the lvm stuff manually after the initial setup, gonna look it up now adding a new drive14:37
lordievaderfiyawerx: It's good to have some understanding of it before you start messing with it on a production machine.14:37
fiyawerxyeah, this is running in an esxi host too, so its "production" but mainly my kids are the primary users heh. I took a snapshot to be safe.14:38
=== nathema is now known as nath|off
=== krtaylor_ is now known as krtaylor
FlorianSWHello together! I have a little problem with the startup of my ubuntu server 14.04, hope someone can give me advise :) It seems, that services starting with an upstart script works perfectly, but services with an init.d script doesn't start at ubuntu boot (rc.local isn't executed, too) :/ (tracked down to this in order of http://askubuntu.com/questions/536152/sysvinit-services-not-starting-on-boot-upstart-services-starting )15:20
FlorianSWDoes someone has an idea why?15:21
fiyawerxlordievader: thanks, I think I got it working now, got a new 16GB lv mounted as /plextmp15:51
=== markthomas|away is now known as markthomas
lordievaderfiyawerx: No problem ;)16:05
=== bilde2910|away is now known as bilde2910
FlorianSWHello together! I have a little problem with the startup of my ubuntu server 14.04, hope someone can give me advise :) It seems, that services starting with an upstart script works perfectly, but services with an init.d script doesn't start at ubuntu boot (rc.local isn't executed, too) :/ (tracked down to this in order of http://askubuntu.com/questions/536152/sysvinit-services-not-starting-on-boot-upstart-services-starting )16:13
rbasakFlorianSW: check /etc/init/rc.conf. This is the upstart job responsible for running Sys V init scripts.16:14
FlorianSWrbasak: ah, ok, will check, thanks :)16:15
=== havanami_ is now known as havanamint
=== Lcawte|Away is now known as Lcawte
FlorianSWrbasak: ping, around?16:48
=== bilde2910 is now known as bilde2910|away
=== bilde2910|away is now known as bilde2910
=== funkyHat_ is now known as funkyHat
dcmwaiHello all17:08
dcmwaiwould like to ask about maas17:08
dcmwaiam I on the right channel? or there are another #ubuntu-clouds :)17:09
dcmwaiWhat is MAAS and any info on that17:09
sarnolddcmwai: there is also a #maas17:09
dcmwaiI only see installation17:09
dcmwaibut don't see what is the use17:09
dcmwaisarnold, just to check..17:11
dcmwaiIf I already runing vm..17:11
dcmwaiI shouldn't be running maas right :)17:11
* dcmwai is confused...17:11
sarnolddcmwai: it might not be worth the hassle if you've only got a few VMs17:11
dcmwaiok I'm on this..17:11
dcmwaihttp://maas.ubuntu.com/docs/about.html17:11
dcmwaisarnold, I see ok17:11
sarnolddcmwai: if you've got a few real computers, it might be more useful; if you have racks upon racks of them, it might be the thing that saves your sanity :)17:12
=== sarnold_ is now known as sarnold
FlorianSWi'm now at the point (again) where I do not know what to do: It seems, that /etc/init/rc-sysinit.conf successfully executes /etc/init.d/rcS which executes /etc/init.d/rc S (in init.d/rc i have inserted a new line to log the runlevel (S is logged)17:19
FlorianSWAfter this /etc/init/rc-sysinit.conf executes telinit "${DEFAULT_RUNLEVEL}" (DEFAULT_RUNLEVEL is 2, tracked with logger), which should trigger /etc/init.d/rc to run, right? But i haven't a new log line and no runlevel 2 logged :(17:19
RoyKdcmwai: for just a few VMs, just run KVM/libvirt17:19
dcmwaiRoyK, ok thank you :)17:20
Phibsanyone using apt-mirror, or is there a better alternative ?17:53
qman__Phibs: I use a squid proxy for apt18:06
tgm4883Phibs: it depends on what you are trying to accomplish18:40
tgm4883is it for a few machines, or a lot18:40
tgm4883Phibs: actually, looking at it now I guess I am using ubumirror18:42
=== nath|off is now known as nathema
med_zul, will the release Juno go into proposed on Friday?19:39
med_UCA trusty -proposed?19:39
=== bilde2910 is now known as bilde2910|away
adam_gjamespage, may want to keep https://bugs.launchpad.net/glance/+bug/1279000 on your radar. just hit it trying to upgrade a long lived glance db to the recent juno packages and had to do some manual db work to get around it20:16
uvirtbotLaunchpad bug 1279000 in oslo-incubator "db migrate script to set charset=utf8 for all tables" [High,Fix released]20:16
=== bilde2910|away is now known as bilde2910
=== markthomas is now known as markthomas|away
mgwis it ok to post a link to a job opening here?21:18
=== marcoceppi_ is now known as marcoceppi
=== markthomas|away is now known as markthomas
=== Lcawte is now known as Lcawte|Away
=== nathema is now known as nath|off
=== nath|off is now known as nathema
=== nathema is now known as nath|off
zackifydang nobody talks in here23:07
=== unreal_ is now known as unreal

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