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

MavKendoes anyone in here happen to have ubuntu on a droplet at digitalocean?01:16
zulmed: yep01:40
zuljamespage:  this is the fix: http://paste.ubuntu.com/6229273/02:06
=== freeflying is now known as freeflying_away
Armegedensyntax question: i have ubuntu server and i'm trying to run dynamips in the background with: sudo ./dynamips-0.2.8-RC3-community-x86_64.bin -H 7200 & -----yet when i hit "enter" again after launching it, it closes/stops.04:40
=== Ursinha is now known as Ursinha-afk
=== Ursinha-afk is now known as Ursinha
=== [Batou] is now known as HisaoNakai
=== lau_ is now known as lau
jamespagezul: https://code.launchpad.net/~james-page/nova/havana-rc2/+merge/190797 ready for review; in the interests of speed and due to the fact we already discussed I'll upload in a bit anyway10:48
zuljamespage:  er +1 ;)11:39
=== freeflying_away is now known as freeflying
jamespagezul, ta :-)12:04
zuljamespage:  that patch is overkill but meh12:09
ShapeShifter499hi13:13
ShapeShifter499maybe I have a bad idea of computer clustering...  I was wondering if it's possible to take my two old PCs and connect them together via a network and send things to them as a cluster for processing13:15
ShapeShifter499I'm thinking this would only work for stuff like compiling a program or running a algorithm. But could I use it to speed up other tasks like web browsing and gaming?13:17
TimRHey Guys can anybody tell me the best way to add subdomain onto my ubuntu server?13:48
hitsujiTMOtimR: subdomain for what service exactly?13:48
TimRwhat you mean what service13:49
TimRits under apache13:49
hitsujiTMOapache service then :P13:49
TimRok how do I do it because I forgot how to do it13:50
hitsujiTMOyou need to create a vitual host for it13:50
TimRok13:50
TimRim asking how to do that13:50
hitsujiTMO2 secs13:50
hitsujiTMOok, in /etc/apache2/sites-available/default   is an example virtual host script   .... i would make a copy of that to work with and name it as your domain:  subdomain.domain.com13:53
TimRok its past 2secs lol13:53
TimRok but shouldnt be there like an serveralias?13:54
hitsujiTMOedit it to what settings you want and the ServerName directive is used to specify the subdomain you want it to respond too13:54
hitsujiTMOif you want it to respond to more than 1 domain use ServerAlias to specify the rest.13:55
TimRok13:55
TimRthanks hitsujiTMO that worked13:58
=== freeflying is now known as freeflying_away
=== hitsujiTMO_ is now known as hitsujiTMO
dustinspringmanI am having to login and manually do an "ip route flush cache" to restore routes after they become unavailable (such as ISP failing, etc).. This just recently started happening and is a terrible annoyance.. what could I research to find a solution? the results from google for everything I've typed are all over the place..15:17
wiehanUbuntu server 12.04.3 After some update (unsure what packages) My server is running at a very high load, but cpu usage seems low (99% idle). Everything is slow, I really need some help15:35
dustinspringmanyikes, this channel is soooo dead...15:40
=== TDog_ is now known as TDog
pmatulis_more saucy updates...16:08
wiehanI have a headless ubuntu 12.04.3 server box. After an update, everything slowed down.. painfully slow - I can barely ssh. The system load is high! But CPU usage is low. I do not know how to trace the cause for this and fix this!?17:01
andolwiehan: iowait?17:02
wiehanandol I can't even install new packages (I presume iowait needs to be installed) - everything is too slow..17:04
ikoniawiehan: what runs on the system ? web server ? database ? file server ? etc ?17:06
andolwiehan: Nah, was refering to the concept of the system be slow due to it waiting for i/o response, i.e high load on the hard drive.17:06
andolwiehan: You can use top and see what it shows you for value for wa17:07
wiehanikonia, plex, deluge, samba17:08
andol(but in case you do get the chance to install software, iotop might be of extra interest.)17:08
ikoniawiehan: is this on the public internet, (I assume it is if your torrenting)17:08
ikoniawiehan: an easy solution would be to shutdown all services while you do an analysis17:09
ikoniaI suspect deluge is the problem, but do an investiation17:09
wiehanikonia, andol does this help you? http://bayimg.com/DaaOpAafO17:10
ikoniawell, init isn't very happy17:11
ikoniawiehan: I suspect if you kill deluge it will all spring to life17:11
wiehanlemme see17:12
andolwiehan: Yeah, you seem to be running rather high i/o wise, and ikonia might very well be right in regards to deluge.17:12
wiehanandol, ikonia well that fixed it.. but, it will keep happening everytime I restart. Guess I'll have to remove deluged17:13
ikoniawiehan: just control it more/bettter17:14
ikoniawiehan: limit it's resources, put it on a disk / controller thats not in use, etc etc etc17:14
ikoniawiehan: apply a little bit of thought and you'll probably be fine17:14
wiehanikonia, wish I new how ;)17:15
wiehan*knew17:15
ikoniawiehan: well, all you need to do is ask and talk to people about it17:15
ikoniawiehan: no point not using something because you're too scared to ask for advice17:15
wiehanikonia, let me ask it this way: what would be the best torrening app for a headless server that could be installed and set up via ssh?17:16
ikoniawiehan: I don't see a problem with deluge17:17
wiehanikonia, I killed deluged - but it still isn't nice17:29
ikoniawiehan: reboot your machine again, init certainly doens't look "good"17:29
ikonialets see if the problem persists17:29
wiehan    1 root      20   0 24336 2348 1372 S    0  0.0   0:00.46 init17:30
wiehanikonia, I already restarted, killed deluged and it still isn't looking good - I can't even remove deluge cause everything is too slow17:30
ikoniawiehan: can you type "uptime" and post the output to the channel please.17:31
wiehan19:31:36 up 12 min,  3 users,  load average: 6.09, 5.93, 3.3217:31
ikoniaok, so thats not through the roof17:32
ikoniacan you post the output of the command "free"17:32
ikoniafree -m17:32
wiehanikonia, but I can't "do" anything on the system - it used to be blasing fast17:32
ikoniawell, we can work it through,17:32
ikoniacan you get the ouptut of free -m please17:33
wiehanhttp://pastebin.com/Tehy8LGs17:33
noobsterCan anyone help me with a NFS issue I am having with 2x 12.04 installs? or point me in the right direction?17:34
ikoniawiehan: ok, so it's not shy on ram, which goes back to what andol was suggesting earlier about io17:35
hitsujiTMO_noobster can you please explain the problem17:35
noobsterI am having a strange issue recently with NFS and I am not sure what has chaged or what I am doing wrong. I have used NFS for many years now and have found it to be faster the iscsi.17:35
ikoniacan we have a look at your currnet "top" output please.17:35
noobsterRecently I have had NFS freeze on me for minutes at a time and something never come back. I am not sure if its because networking has become faster or I have started using it wrong.17:35
noobsterMy issue is I have a Ubuntu 12.04 LTS server running in ESXi with 2x2TB drives RDM mapped to /home/shares. I installed nfs-server and am sharing /home/shares/www with a Ubuntu 12.04 server setup to be a exclusive web server that a developer outside our company can access remotely to build a custom server. I have added the NFS mount to fstab and the server boot fine with jumbo frames enabled17:36
noobsterEverything looks good until I start to write files to the NFS mount. It freezes for minutes at a time and then comes back.17:36
noobsterMy /etc/exports file has... /home/windows/shares/www 192.168.0.72(rw,async,no_root_squash)17:36
noobsterfstab on svr0217:37
noobstersvr01:/home/windows/shares/www /home/shares/www nfs nobootwait,rw,async,_netdev,auto,tcp,timeo=14,intr,addr=192.168.0.70 0 017:37
noobsterI dont see any hints in the log files17:39
hitsujiTMO_was there any changes at all before the intermittent failures began?17:40
noobsterI just start to scp files to it or even if I cp files from /var/www to /home/shares/www17:41
noobsterit runs find for a small time then freezes for a long time17:41
noobsterI can still be ssh into the box but can not runn df or du untill it comes back17:42
noobsterrsync will just freeze in the middle of moving files, but none of the files are over 700MB17:43
noobstersvr01 has smb fileshares and they stay online and useable during this NFS freeze17:43
hitsujiTMO_well it does sound like a connectivity issue... could there be an issue with the routers/switch inbetween?17:43
hitsujiTMO_ahh kk17:44
noobsternope they are both in the same ESXi box17:44
noobsterall other services stay online17:44
noobsterdo my export and mount options look compatible?17:45
hitsujiTMO_i would try and cut down some of the options in fstab, you've quite a few that seem excessive17:45
hitsujiTMO_svr01:/home/windows/shares/www /home/shares/www nfs rw,proto=tcp,addr=192.168.0.70 0 017:45
noobsterok brb17:46
noobsteri should still use nobootwait incase t boots with out the NFS server up right17:47
hitsujiTMO_yes17:49
hitsujiTMO_also maybe try: showmount -e srv01    from another machine during the freeze to see if there's any response17:54
noobsternope same thing, I have a file in /var/www that has allot of pic that is 6GB total. I just tried to rsync that folder to /home/shares/www17:54
hitsujiTMO_have you modified any other configs besides /etc/exports ?17:55
noobsterExport list for svr01:17:55
noobster/home/windows/shares/www 192.168.0.7217:55
noobsterfrom both servers17:55
hitsujiTMO_did it respond during the freeze tho?17:56
noobsteryes17:56
noobsternot that I know of, this server has LAMP, jumbo frames & static IP... not much else yet17:56
noobsterssh with another term and if I run df it just sits there17:58
noobsterok after 95 sec df finally runs. Shows the NFS mount, but rsync has not resumed its transfer yet18:00
hitsujiTMO_i think this one is beyond my knowledge i'm afraid ... it is interesting that showmount -e srv01 is responding during the freeze tho, but theres about 4 services involved in nfs so i'm not sure if that response is coming from the nfs core service18:01
noobsterok syslof is showing errors.. I wil pastebin.. brb18:04
noobsterlol syslog.. fat fingers18:05
noobsterhttp://pastebin.com/70S1uW9e18:05
noobsterhitsujiTMO_: does this look like what I need? I have never applied a kernel patch before, thoughts?18:21
noobsterhttps://bugzilla.kernel.org/show_bug.cgi?id=1557818:21
uvirtbotnoobster: Error: Could not parse XML returned by bugzilla.kernel.org: HTTP Error 404: Not Found18:21
noobstersorry it removed the link I think.. https://bugzilla.kernel.org/show_bug.cgi?id=1557818:22
uvirtbotnoobster: Error: Could not parse XML returned by bugzilla.kernel.org: HTTP Error 404: Not Found18:22
hitsujiTMO_what kernel are you on?18:22
noobster3.2.0-54-generic x6418:23
noobsterbugzilla.kernel.org/show_bug.cgi?id=1557818:23
noobsterlooks allot like my issue18:23
hitsujiTMO_njah thats way too old to be related18:24
noobsteron the duplicate bug, it has the exact same issue I am having..  bugzilla.kernel.org/show_bug.cgi?id=1555218:37
hitsujiTMO_noobster ... all you can do if thats the case is file a bug report and see what happens18:53
DWSR_Hey all, looking for a piece of software that I can use to monitor both Windows and Ubuntu boxes.19:52
DWSR_Just looking for basic monitoring, temp, disk status, process status19:52
MAbeeTTI am making some tests with isc-dhcp-client in debian stable and ubuntu 12.04 (provided by default) and I see tha the directive static routes is not taken.19:54
MAbeeTTsi there some reason for this behaivor? technical maybe.19:55
MavKenanyone in here have drupal on ubuntu server?19:58
MAbeeTTBut with the package dhcpcd the directive works. :-/19:59
viper2khi20:17
viper2kI installed on ubuntu 12.04 samba4 pdc. When I want access to the samba pdc I have to add the ip to the dns entires of the ip configuration of windows. After I have done that, I have no access to the internet from this pc, only when I remove this entrie20:19
ikoniaviper2k: what are you using as a resolver ?20:28
viper2kyou mean /etc/resolv.conf?20:29
ikoniano, I mean what service is acting as your dns resolver ?20:30
viper2kI don't know. I have a router with the ip 10.0.0.1 the samba pdc (ubuntu) 10.0.0.10020:33
viper2kwhat do I have to do?20:40
=== hitsujiTMO_ is now known as hitsujiTMO
tasslehoffI tried setting "UseDNS no" in my sshd_config, and can't login to my server anymore. Anything to do besides connecting keyboard and monitor?20:49
crimsonmaneHello. I'm running ubuntu-server LTS on a headless (no monitor) pc. I have a couple questions that are not covered in the guide. First, do daemons run on boot, prior to logging in? Second, how do I add a custom program to load at boot? Note: specifically I'd like the programs to load at boot, not at login. Thanks for reading.21:31
hitsujiTMOcrimsonmane: daemons will run depending on their upstart configuration (e.g., on boot, on interface up, after another service has run, etc)21:33
hitsujiTMO!upstart | crimsonmane21:33
ubottucrimsonmane: Upstart is meant to replace the old Sys V Init system with an event-driven init model.  For more information please see: http://upstart.ubuntu.com/21:33
crimsonmaneMany thanks. I'll give that a read.21:34
crimsonmaneis upstart already included in ubuntu-server LTS or will I have to get it?21:39
hitsujiTMOits all part of it21:44
hitsujiTMOall the service running (networking etc) are all running on upstart21:45
crimsonmaneI've typed 'man upstart' and read the page, but do not see how to "use" it.21:46
crimsonmaneOh, I see on the webpage to make files at /etc/init21:48
hitsujiTMOcrimsonmane: its a little confusing at first but its quite easy once you get used to it21:56
crimsonmanehitsujiTMO: as most things go. I actually just have a one-line command to run supybot on system boot. i'm looking at the existing files at /etc/init and don't yet know how to proceed. waiting for the eureka moment.21:58
hitsujiTMOcrimson do you want it to run at boot, or after network is up or after a specific service is up?21:59
hitsujiTMOyou can be quite specific with upstart21:59
crimsonmaneit would make sense for it to run after networking is established, sure. the command would be "supybot -d /home/user/supybot/filename.conf"22:00
crimsonmaneI do not see on the upstart webpage any comprehensive list of commands, such as when to start. i see in ssh.conf as an example where it says "start on filesystem" and wonder what other "start on" options there are.22:04
crimsonmaneand the upstart cookbook hasn't been created yet22:05
crimsonmanei am afk until further notice. children need attention.22:06
hitsujiTMOcrimsonmane: this should work i think: http://paste.ubuntu.com/6233490/22:06
hitsujiTMOcrimsonmane: sorry, should be http://paste.ubuntu.com/6233498/   made a slight mistake22:09
noobsterHi all! I am having a issue on a new install of 12.04 server x64 trying to mount a NFS mount from another 12.04 server x64. The mount in fstab mounts with no errors, but when I try to copy data onto it it freezes?? I know the nfs-server is running fine because I have a mount in ESXi5 for ISO and caqn copy a 700MB 12.04 iso to that datastore in 10 sec. Any thought on howto troubleshoot?22:37
noobsterhere is the syslog error... http://pastebin.com/upF3TCHd22:40
noobster3.2.0-54-generic x6422:41
Patrickdkall that says is, nfs is really really slow22:54
adam_gjamespage, a couple of minor charm fixes for strange issues i hit related to running with curtin: Pushed to helpers and nova-compute a fix to ensure headers get insatlled and DKMS package.  filed https://code.launchpad.net/~gandelman-a/charms/precise/quantum-gateway/headers_fix/+merge/190844 to fix issues described there. would appreciate your +1 on the quantum merge22:57
lifelessquantum ? :P23:03
adam_gdoh23:06
adam_gsue me!23:06
noobsterPatrickdk: what can be done? I am building a new VM on 12.04 svr x64 now to see if I get the same issue. If no then I will just delete the troubled VM, but if yes then I will need to fix this issue. It doesn't have to be 70-90MBps like ESXi but it needs to be at least 5...23:08
crimsonmanehitsujiTMO: thank you for the script. i've made /etc/init/supybot.conf and pasted the code, rebooted, and it does not start the supybot daemon (confirmed with ps -e | grep supy)23:27
James_EppHey guys. I'm in the process of trying to boot the ubuntu live discs over a network using nfs-kernel-server. Under my /etc/exports I have the following, however when clients boot they continue to give the error message "mount: Protocol not supported". What should I troubleshoot? http://paste.ubuntu.com/6233647/23:34
hitsujiTMOcrimsonmane: you went with the second paste i gave you?23:35
crimsonmaneyes sir23:36
hitsujiTMOwhat is the primary interface? eth0?23:37
crimsonmaneyes23:38
=== freeflying_away is now known as freeflying
crimsonmanesry just watched an epic NE vs NO game. killer winning touchdown couldn't have been any more perfect.23:39
hitsujiTMOcrimsonmane: http://paste.ubuntu.com/6233796/23:45
hitsujiTMOcrimsonmane: i made the change so it loads when the interface goes up instead, incase supybot was exiting as networking may not have brought the interface up in time for the bo23:48
hitsujiTMObot to kick in23:48
crimsonmanehitsujiTMO: it has not worked23:48
hitsujiTMOcrimsonmane: can you verify that it is at least being called by replacing "supybot -d /home/user/supybot/filename.conf" with something like "echo 'foo' > /home/user/bar"23:50
hitsujiTMOobviously replacing user with your actual username23:51
crimsonmanethe username is actually user23:51
crimsonmane:)23:51
hitsujiTMOah lol23:51
hitsujiTMOactually,23:52
hitsujiTMOmodify it to give the full path of supybot executable23:52
hitsujiTMOthats prob the problem23:52
crimsonmaneoh. because supybot is not in PATH23:53
crimsonmanehowever, you asked me to change it so on startup it executes "'foo' > /home/user/bar" and it did not create the file bar23:53
hitsujiTMOyou included echo?23:54
crimsonmanepre-start exec echo 'foo' /home/user/bar23:54
crimsonmanecommented out the supybot line23:54
hitsujiTMOpre-start exec echo 'foo' > /home/user/bar23:55
crimsonmaneoh dear. thanks.23:55
hitsujiTMOanyhow, just go ahead with giving the fullpath to supybot ... i'm positive that was the problem23:55
crimsonmanebar now exists. ok i'll change to include full path23:57
crimsonmaneunfortunately "locate supybot" does not return any results... programs get installed where?23:57
crimsonmanesomething/bin23:57
hitsujiTMO/usr/bin   is most likely23:58

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