[00:00] gartral: the first one will go a long way if your processes all need consistent accesses but don't have a common primary group in common [00:00] gartral: but if one user has umask=0077, it won't help :) [00:02] sarnold: my issue is that I have a folder /home/minecraft/plugins and I can read/write to *THAT* folder, but when I add a plugin too the server that plugin makes a new subdirectory there in which I only have read access.. meaning I have to contact the Server Owner to have her fix the perms each time I add a new plugin >.< [00:03] we both agree that this is becoming a PiTA. [00:03] and I'm in the minecraft group on that machine [00:04] gartral: how are the plugins run? does the minecraft server start them? [00:04] sarnold: yes, on load [00:05] gartral: is the directory created at load time? or during an install mechnaism? [00:05] adam_g: ill have a look [00:06] which means that stop/starting the minecraft server process loads the plugins in /home/minecraft/plugins, most plugins as part of their initial load create a new subdir containing all of the configureation information for the plugin [00:06] and I'm sick today, so if my spelling is a little screwy, i apologize [00:09] dangit, i have a fix for GarretKajmowicz [00:09] oh? [00:10] sarnold: yea, bootchart. it'll profile the boot proccess and let him see where the boot failed [00:10] gartral: it might be hard without a rw filesystem.. === freeflying_away is now known as freeflying [00:11] sarnold: this is why my /log partitions are always on an NFS share :P [00:11] gartral: haha :) nice, but he's stuck even without a / ... [00:11] sarnold: but back to my issue, any thought? [00:12] sarnold: ohh.. ewww.. his kernel just isn't loading right, huh? [00:13] gartral: hrm, I'm having trouble finding his pastebin of dmesg.. here's his askubuntu question: http://askubuntu.com/questions/307509/upgrade-to-12-04lts-dumps-to-busybox-on-boot [00:13] gartral: I'm surprised the plugins would execute as your user, rather than a minecraft user.. [00:14] ah, here we are, his failed boot dmesg: http://pastebin.ca/2455008 [00:15] gartral: is there a dedicated minecraft user account? is that user acccount starting the minecraft server? [00:16] sarnold: yes and yes [00:21] gartral: hrm. well, you can try the setgid thing easily enough, 'chmod g+s /path/to/directory/' -- I'm not sure why it doesn't Just Work, but I'm not familiar enough with minecraft to know what to look for. [00:22] sarnold: it's not a minecraft specific issue, this happens with all folders in that directory no matter what made them [00:26] gartral: can you get an ls -ld /home /home/minecraft /home/minecraft/plugins output? I'm curious about user/group/permissions.. [00:31] ls: cannot access /home/minecraft/plugins: No such file or directory [00:31] drwxr-xr-x 5 root root 4096 Sep 16 19:23 /home [00:31] drwxr-xr-x 8 minecraft users 4096 Sep 18 15:17 /home/minecraft [00:31] oops [00:32] thought I had my browser focused [00:33] no /home/minecraft/plugins ? how odd.. [00:43] sarnold: sorry, stand by [00:44] sarnold: http://paste.ubuntu.com/6130558/ [00:46] gartral: looks sane enough... you might try: chmod g+s /home/minecraft/unl-testing/ /home/minecraft/unl-testing/plugins/ [00:47] that'll set both those directories to force new directories and files created within to have 'minecraft' group ownership. it's a start. :) [00:58] sarnold: should that be run as root or my user? [00:58] gartral: it could either be run as the minecraft user or as root [01:00] sarnold: that still doesn't fix my access [01:01] gartral: hrm, ls -ld on the newly created directories and maybe ps auxw | grep minecraft ... or whatever the server runs as.. [01:01] sarnold: does that chmod a+s fix already created directories? [01:02] gartral: no, just new directories and files [01:02] gartral: do you have any currently-existing 'broken' directories? [01:02] ls -ld on them would be helpful too.. [01:02] sarnold: yes, about 12 [01:03] sarnold: yea, they just "fixed" it by chmod 775 /home/minecraft/unl-testing [01:04] sarnold: well, nvm then [01:11] I'm back, now with a dedicated IRC client. [01:26] GarrettKajmowicz: so your server isn't mounting / at all? [01:38] GarrettKajmowicz: gartral suggested trying bootchart, there may be a mechanism it provides to discover how far through boot you get before you're hung up, and it might provide some way to get the data off the system .. === jtv1 is now known as jtv [03:47] Hi, do you know how can I connect to my c$ windows partition from ubuntu cmd? [03:47] They are in the same LAN. [03:49] Hello? [04:35] i cannot ssh from outside my network. canyouseeme.org sees my port, port forwarding is on. i dont know what to do. help please. [05:49] what doss attacks are still with no solution and i should be prepared for defending? === kenneth is now known as Guest65934 [05:56] roundcube sucks that all i have to say ... [05:57] i started getting a red 0 in front of my prompt in byobu. some how i triggered it. any clue on what it is [06:02] I see that also today 12.04 lts server not sure it went away itself tho--- hummm [06:07] i think there exit codes [06:17] Quest: there are hosting providers with unbelievable amounts of bandwidth available, e.g. cloudflare. If you're worried about the reliability of your site even in the face of modern DDoS attacks, it'd be worth having a conversation with them before you need their help. [06:28] hm [07:55] Hi everyone. I have an ubuntu server acting as a DHCP server. I changed the gateway address. Now machines randomly receive the old or new gateway. DHCP config only contains the new address (dhcp service was restarted many times just in case). Any idea of why that can happen? [08:00] foubarre, restarted on server? let clients PC restart [08:01] linocisco: restarted the server, restarted client machines too. Does that since yesterday. [08:02] linocisco: on the PCs, doing "ipconfig /renew" returns a mix of old and new gateway. Does the same on OSX so i excluded a local caching problem. [08:03] Hey. I'm trying to figure out why nginx and PostgreSQL don't start on system boot. Where do I start? [08:03] Other stuff like PHP-FPM *do* start. [08:30] elnur: Do they start correctly without errors when you start them manually? [08:31] elnur: If so, make a service start at startup with: sudo update-rc.d SERVICENAME defaults [08:33] Rory, yes. [08:33] Let me try that. [08:34] Rory, it says: System start/stop links for /etc/init.d/nginx already exist. [08:40] What else should I try? === kenneth is now known as Guest44556 [09:11] hi === Nickinator is now known as StanleyFlathead [09:56] I'm trying this: [09:56] cat < `crontab -l` < @reboot service nginx start [09:56] @reboot service postgresql start [09:56] EOF [09:56] But it doesn't work. [09:56] What I want is to append those two lines to the output of running `crontab -l` and then pipe it to `crontab -` [09:56] How should I do that? [10:01] elnur: don't do it that way [10:02] How should I do it then? [10:02] first, since you know the two lines you want to add, just do crontab -e :) [10:02] second, fixing why they don't come up at start up is probably the saner approach [10:02] I need to script this. [10:02] I've spend the whole day trying to fix that already. [10:02] ls /etc/init/*nginx* /etc/init/*postgres* === freeflying is now known as freeflying_away [10:03] No such files. [10:04] ls /etc/init.d/*nginx* /etc/init.d/*postgres* /etc/rc?.d/*nginx* /etc/rc?.d/*postgres* [10:04] # ls -l /etc/rc?.d/*nginx [10:04] lrwxrwxrwx 1 root root 15 Sep 19 21:23 /etc/rc0.d/K20nginx -> ../init.d/nginx [10:04] lrwxrwxrwx 1 root root 15 Sep 19 21:23 /etc/rc1.d/K20nginx -> ../init.d/nginx [10:04] lrwxrwxrwx 1 root root 15 Sep 19 21:23 /etc/rc2.d/S20nginx -> ../init.d/nginx [10:04] lrwxrwxrwx 1 root root 15 Sep 19 21:23 /etc/rc3.d/S20nginx -> ../init.d/nginx [10:04] lrwxrwxrwx 1 root root 15 Sep 19 21:23 /etc/rc4.d/S20nginx -> ../init.d/nginx [10:04] lrwxrwxrwx 1 root root 15 Sep 19 21:23 /etc/rc5.d/S20nginx -> ../init.d/nginx [10:04] lrwxrwxrwx 1 root root 15 Sep 19 21:23 /etc/rc6.d/K20nginx -> ../init.d/nginx [10:04] # ls -l /etc/init.d/*nginx [10:04] -rwxr-xr-x 1 root root 2091 Dec 17 2012 /etc/init.d/nginx [10:05] that looks fine. Can you paste the contents of /etc/init.d/nginx at paste.ubuntu.com [10:06] sgran, http://paste.ubuntu.com/6131972/ [10:07] The script works when I run it manually. [10:07] Just doesn't work on boot. [10:07] is there anything in the logs? [10:08] Nothing in syslog about nginx and nothing in nginx's error.log. [10:08] anything in upstart's log? [10:08] Let me check. [10:09] Which file? [10:12] hmm. I see upstart only logs jobs, rather than overall status [10:12] disappoint [10:14] Meanwhile: [10:14] (crontab -l; echo "@reboot service nginx start") | crontab - [10:14] (crontab -l; echo "@reboot service postgresql start") | crontab - [10:14] \o/ [10:15] Of course, I'd like to fix the root issue. [10:15] I'm just not that good with advanced linux stuff. [10:15] do you see anything in boot.log ? [10:16] I'm recreating the VM. Will tell you in a couple of minutes. [10:16] Vagrant. [10:17] BTW, can Vagrant/VirtualBox be the reason? [10:18] I'm guessing at this point that they're failing to start because of some network or other related configuration that isn't there when they start at boot time, but are there later when you run the script by hand [10:18] so, maybe? [10:18] Would I be able to find this information in any log file? [10:18] I'll check boot.log soon. [10:19] BTW, PHP-FPM starts okay. [10:19] It's nginx and PostgreSQL failing for some reason. [10:25] The VM is up. [10:26] Where's the boot.log file? [10:26] in /var/log [10:26] Nope. [10:26] `locate boot.log` gives nothing. [10:29] Any other ideas? :) [10:31] hmm [10:31] I see a /var/log/boot and a /var/log/boot.log on precise, here [10:31] does vagrant give you a console log from bootup? [10:33] Let me see. [10:35] Hmm. [10:35] I'm looking at `vagrant up` logs and it looks like it's adding network interfaces after the machine boot up. [10:36] [default] Machine booted and ready! [10:36] [default] Configuring and enabling network interfaces... [10:36] so that'll be the problem, I'd guess [10:37] Hm. I'll try another network configuration. === freeflying_away is now known as freeflying [10:54] Well, I tried different network configuration, but that didn't help. [10:54] I also checked out PostgreSQL logs and found this: [10:54] 2013-09-20 10:42:31 UTC LOG: database system was shut down at 2013-09-20 10:42:30 UTC [10:54] 2013-09-20 10:42:31 UTC LOG: database system is ready to accept connections [10:54] 2013-09-20 10:42:31 UTC LOG: autovacuum launcher started [10:54] 2013-09-20 10:42:32 UTC LOG: incomplete startup packet [10:54] 2013-09-20 10:49:34 UTC LOG: received smart shutdown request [10:54] 2013-09-20 10:49:34 UTC LOG: autovacuum launcher shutting down [10:54] 2013-09-20 10:49:34 UTC LOG: shutting down [10:54] 2013-09-20 10:49:34 UTC LOG: database system is shut down [10:54] Nothing interesting, I guess. [10:55] I'll go with @reboot cron job for now. [10:55] sgran, thanks for the attempt. :) [11:17] no sweat :) === freeflying is now known as freeflying_away === freeflying_away is now known as freeflying [12:33] HI, I did apt-get update and then apt-get upgrade, Now when I rebooted, machine is not booting in normal way, I went through recovery mode, and then Network.. So I can use my machine, .. when machine is booting in normal way, it says.. udevd[468]: timeout: killing '/sbin/modprobe -bv pci:v00008086d000027D8sv00001028sd000001DEbc04sc03i00' [473] .. and never boot...HELP please. [12:46] HI, I did apt-get update and then apt-get upgrade, Now when I rebooted, machine is not booting in normal way, I went through recovery mode, and then Network.. So I can use my machine, .. when machine is booting in normal way, it says.. udevd[468]: timeout: killing '/sbin/modprobe -bv pci:v00008086d000027D8sv00001028sd000001DEbc04sc03i00' [473] .. and never boot...HELP please. [12:47] What is a good socket monitor for Ubuntu? [12:48] sarthor: !repeat [12:48] greppy: OK. can i quit? [12:49] sorry, was trying to trigger the bot, out of practice. [12:49] !repeat [12:49] Don't feel ignored and repeat your question quickly; if nobody knows your answer, nobody will answer you. While you wait, try searching https://help.ubuntu.com or http://ubuntuforums.org or http://askubuntu.com/ [12:50] I love this channel. I got a lot of help here, You guys helped alot. Thanks a lot [12:50] sarthor: if no one is awake that can help you, you won't get any help, sorry. === medberry_ is now known as med === med is now known as med_ === med_ is now known as med === med is now known as med_ [12:56] greppy, that is very logical. Haha :) [13:05] sarnold: Any time [13:15] jamespage: https://code.launchpad.net/~zulcss/cinder/housecleaning/+merge/186612 [13:17] zul, wrap-and-sort -s required [13:18] jamespage: fixed [13:33] zul, looks good, built tests OK [13:33] jamespage: cool ill merge it [13:33] zul, wait [13:34] zul, one thing - oslo-config needs an epoch [13:34] doh [13:35] fixed [13:51] utlemming: I somehow cannot find how you built the ubuntu cloud vagrant images [13:51] do you provide any script, or any doc ? [14:14] can i create a link file in two different devices? [14:26] on a maas server what does "node added but never seen" mean? [14:26] i'm trying to enroll a single system [14:27] i'm on a saucy installed system [14:27] if i look under "Nodes" i see the node, it's status is "Declared" (whatever that means) === holymac_ is now known as holymac [15:13] jamespage: im re-enabling the tests for glance as well [15:22] zul, good luck [15:22] please don't melt my laptop again :-) [15:24] jamespage: ill try not to ;) === xerxas_ is now known as xerxas [16:20] adam_g/jamespage: https://code.launchpad.net/~zulcss/glance/housecleaning/+merge/186836 [17:15] adam_g: i dunno if you saw this https://code.launchpad.net/~zulcss/glance/housecleaning/+merge/186836 [17:18] zul, i did, gonna look at it in a bit [17:19] adam_g: cool thanks [17:19] zul, please merge you changes into the ubuntu-server-dev branches instead of pushing them directly [17:19] adam_g: yep === Ursinha-afk is now known as Ursinha [17:42] adam_g: fixed [17:46] zul, its still not wrapped to 80 and there are extra newlines [18:14] adam_g: https://code.launchpad.net/~zulcss/keystone/housecleaning/+merge/186849 === Ursinha is now known as Ursinha-afk [18:26] hey folks - getting that pesky "waiting for network configuration" message on startup (ubuntu server 12.04).... it's odd, because my configs both work (2 NICs each with a static IP, only one default gateway)... is there anything other than /etc/network/interfaces that i should look into? === Rory is now known as Ruby === Ruby is now known as Rory [19:20] adam_g: https://code.launchpad.net/~zulcss/neutron/housecleaning/+merge/186870 [19:25] zul, looks okay but i'm not approving it unless you promise its going to get pushed to ubuntu-server-dev as a merge and not a direct commit [19:30] adam_g: uh? [19:30] .:adam_g:. zul, please merge you changes into the ubuntu-server-dev branches instead of pushing them directly [19:30] adam_g: yep [19:30] adam_g: i thought i was dong that [19:31] zul, doesn't look like it [19:31] frig sorry [19:32] adam_g: so you want me do bzr branch the neutron branch and then merge my branch [19:32] zul, ideally, yes [19:32] it can be automated [20:26] Hi guys! I'm new to linux. I would like to run ubuntu server on a machine that I would also like to use as a media center. What do you guys think is the best way to do so? [20:27] Ubuntu server with a gui would be somewhat weird, right? But a media center without a gui is also somewhat weird [20:27] th299792458: why do you need ubuntu server for this ? [20:28] th299792458: why not use the desktop CD for this ? it comes with a gui [20:28] Yes but I would also like to run ubuntu server to host a site for example [20:28] Also, you need to define 'Media Center' many media centers have a gui. [20:29] th299792458: you can do that on the desktop install [20:29] th299792458: it has the same access to packages, such as apache web server [20:38] the only real difference between the server and desktop editions is the set of which packages are installed; you can install any package you like on either version, so choose what suits your application best === bastidra1or is now known as bastidrazor [20:57] is there a way I can buck an error of af php site through my apache log [21:10] buck ? [21:11] im trying to edit my hosts file to allow acess from my ddns inside my network. im not sure exactly what to put into the hosts file. [21:12] why are you changing your hosts file ? [21:13] ikonia: from reading that my router has no NAT or loopback service. i thought the next step was the hosts file. [21:13] why ? [21:13] nat has nothing to do with your host file [21:14] utlemming: If I reconfigure cloud-init's upstart bits with "console output" and systemd bits with "journal+console" can we just let those send stdout to the console instead of trying to open it explicitly? [21:14] utlemming: I'm trying to deal with containers that don't have /dev/console and whatnot. [21:15] ikonia: then i probably have my terms confused. connected to my local lan i can not use my ddns to access my machine. i can only connect from outside the network [21:15] arthur789: that's not controlled by host file [21:17] ikonia: then i am severly confused. i enabled port forwarding and have a dynamic dns set up. sitting at home, connected to my local LAN, i want to type buffet.dlinkddns.com:4040 and get what i want, not 192.168.0.107:4040. how do i do this? [21:17] arthur789: you need a dns service and/or you need to edit the host file on the CLIENT [21:20] ikonia: i have dns service. So i need to edit a file for every computer on the LAN? i have done this before and that doesnt seem right. right now im editing the hosts file on the server machine. [21:21] arthur789: you don't have a dns service for your internal lan [21:21] arthur789: editing the hostfile on the server is going to do nothin [21:21] nothing [21:21] ikonia: i will stop messing with the hosts file then. [21:23] ikonia: in the past, when things where set up correctly i could get to my server through the buffet.dlinkddns.com while connected to the wifi router [21:23] ikonia: things went bad and now im trying to re-set-up and this is being a headache [21:27] ikonia: this is what i have been googling, mainly 'ddns not working inside network' [21:32] arthur789: it's totally possible, but it's awkward to use an external dns service to resolve internal addresses [21:32] arthur789: as you're advertising private addresses that are probably going to be dynamically allocated from a private source (your internal router) to a public service [21:34] ikonia: well, i dunno what i did in the past, but i could do what i am speaking of. editing the hostfile seems familiar... even though you say it has no effect.... === lj1 is now known as lj [21:45] ikonia: thanks for your help, i need a reboot === HisaoNakai_ is now known as HisaoNakai [23:02] hi all. in the past i have been able to access a single machine behind a wifi router no matter if i was away from the LAN at a friends or at home, on the LAN by using my dynamic dns. the computer went south and i am on a fresh install of server 12.04. for some reason i cannot get this going again. ikonia tried to help, but im sure i edited the /etc/hosts file in the past. either way im pretty sure i need to edit a file because my rout [23:21] arthur789: you likely need to poke a hole in your routers built-in firewall. Any previous rules might have been associated to a past (DHCP?) IP of the previous install [23:37] hamnstar: thanks for the response, this is a new router too. there is no firewall setup on the routers config page. [23:38] arthur789, any port forwarding settings? [23:38] on the router [23:40] hamnstar: yes, three. all can be seen on canyouseeme. all can be accessed via say cell phone on 4g. but once im home and on wifi i must use the local ip [23:41] ohhh yeah routers dont like routing "out" and back "in" [23:41] iirc [23:41] you could use a hosts file on your LAN devices to get around that? is that what you had going on before? [23:46] im pretty sure. when i came in here before asking about esiting it someone else didnt think that was correct. im not sure how to config the /etc/hosts file. [23:49] * gholms does exactly that "out and back in" routing all the time, is now confused [23:49] i think the hosts file needs work, from the googling i did [23:51] gholms: looks like i dont recall correctly then... i think some routers might prevent routing a LAN address to wAN and back into LAN to prevent cyclic routing?? [23:51] gholms: i think its cause my router isnt advanced enough? missing some technology. [23:52] arthur789, /etc/hosts would statically map the dynamic dns name to a LAN ip... so as soon as you're off your lan, you would lose ability to contact again [23:52] when i google dyndns not working inside network i get most results refering to hosts file, im just too noob to know what to put [23:52] but would work in the home :P [23:54] yeah from some googling it looks like some routers do not handle "out and back in" aka "loopback NAT" [23:54] i have connectbot on my phone. previously, i could ude the same preset no matter where i was or what network i was on. thats my end goal [23:54] hamnstar: Could be. What I end up with is traffic going to the public IP on the router regardless of which interface it's coming from and getting forwarded to the appropriate box. [23:55] But maybe the router needs some sort of magic to make that work or something. [23:55] hamnstar: correct, and from my understanding that means the hosts file needs edit [23:55] gholms: got any extra magic laying around? [23:55] arthur789: Not if you need something that'll work on linux. :( [23:56] arthur789: a more elegant solution would be to set up a dns on your local lan.... quite a bit more involved [23:56] hamnstar: well, i can barley handle the easy stuff. but im up for it. [23:57] arthur789, using the hosts file will always resolve the name of the server to the same ip.... which is not what you want, as you need a local lan address when on your lan, and your routers publicly routable ip when off your home network [23:58] what? no mdns love? [23:58] Heh [23:58] I can't help you too much in setting up a DNS server... but, what you can basically do is set your primary DNS to a local dns server (managed by you) and secondary DNS to your ISP/preferred DNS server [23:58] wow. i cant belive i ever had it working [23:59] I'm gonna guess your old router handled the "loopback NAT" stuff that some routers do not [23:59] well, i thought i upgraded. guess i need to get my old one back