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

=== FreezingAlt is now known as FreezingCold
=== markthomas is now known as markthomas|away
IlliteratePhiloshey anybody up for helping a noob learn how to set up a server to host a website I want to make from home?01:47
IlliteratePhilosI really don't know where to start01:47
=== havanami_ is now known as havanamint
=== bilde2910|away is now known as bilde2910
=== kickinz1|afk is now known as kickinz1
FilthyMacNastyhilo ubuntu peeples06:29
lordievaderGood morning.07:25
FilthyMacNastyguten tag lordievader07:29
lordievaderHey FilthyMacNasty, how are you?07:30
FilthyMacNastyhaving a bad computer day07:30
lordievaderDo such things exist?07:30
FilthyMacNastyyes, I had the sewer manager touch today07:31
FilthyMacNastyturns out my partner downloaded our image of 12.04 server from a torrent, the entire sources list said trukty not trusty07:32
lordievaderHehe, that's fun ;)07:33
FilthyMacNasty4 installs and 4 epic failures07:33
FilthyMacNastyso now I'm at the brainbleach07:34
lordievaderFilthyMacNasty: Download an image from Ubuntu itself.07:35
sarnold_.. or at least check the signatures :)07:35
FilthyMacNastylike I said, my partner did it while I was onsite07:36
FilthyMacNastyhe's in a roll of carpet with some quicklime in a hole outside town07:37
lordievaderWas it a reinstall or a new deployment?07:37
sarnold_poor carpet07:37
FilthyMacNastyfortunately 2 were experimental 1 was a laptop for a  user and 1 windows box was being contrary07:37
FilthyMacNastythe windows box has slic 2.1 in the bios, but its hidden by dell and will not authenticate07:39
FilthyMacNastyso I been playing the "remember hex" dance all day07:40
FilthyMacNastyturns out its windows 7 pro slic07:41
Yossarianukhi - just seen 14.04 has another libssl update -> 1.0.1f-1ubuntu2.7 is this just related to the poodle attack or are there other issues fixed also ?08:29
maxbPerhaps you should read the package changelog?08:30
sarnold_Yossarianuk: it also has several DoS fixes: http://www.ubuntu.com/usn/usn-2385-1/08:30
=== markour is now known as suspicious_eek
Yossarianuksarnold_: thanks08:35
=== zz_satyag is now known as satyag
_rubenwhat is the "recommended" HA cluster suite these days? all pacemaker/corosync stuff seems to end with howtos for 12.0409:27
=== nath|off is now known as nathema
=== kickinz1 is now known as kickinz1|afk
jamespage_ruben, pacemaker/corosync is still good09:45
jamespagerbasak, re https://bugs.launchpad.net/ubuntu/+source/websocket-client/+bug/137433509:45
jamespageare you going to chase that?09:45
uvirtbotLaunchpad bug 1374335 in websocket-client "FFe: Sync websocket-client 0.18.0-1 (universe) from Debian unstable (main), juju-deployer 0.4.2, python-jujuclient 0.18.4" [Medium,New]09:46
_rubenjamespage: most howtos mention the cman package, but that's no longer present in trusty. not sure how critical that is tho10:07
roaksoax/w/win 1711:04
dine909does /etc/network/interfaces.d/ work yet?11:31
dine909when i put an interface definition in there it doesnt seem to get picked up11:32
sarnold_dine909: I think you need the source-directory interfaces.d line from interfaces(5)11:32
ochorochlordievader: Hey ... u remember the issue i have? ... it was that misterious SHH login problem ...11:39
ochorochlordievader: as mentioned last time i have 3 Servers running on ubuntu 14.04. Only one had this issue. I just installed TYPO3 (cms, php and mysql) on one of the "as working" considered servers and guess what?11:40
ochorochnext morning that server had the same behavior: No ssh login possible ...11:41
ochorochand the same messages in console ...11:42
sarnold_o_O11:44
sarnold_what messages i nthe console?11:44
ochorochone sec ...11:45
dine9091thanks sarnold_ did the trick11:45
ochorochsarnold_: http://picpaste.com/Bildschirmfoto_2014-10-15_um_08.26.21-QunlBobe.1413359450-tQYnSQ0b.png11:47
ochorochsarnold_: all 3 are virtual Maschines running on HyperV ....11:50
sarnold_dine9091: nice11:50
XpineXHi, I have used targetcli on my server to create an iSCSI target. How do I see the clients that are logged in to that target?11:50
sarnold_ochoroch: interesting. might be worth using sysctl to snyc, umout, reboot, and check the logs for the start of the issue..11:51
ochorochsarnold_: a little more verbose please ... :-)11:55
=== neurotus is now known as Guest63693
sarnold_ochoroch: you can use the magic sysrq key to sync disks (sysrq+s), umount filesystems (sysrq+u), and reboot (sysrq+b), it's not a clean shutdown but shouldn't be too horrible11:56
sarnold_ochoroch: then you can check in /var/log/syslog for hopefully some kind of warning about what locked up11:56
ochorochok ....11:57
cwillu_at_workmagic-sysrq is disabled on new enough ubuntu11:58
cwillu_at_workwhich is annoying11:58
sarnold_argh11:58
sarnold_I forgot :/11:58
ochorochok ...11:58
cwillu_at_worknot sure who to blame for that11:59
dasjoeIt's disabled? I thouhgt it was masked to 17611:59
dasjoeWhat does "cat /proc/sys/kernel/sysrq" return?11:59
cwillu_at_workdisabled enough to be disruptive to me on a daily basis12:01
sarnold_dasjoe: that's the thing, he can't log in12:01
cwillu_at_worklooks like syn, umount and reboot should work though12:02
dasjoecwillu_at_work: sub should still work12:02
cwillu_at_workyeah, but that's not the only use of sysrq :p12:02
cwillu_at_workall sorts of fun telling people "hit alt-sysrq-t and pastebin your dmesg" when trying to troubleshoot deadlocks, only to find that sysrq-t doesn't do anything anymore :p12:03
dasjoeThough probably the most important one ;)12:03
cwillu_at_workdepends on who you're talking to12:03
cwillu_at_workand I still think the security benefits are questionable12:04
cwillu_at_workphysical access outside a kiosk still lets you do the same things12:04
cwillu_at_workand kiosks already require many more manual adjustments12:04
tafa2Can anyone recommend a good SSH app for Mac to organise multiple SSH connections - something a bit more structured than iterm or standard terminal?12:16
=== nathema is now known as nath|off
lordievaderochoroch: Err, please jog my memory...13:11
ochorochlordievader: sorry for the delay ... you want the full story?13:18
lordievaderochoroch: Sure, why not ;)13:18
ochorochi have 3 Ubuntu VMs running on HyperV gen1. ....13:18
ochorochUbuntu Version is 14.04. It just worked. ...13:19
ochorochi had trouble with the disk failing/read-only every now and then ...13:20
ochorochi was able to fix this by installing all the required drivers and such ... doing a full fsck in recovery mode seems to fix this.13:21
ochoroch.. ok... after this i thought "yeah man, i made it" ....13:21
ochorochbut the day after i got this when i tried to login: http://picpaste.com/Bildschirmfoto_2014-10-15_um_08.26.21-QunlBobe.1413359450-tQYnSQ0b.png13:23
ochorochthisw is the current ecisting issue, it occurs after roughly 16 hours .....13:23
ochorochi cant login anymore ...13:23
ochorochssh promts for password, but does not do a thing.13:24
lordievaderAh, right. That screenshot reminds me.13:24
ochorochwhen ic force it to turn on/off again it works ....13:24
lordievaderochoroch: Is your machine swapping heavily at that time?13:25
ochorochno ... its bored ...13:26
lordievaderochoroch: Appearantly those type of messages are given when it does not respond.13:26
ochorochno swap at all ...13:26
lordievaderHeavy io wait?13:26
ochorochin addition: coz of the fact the other 2 machines seemed to work well for 2 weeks now i decided to put a website (TYPO3 CMS: php and mysql driven) on one, the same happend the this maschine ...13:26
ochorochlordievader: io wait, i'll check my stats ...13:27
sarnold_hmmmm, I remember seeing some bug with vmware not writing zeros properly...13:27
ochorochlordievader: io wait seems normal ...13:28
sarnold_a -little- iowait is normal, 120 seconds is lunacy :)13:28
sarnold_here's the bug I was thinking of, https://bugs.launchpad.net/ubuntu/+source/linux/+bug/137159113:28
uvirtbotLaunchpad bug 1371591 in linux-lts-trusty "file not initialized to 0s under some conditions" [Undecided,Confirmed]13:28
ochorochsarnold_: ok ...13:29
sarnold_ochoroch: just skim it, see if it looks familiar to you..13:30
ochorochsarnold_: yep ...13:30
ochorochsarnold_: ok ... i "think" i need to install https://bugs.launchpad.net/ubuntu/+source/linux/+bug/137159113:33
uvirtbotLaunchpad bug 1371591 in linux-lts-trusty "file not initialized to 0s under some conditions" [Undecided,Confirmed]13:33
ochorochsorry install these guys; http://people.canonical.com/~arges/lp1371591/13:34
ochorochi'll give it a go ....13:34
sarnold_ochoroch: good luck :)13:35
ochorochjust made a "snapshot" ....13:35
ochoroch:-P13:35
ochorochbut thanks! ...13:36
rbasakjamespage: re: bug 1374335, not currently. Sorry, I should have made it clear that from the juju-quickstart end, they aren't chasing the release team and are OK with it slipping to V.13:49
uvirtbotLaunchpad bug 1374335 in websocket-client "FFe: Sync websocket-client 0.18.0-1 (universe) from Debian unstable (main), juju-deployer 0.4.2, python-jujuclient 0.18.4" [Medium,New] https://launchpad.net/bugs/137433513:49
NelsonMinarhow do I debug a problem with udev and my ethernet device being named /dev/p4p1 instead of /dev/eth0? /etc/udev/rules.d/70-persistent-net.rules is being ignored, maybe because I installed udevname?14:02
NelsonMinarit's a remote server without console access, so getting this wrong is.. awkward. already had to call in the remote admin once.14:02
patdk-wkheh? it's not something you debug14:03
patdk-wkthat is *working* as designed :)14:03
NelsonMinarI'm confused as to why it's named /dev/p4p1 when the file in /etc/udev/rules.d says to name it eth0. I think the presence of biosdevname may be causing that, but I'm not sure and am confused by the docs.14:03
patdk-wkwell, uninstall it14:05
patdk-wkupdate your initramfs14:05
patdk-wkand reboot14:05
NelsonMinarpatdk-wk; I'm not in a position to do experiments (no console access). is how biosdevname interacts with device naming documented somewhere you know of?14:06
patdk-wkin the manual :)14:06
patdk-wkhttp://manpages.ubuntu.com/manpages/saucy/man1/biosdevname.1.html14:06
patdk-wkbut it's used on startup14:07
NelsonMinaryes thank you, I've read that a few times. It does not describe how ubuntu's boot process uses it. If you don't know the details on how this stuff works, that's OK, was hoping someone here did.14:07
patdk-wkuninstall it, update initramfs (or it will still exist)14:08
patdk-wkand reboot, then it's gone, and not renaming14:08
patdk-wkthe issue is, udev works14:08
patdk-wkdevice made, eth0, udev sets it to what it should14:08
patdk-wkthen biosdevname changes it again14:08
NelsonMinaris the way biosdevname interacts with udev documented somewhere? it's not the man page you linked.14:10
patdk-wkI don't know that it even interacts14:10
PiciTheres a mention of a udev rule in the biosdevname package description.14:11
patdk-wkhmm, don't have biosdevname installed anywhere14:11
NelsonMinarPici: thanks! that's helpful. it installs /lib/udev/rules.d/71-biosdevname.rules14:11
patdk-wkso it's 7114:12
patdk-wkso change it to be a lower number?14:12
patdk-wksince the persistant net naming is 7014:12
ochorochlordievader: sarnold_: installed kernels and friends as suggested in the ticket. straight away notices ssh login is faster and smoother ....14:14
ochorochi gotta wait till monday and report back! ....14:14
ochorochlordievader: sarnold_: thanks ! ... really appreciate your help....14:15
NelsonMinarheh, here's a bug saying the Ubuntu Server guide has not been updated for 14.04, with how ethernet device naming works. https://bugs.launchpad.net/serverguide/+bug/131278514:19
uvirtbotLaunchpad bug 1312785 in serverguide "ethernet Interface naming has changed" [Undecided,Confirmed]14:19
NelsonMinarread more; I think installing biosdevname caused my device to be renamed in udev and now the old /etc/udev/rules.d/70-persistent-net.rules is being ignored. gonna do some more tinkering and then reboot, will update that Ubuntu bug for the record. I think new 14.04 installs may work differently from do-release-upgrade systems.14:26
MasterRoot24I have `CustomLog ${APACHE_LOG_DIR}/example.com_access.log combined` in an Apache vhost config, however I am only getting the string "combined" logged to the log file on each request. Anyone have any ideas why this would happen?14:56
NelsonMinaris "combined" defined as a log format? Relevant docs: http://httpd.apache.org/docs/2.2/mod/mod_log_config.html#customlog14:58
rbasakMasterRoot24: have you defined what "combined" means in a LogFormat directive?14:58
rbasakYeah, what NelsonMinar said :)14:58
MasterRoot24rbasak: Possibly not, I'll check!15:00
MasterRoot24NelsonMinar: rbasak: Thanks guys - turns out someone had commented out the respective LogFormat lines. Uncommenting those lines fixed the problem.15:08
NelsonMinar\o/ hooray15:08
NelsonMinarlast comment about my udev drama: system rebooted fine. I removed the 70-persistent-net.rules that was being ignored. it appears simply installing biosdevname is enough to cause devices to be renamed next time you boot.15:35
patdk-wkthat was a given :)15:39
NelsonMinarand yet it's not documented anywhere. I updated the bug.15:40
=== Lcawte|Away is now known as Lcawte
=== kickinz1|afk is now known as kickinz1
=== kickinz1 is now known as kickinz1|afk
Guest83311ciao non vedo un disco SCSI su un server. Ho lanciato il comando parted -l e mi ha restituito questo -> http://paste.ubuntu.com/8580059/17:01
lordievader!it | Guest8331117:02
ubottuGuest83311: Vai su #ubuntu-it se vuoi parlare in italiano, in questo canale usiamo solo l'inglese. Grazie! (per entrare, scrivi « /join #ubuntu-it » senza virgolette)17:02
=== havanami_ is now known as havanascode
=== markthomas is now known as markthomas|away
phillwHi, any ubuntu-server admins about? F.Y.I. bug 1380774 has a fix, but note 20141017 Ubuntu Server does NOT have the right version of apt. A release manager needs to check that apt is version 1.09-2ubuntu2 and then ask for a respin.18:20
uvirtbotLaunchpad bug 1380774 in apt "debian-installer does not find kernel" [Unknown,Fix released] https://launchpad.net/bugs/138077418:20
* donspaulding prepares to quote himself from the main #ubuntu channel21:01
donspauldingHi there, I'm using n2n to setup multiple VPN interfaces on a single host.  I would like to use avahi/mDNS to broadcast a different hostname tied to a different IP address on each device.21:01
donspauldingFor example, if I have a 'prodvpn0' interface and a 'testvpn0' interface, each with their own IP (assigned by avahi-autoipd), how can I have avahi-daemon broadcast the mDNS hostname as mybox.testvpn.local on the testvpn0 interface and mybox.prodvpn.local on the prodvpn0 interface?21:01
donspauldingI tried creating individual upstart scripts pointing to different avahi-daemon.conf files, but avahi-daemon refuses to start when it detects a running daemon.21:01
semiosisdonspaulding: are you using an 'instance' stanza in your upstart jobs?  http://upstart.ubuntu.com/cookbook/#instance21:25
semiosisdonspaulding: one upstart job, using an env var for the config file & the instance line21:26
semiosismight do the trick21:26
semiosisif it's just an upstart issue21:26
semiosissounds like it's not though21:26
donspauldingsemiosis: I hadn't seen instance before, thanks for pointing that out.21:30
donspauldingsemiosis: but your guess is correct, it's not an upstart thing.  In this case, the avahi-daemon process is looking around for other running processes after upstart spawns it, but before it begins functioning.  If it finds another avahi-daemon process, it bails out.21:31
=== xtriz__ is now known as IIT
=== bilde2910 is now known as bilde2910|away

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