[00:00] yes [00:00] when you change the dns, you would also adjust the redirect [00:00] I am assuming each webserver is a dns server though [00:00] for routing issues [00:00] In certain cases, such as my own, when streaming audio over HTTP, not all clients support multiple (or in rare cases, any) redirects, the only option is DNS based [00:00] that way some of the internet can use one, and some of the internet hits the other [00:01] yes actually the one is a master and the other a slave but i can turn them both as masters [00:01] Patrickdk: I gave DNS as the first option, a web server based redirect is the second [00:01] yes, but no reason you can't use both together :) [00:01] A third web server redirecting instead of using DNS changes will emilinate any downtime [00:01] But is not always suitable [00:01] and then add bgp anycast on top :) [00:01] personally I normally do bgp anycast -> loadbalancers -> bankends [00:02] Not everyone is in a position to use anycast :) [00:02] bgp anycast hmm never hear till yet. thing is i dont want to balance i want to cascade aka use allways server 1 in case server 1 shutdown use server 2 [00:02] I'd love to use multicast, but my country not so much [00:02] then your stuck doing dns [00:02] So YMMV [00:03] IPv6 FTW! [00:03] what? mobileip works? :) [00:03] mobileip could so solve this :) [00:03] IPv6 should be mandatory for all services [00:03] yeah dns is then the thing to go. thanks a lot for your suggestions. [00:04] xperia: Good luck [00:04] 2am, good time for a breakfast break.. then back to work [00:19] hi. I have Ubuntu 10.04 LTS server and need to use debootstrap to build a machine with Trusty 14.04 LTS. i tried soft linking gutsy to trusty in /usr/share/debootstrap/scripts but it says it's not a valid suite === arrrghhh is now known as arrrghhhAWAY [01:14] hi all how to remove all java stuff? http://pastie.org/9432985 cant :( [01:16] jak2000: try this: sudo dpkg --purge openjdk-6-jdk openjdk-6-jre openjdk-6-jre-headless openjdk-7-jre openjdk-7-jre-headless openjdk-7-jre-lib sun-java5-jdk sun-java6-jdk [01:17] sarnold ok [01:28] sarnold: http://pastie.org/9433006 not worked [01:29] continue allmy javastuff on my ubuntu server [01:30] jak2000: great -- re-run the command with "icedtea-6-jre-cacao openjdk-6-jre-lib default-jre-headless icedtea-6-jre-jamvm icedtea-7-jre-jamvm" added to the end [01:32] ok, rerun... [01:35] sarnold: http://pastie.org/9433017 same or similar result :( [01:36] jak2000: this is normal :) now add "ca-certificates-java libcommons-dbcp-java tomcat7-common" to the command :) [01:39] http://pastie.org/9433020 :( [01:40] jak2000: add openjdk-6-jre-headless libtomcat7-java :) [01:41] hello I am having an odd issue. I have gone through every issue I can find on google regarding networking for ubuntu server 12.04 but I can't ping from this server to an IP or even the gateway. I am able to ssh into it though and access the webserver it runs. [01:42] I have tried using static and dhcp to no avail. [01:43] eatingthenight: do you get error messages when you try to ping the gateway's IP? [01:43] no it will just hang I have left it for about 10 minutes and it just hangs. [01:44] sarnold: http://pastie.org/9433029 [01:45] jak2000: openjdk-6-jre-lib :) [01:47] eatingthenight: hunh, that's odd. [01:47] yeah i know it's very strange. [01:48] I have never had this before. Server has been running great for 2 years. [02:01] Say, my friend is trying to set up a remote desktop experience on an Ubuntu Server. He is trying to provide a remote desktop experience, but apparently there are access problems that allow shutdown of the server which he wants to preclude and cannot. Any suggestions? [02:02] I know from experience that Gnome is less than comfortable on server for my tastes, but that may not be pertinent to this. [02:04] Typically my friend provides remote user access to servers for shell, but not root access at all. [02:04] sarnold: http://pastie.org/9433049 [02:07] jak2000: nice. that's probably all of them :) [02:07] xeno_: I think what you need is in /usr/share/polkit-1/actions/org.freedesktop.consolekit.policy [02:10] xeno_: oh. this looks more useful: http://askubuntu.com/a/251942/33812 [02:11] Yes, but he wants to make shutdown require an admin password. Hmm. [02:49] any recommended open source control panel for 14.04? [02:52] what do you want to control? [02:52] for the entire server? [02:55] yes [02:55] cpanel ..not zpanel [02:56] cpanel replacement === CripperZ- is now known as cripperz [03:17] MavKen so you just want something for your database? or do you have a server that is running everything? [03:18] I have a small hosting business.. I use cpanel to add new clients and them have access to a cp [03:18] I just didnt like zpanel [03:18] and don't want to pay for cpanel anymore [03:19] since most of them use wordpress, a bash script to create a new user, create db user, install wp would be sweet...but I don't have experience with that [03:20] MavKen: the juju wordpress charm may have some ideas you can mimic [03:43] sarnold hi friend are you there? [03:44] hey jak2000 :) it's almost time for me to quit for the night.. [03:44] waita moment please [03:46] see please: http://pastie.org/9433133 [03:47] jak2000: yes? [03:47] this files, deleted? manually? [03:47] or not problem? [03:48] jak2000: everything in that directory is cached downloaded packages -- keep that directory in mind, it can be very very helpful :) [03:49] ok [03:49] jak2000: if you need disk space, you can delete them. but they don't bother anything [03:50] now i can install: apt-get install openjdk-7-jdk right? [03:51] sarnold can you give me a favour? paste me the last link, before i am discnnected,thanks(i want documment my problem) thanks [03:52] jak2000: http://pastie.org/9432985 http://pastie.org/9433006 http://pastie.org/9433017 http://pastie.org/9433020 http://pastie.org/9433029 http://pastie.org/9433049 http://pastie.org/9433133 [03:52] thx [03:52] goodnight [03:52] nn :) [03:53] ok installing now openjdk-7 === arrrghhhAWAY is now known as arrrghhh [04:17] sarnold beeautiful,,, with your help [04:18] see please: http://pastie.org/9433163 [04:18] no errors now [04:18] jak2000: nice :) [04:18] jak2000: scorched earth never looked so good [04:19] before your help i cant shutdown the tomcat service.... === arrrghhh is now known as arrrghhhAWAY [06:17] hi guys wrote a preseed file, getting from utc for some reason [07:53] for 1gb ram, any reason to get 64bit on vps? === psivaa is now known as psivaa-brb [08:07] I'm trying to understand why the alembic package in ubuntu isn't a straight sync and what change Ubuntu has atop of the upstream version. http://paste.ubuntu.com/7912454/ [08:08] rbasak, I know it's not patch Friday but if you have a sec at some point ^ === psivaa-brb is now known as psivaa === ashleydrees is now known as TDNL === support is now known as Guest46915 === Guest46915 is now known as TDNL_Support === cripperz is now known as CripperZ [08:51] hi all, how to open a port on ubuntu-server? [08:52] jak2000: define "open" ? [08:52] telnet 162.252.243.81 8080 connection refused... [08:54] jak2000: Do you control 162.252.243.81 ? [08:54] i want thee users can access: http://mydomain.com:8080 understand me TJ-? [08:54] yes [08:55] jak2000: OK, what firewall control are you using on that server? [08:55] the default i have 14.04 version [08:55] jak2000: the manual way would be to add a rule using iptables, but that won't stick across reboots unless you have some form of firewall manager, such as "ufw" or "shorewall" installed [08:56] ithink ufw [08:57] sudo ufw allow 8080/tcp and sudo ufw reload ? [08:57] jak2000: Then you'd need to add a rule using UFW to allow port 8080 TCP [08:58] mmm not opened :( [09:00] jak2000: what process is listening on port 8080 ? [09:01] jak2000: if no process is listening, having the port allowed in the firewall won't change anything [09:01] ok [09:01] now opened :) === a1berto_ is now known as a1berto === shauno_ is now known as shauno === CripperZ is now known as CripperZ- [11:14] morning [11:54] ok that's enough triage of really old bugs for one day... [11:54] pm-utils I love you [11:59] me? ;) [12:15] patdk-wk: btw, your theory that enterprise drives don't have these smart counters doesn't seem right. the two root drives connected to local sata ports are also seagate constellation, enterprise drives [12:43] my definition of enterprise disks was, ones that talk scsi, and non-enterprise talk ata [12:43] generally that means sata=ata and sas=scsi [12:43] now, if a manufacturer, say it's enterprise, but still talks ata, heh [12:45] if the disk talks sata, you get attributes and thresholds [12:45] if the disk talks scsi, you don't === Pici` is now known as Pici [13:18] hi guys, I'm upgrading to VMs from 13.10 to 14.04.1 LTS with do-release-upgrade, and both have been sitting at "Installing new version of config file /etc/pam.d/sshd ..." for the last half hour, I can still SSH into both, any ideas? [13:19] hi [13:21] JediMaster: woof, try http://serverfault.com/questions/321520/ssh-connection-lost-during-server-upgrade-how-to-reconnect-to-process [13:21] pmatulis, it's not lost the conenction, but thanks [13:21] having an ssh pam change during an upgrade is nasty [13:22] JediMaster: i know, try it anyways, the upgrade may be continuing and you don't know it [13:22] pmatulis, it's still connected to the ssh & do-release-upgrade, I can type and see characters come up [13:22] JediMaster: the key is to try reconnecting to the screen/byobu session [13:23] that never works for me [13:23] screen -list returns: "No Sockets found in /var/run/screen/S-root." [13:23] screen -x and byobu do not reconenct to it either [13:23] I am really still conencted anyhow [13:24] may be using tmux? dunno. need to try it myself === ValicekB_ is now known as ValicekB [13:24] tmux ls [13:24] failed to connect to server [13:25] can you view logs? [13:25] I can see this running however: screen -e \0\0 -L -c screenrc -S ubuntu-release-upgrade-screen-window /tmp/ubuntu-release-upgrader-n_ottj/trusty --mode=server --frontend=DistUpgradeViewText [13:26] maybe use some byobu command? [13:26] i don't use byobu, but tmux directly [13:26] byobu -r ? [13:27] you must do it with the root account i think [13:27] I am [13:31] Hello [13:31] I am attempting to use OpenVPN with my server but it will not function is the firewall is enabled, even though port 1194 is allowed [13:31] *if [13:43] When trying to start cpufrequtils, I get "disabled, governor not available...", googling this issue just returns tons of questions with no solutions. The most informative thread I found says that someone was able to fix it by downgrading to an older kernel, and that the newer kernel is bugged and the devs do not want to fix it [13:44] But that was in 2011, I've used newer kernels on other boxes just fine [13:44] So does anyone know how I can check if the reason cpufrequtils is due to hardware, such as an incorrect bios setting? [13:45] *the reason cpufrequtils is failing [13:53] hi, does the cron's string @reboot work on Ubuntu-server? [13:53] ed8: yes [13:59] Pici: are you aware of http://unix.stackexchange.com/a/109805/17362 [14:00] ed8: curious... I recall it working at some point. [14:01] I don't have an Ubuntu system I can reboot here to test with though... [14:02] at some point? [14:02] it has always worked [14:03] patdk-wk: did you read the thread I linked to? [14:03] yes, but nothing in that thread matters [14:04] there is a lot of speculation and references to other people [14:04] nothing referencing any bug reports, issues, or problems [14:04] ed8: why not simply test it? [14:04] pmatulis: that's why I'm here [14:04] I tested, it doesn't work [14:04] what version of ubuntu? [14:04] here is my crontab content: https://gist.github.com/edouard-lopez/b45c524c26b8ffecc576 [14:04] 14.04 [14:05] + cron 3.0pl1-124ubuntu2 [14:06] works fine here on 14.04 [14:06] my bad, my path to the scripts is incorrect [14:08] works fine here too (14.04) [14:08] ed8-- [14:09] smb: utlemming : we can discuss bug 1350522 here when you get a chance. [14:09] Launchpad bug 1350522 in linux "EC2 kernel crash due to vmalloc" [High,Confirmed] https://launchpad.net/bugs/1350522 [14:10] thanks :) [14:14] hm... I beleive I asked here earlier, but I can't find it in the logs. Is there a simple way to enable disk LEDs for broken disks? IIRC there was something under /sys somewhere === wickedpuppy2 is now known as wickedpuppy === arrrghhhAWAY is now known as arrrghhh === Xbert is now known as Guest60818 === matsubara is now known as matsubara-afk [14:42] RoyK: that should be possible, if your disk is in an enclosure with a lsi expander you get "/sys/class/enclosure/SOME_ID/Slot\ 01/" and can echo to "fault" or "locate", "echo 1 > /sys/class/enclosure/1\:0\:21\:0/Slot\ 01/fault" turns on a red light for me [14:51] dasjoe: any idea how I can map device names to a slot without a manual lookup? [14:56] hi, how would I upgrade security packages only? [14:56] sorry I worded that wrong, I'm looking to just do security updates. [15:00] bitfury: I'd use unattended-upgrade from the unattended-upgrades package. By default it runs security upgrades daily, which you can disable if you want to run it manually [15:01] yeah I would like to run it manually, I'll look into it thank you [15:04] bitfury: use the -security repo only? [15:09] pmatulis: guess that could be an option as well [15:09] :) [15:10] Hi all.. I think I found a kernel regression in ubuntu 12.04. I was tracking down why in kvm and virtualbox the console resolution is 640x480 when I set it to 800x600 in /etc/default/grub with kernel 3.2.0-67-generic.. when I booted 3.2.0-48-generic the console was the correct resolution. [15:32] How can I check total disk size versus total disk usage/availability as with df -H? [15:32] Or, does dh -H give that info and I just am failing to read it correctly [15:32] df -H* [15:38] #24 on https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/699802 seems to do the trick for me.. huzzaaa! [15:38] Launchpad bug 699802 in grub2 "error:: no video mode activated" [Medium,Confirmed] === matsubara-afk is now known as matsubara === psivaa is now known as psivaa-bbl [16:03] hi all, having a problem with Kerberos + LDAP, i can obtain krb tickets just fine and my user exists in ldap, however trying to login over ssh fails, logs are visible under; http://pastebin.com/BDCDFS2J [16:04] kerberos is embedded with pam and nss is configured to use ldap === sarnold is now known as Guest42067 === sarnold_ is now known as sarnold [16:23] HI, I'm having a problem with my 12.04 ltsp server. [16:23] HTOP shows the cores are constantly between 80 and 100%, but no processes are showing high cpu usage [16:24] I've posted a screenshot on Ubuntu forums here: http://ubuntuforums.org/showthread.php?t=2237048 [16:24] Anyone seen this sort of behavior before? It's just started recently, this server's been running for years without problems. === psivaa-bbl is now known as psivaa [16:31] lykwydchykyn, ick. have you tried 'atop'? [16:31] also, are you running with sudo [16:31] I've tried sudo, but not atop [16:31] I'll try it presently [16:32] lykwydchykyn: "The administrator may have required you to register before you can view this page." [16:32] sarnold, sign in [16:33] lykwydchykyn, atop will show stuff like IO so if you have a disk going nuts [16:33] hooray, the single-sign-on actually worked :) [16:35] I'm trying to parse through the output of atop [16:35] lykwydchykyn: can you pastebin ps auxw output? [16:36] http://pastebin.com/8c9fFgwb [16:37] lykwydchykyn, screenie of atop too if you have time :) [16:37] it should highlight any "issues" if youw ill [16:39] http://imgur.com/TUvO1sM [16:40] The disk usage doesn't look high, but I'm not sure what normal would be [16:40] hm ya it all seems processor bound [16:41] ran with root on atop as well yes? [16:41] Yes [16:41] the easiest way to chew up that kind of CPU time without it showing up in ps or top or similar is to have a few forkbombs running where the parent immediately exits after spawning a child; no process lasts more than a few miliseconds but there's thousands of them born and killed each second [16:42] My ltsp users keep running ps all the time, is that normal? [16:42] lykwydchykyn, the other thing I can think of is back in htop, have you tried sorting by "time"? see if there is a process that's staying up? [16:43] lykwydchykyn: seems unlikely... [16:43] the top process for time is a python process running twistd, seems to be related to epoptes [16:44] It has 9:06:53 for TIME [16:44] :/ [16:44] Not sure what killing it would do [16:45] nine hours of CPU time for a heavily used service isn't too surprising.. [16:45] ya I don't think that's it [16:48] wish I knew what was running ps all the time. Is there a way to see parent pids in something like top? I couldn't find it in the man page [16:49] The processes disappear to quick to inspect their /proc folders [16:50] lykwydchykyn: hit 'f', arrow down to ppid, hit space, then q [16:52] Hrm. It's my xsession script [16:53] lykwydchykyn: if you're up for some work, you could install the auditd package, use auditctl to load syscall auditing rules and audit the 'clone' system call. if my guess is right, the logging will be horrendously quick, so be prepared to turn off the logging again before you run the command :) [16:53] lykwydchykyn: oooo [16:53] I have a line in there that checks to see if the browser is already running, and if not, it runs it. [16:53] But it should only run if the browser is closed, which shouldn't happen really at all... [16:54] lykwydchykyn: can you pastebin your xsession? [16:56] http://pastebin.com/nSa7XpCW [16:56] It's the same one that's been used for a while [16:58] lykwydchykyn: if you run wcgbrowser in a terminal, do you get your prompt back quickly? or do you have to kill the browser to get your prompt back? [16:59] You have to kill the browser [16:59] It should block [17:00] lykwydchykyn: dang. [17:00] lykwydchykyn: well, I mean, that's good, but it means I don't spot the easy answer :) [17:00] :) yeah [17:01] hi sarnold thanks for your help [17:01] I can't remember why I had to do the ps thing, it's been a while (I should comment these things). Maybe I can just take that bit out. [17:02] I have to run for a bit; thank you sarnold and arrrghhh [17:02] I'll check back if anyone has any ideas... [17:03] lykwydchykyn: hrm. good point. take out the ps | grep .. [17:04] lykwydchykyn: another option is to take out the "keep it running" thing entirely -- let xsession end when the browser dies or is closed, and restart the session some other way [17:07] sarnold you develop? [17:08] jak2000: not much; I audit, complain, and sometimes fix :) [17:10] oo interesting then your specialization is SYSADMIN? [17:11] jak2000: no, security :) === arrrghhh is now known as arrrghhhAWAY === DalekSec_ is now known as DalekSec === _KaszpiR__ is now known as _KaszpiR_ [18:24] Hey all [18:32] I think I may have figured something out [18:32] My LTSP users seem to have two .xsessions running [18:53] The clients get rebooted every night, but the old sessions stay running; since they can't run the browser without the client attached, they just loop ps forever [18:53] I'll just add something to kill all the client sessions after the reboot [18:54] lykwydchykyn: I really think you'd do better to take out the while true .. bit === a1berto_ is now known as a1berto [19:01] Yeah, but I need these to respawn if the browser gets closed for some reason [19:01] lykwydchykyn: can't you just let the xsession die and then have the session manager restart the whole thing? [19:01] I suppose so; it just takes that much longer [19:02] But all in all, it's probably a better appraoch [19:02] I'll test that on my dev system [19:03] I've been killing off the superfluous .xsessions, the effect on the cpu usage is dramatic [19:23] OK; infinite loop is axed. I think this will be more stable now. We'll find out in the morning! [19:23] Thanks again for all the help! === markthomas is now known as markthomas_lunch === mjohnson151 is now known as mjohnson15 === arrrghhhAWAY is now known as arrrghhh === markthomas_lunch is now known as markthomas [22:25] Hey folks. I just had my dedicated server host install ubuntu-server for me. I didnt specify a regular user, and it seems that ubuntu doesnt allow my root login by default [22:25] is there any way for me to get in without re-loading ubuntu and specifying a normal user this time? [22:27] apparently I can use the "ILO" to login as root, but I have no idea what that is [22:30] ILO is HP for remote console [22:36] Ok, I got that working. thanks. === mikal_ is now known as mikal [22:53] anyone know any good cloud server providers besides digitalocean? [22:53] good/cheap [22:54] jiffe98: hetzner.de is popular, I'm not sure if I'd call them "cloud" though.. [22:58] hetzner has been good to me [22:58] I need to do a refresh sometime [22:58] server has been running there for 5 years without ever being offline [22:59] wow [22:59] it runs kindof like tbp :) [22:59] it's just a proxy server, no disk usage or anything [22:59] just ipsec back to the real server [23:00] tbp? [23:01] tpb :) [23:03] ahhh :) === edwardly_ is now known as edwardly [23:54] anyone in here used Virtualmin/Webmin?