[00:00] okies, here it goes :) [00:00] I suspect these are choices from your vps provider [00:00] eh, hoster-provided images tend to be pretty bad... [00:00] about the same as OEM-provided windows images, from my perspective :) [00:00] ouch man that's a low blow :) [00:00] :D [00:00] says it's removing 6 apache packages [00:01] heh, first packages I purge are os-prober and mlocate [00:01] is os-prober the thing that keeps deleteing my ffmpeg?!? [00:01] patdk-lap: oh is os-prober ther thing that craps all over dmesg? :) [00:01] well, craps all over grub [00:02] it totally screwed something up [00:02] think it was my glusterfs testing [00:02] http://167.114.135.106/ [00:02] holy crap, works! [00:03] now just need to get php working :( [00:04] sudo add-apt-repository ppa:ondrej/php5-5.6 [00:06] Ok, wtf?? When I go "apt-get install php5" it says "The following NEW packages will be installed: apache2 apache2-bin apache2-data apache2-utils" [00:06] why would I want apache with php??! :( [00:07] cause the default is mod-php [00:07] install like, php5-fpm [00:07] as that is what nginx really wants [00:07] ahhh, nice :) [00:08] PHP 5.6.20-1+deb.sury.org~trusty+1 (cli) [00:08] new enuff? [00:09] na [00:10] should install php 7 [00:10] damn, how could I make it do that? :( [00:10] no idea :) [00:10] but not sure how much stuff supports php 7 [00:10] not much stuff I use atleast does [00:10] my script will, it's super simple [00:11] i'd skip php7 not everything supports it yet [00:11] if this were a long-lived server it might be worth investigating but if it's getting torn down again tomorrow afternoon what's the point? :) [00:11] i thought I could upgrade to 16.04?! [00:12] it'll probably be a pain in the ass to upgrade to 16.04 with all those extra ppas installed [00:12] you'd want to purge them first [00:12] lol :( [00:12] ok, so stick with PHP 5.6.20-1+deb.sury.org~trusty+1 (cli) then?! [00:12] sure [00:13] okies. re-installing :) [00:21] * patdk-lap wonders how well 16.04 has been testing on a 2.6 kernel :) [00:21] probably "none at all" given systemd's list of requirements [00:25] i enabled php-fpm in default.conf and added index.php to the nginx.conf, I just get "an error occured" now :( http://167.114.135.106/ [00:25] default.conf: http://pastie.org/10806168 [00:25] nginx.conf: http://pastie.org/10806169 [00:26] error logs? [00:28] 2016/04/20 20:27:39 [error] 28277#28277: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 104.158.123.204, server: localhost, request: "GET / HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "167.114.135.106" [00:29] alright that's good progress, is fpm listening on 127.0.0.1:9000? [00:29] sarnold: how do I tell that? [00:29] netstat -tlnp | grep 9000 [00:30] ^^ empty [00:30] try netstat -alnp | grep fpm -- see where it -is- listening, if it's running.. [00:31] http://pastie.org/10806173 [00:31] TAFB: nice, uncomment the unix:/... socket line and fix the path to match, and restart nginx [00:33] how do I tell where the path to php is? [00:34] unix:/var/run/php-fpm/php-fpm.sock failed (2: No such file or directory) [00:34] php-fpm pool config [00:34] TAFB: it's line 2 of http://pastie.org/10806173 [00:35] nice. getting closer: unix:/var/run/php5-fpm.sock failed (13: Permission denied) [00:39] TAFB: check ls -l /var/run/php5-fpm.sock -- what group owns that file? you can probably tell nginx to run with that group [00:39] srw-rw---- 1 www-data www-data 0 Apr 20 20:23 /var/run/php5-fpm.sock [00:39] easier to just modify php to have it set correctly [00:40] edit the file in /etc/php5-fpm.d/www.conf likely [00:40] hunh i'm surprised that failed [00:41] this one? /etc/php5/fpm/php-fpm.conf? [00:41] no [00:41] /etc/php5/fpm/pool.d/*.conf [00:42] I've been in rhel land too long lately [00:42] listen.owner = www-data [00:45] it says to make sure execute permission on that user on the file? [00:47] on the directories that contain the file? [00:47] not sure, just searching google for "permission denied php" [00:48] oh don't do that, that'll lead to nutters who solve everything with chmod 777 rather than understand the problem at hand :) [00:48] also read to uncomment "listen.mode = 0660" in the www.conf [00:49] 777 solves everything [00:49] it also invites *guests* to help solve things [00:50] uncommenting "listen.mode = 0660" didn't fix the permission problem [00:54] apparmor? [00:54] type in, dmesg [00:54] dmesg said nothing [00:55] what user is nginx running as? [00:55] how do I check that? [00:55] I'd check with ps auxw | grep nginx [00:56] http://pastie.org/10806183 [00:56] full detailswould be in /proc//status but ps auxw should show user .. [00:58] why is it running as nginx? :) [00:58] change php to run as nginx [00:58] no clue, just apt-get installed it :) [00:59] changing the nginx configuration to use "user nginx www-data" ought to work too [00:59] well, in that same php file [00:59] just change the user/group listen-user/group lines [00:59] sarnold, assuming he has a www-data user [00:59] he isn't using the ubuntu package [00:59] it might not exist [00:59] patdk-lap: he does, it owns the socket :) [00:59] ok, hope it doesn't screw nginx finding it's own modules or someting :) [01:00] k. done. change all www-data to nginx, now getting this: *11 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 104.158.123.204, server: localhost, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "167.114.135.106" [01:01] great now you're just stuck with php problems :D [01:01] http://167.114.135.106/ [01:03] or nginx -> php problems [01:03] i tell you it's like this every time for me :( [01:06] someone needs to write install script for php. check what program is on port 80, check what user it's running as, self config, check permissions, set up nginx.conf, etc. etc. :( [01:12] "You need to ensure you have +x on all of the directories in the path leading to the site's root - so /home, /home/noisepages and /home/noisepages/www [01:12] checking [01:13] all had +x already :( === chuck__ is now known as zul [01:17] looks like something wrong with this line: "fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;" [01:19] "NOTE: You should have "cgi.fix_pathinfo = 0;" in php.ini"? [01:21] was set to 1, restarting php and trying [01:21] changed the error a bit: 2016/04/20 21:20:55 [error] 28635#28635: *4 FastCGI sent in stderr: "Unable to open primary script: /etc/nginx/html/index.php (No such file or directory)" while reading response header from upstream, client: 104.158.123.204, server: localhost, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "167.114.135.106" [01:22] the path is completely wrong [01:22] that .php is in /usr/share/nginx/html :( [01:23] how do I point it to the right place? [01:59] IT WORKS using the default.conf from here: http://pastebin.com/Y2CaqNeZ [02:00] \o/ [02:01] ok, now to enable directly listing and install h5ai! [02:05] Hello! I'm going to upgrade my Ubuntu Server from 14.04 LTS to 16.04 LTS when it's released. It's not released yet? [02:06] Emmanuel_Chanel: it should be released tomorrow [02:07] On UTC, it's today. On JST, too. So I wondered. [02:07] sarnold: thx for answering me. [02:08] Emmanuel_Chanel: ah then "later today" :) hehehe [02:18] ya, something around 8pm or so your time === profall_ is now known as profall === j^2_ is now known as j^2 [06:27] is there a dovecot line needed in /etc/postfix/master.cf on using postfix iwth dovecot? i cant find any mention in the docs [06:28] if you want dovecot sasl auth, you need several [06:29] oh, in main.cf, not master.cf [06:29] a line starting with dovecot [06:29] I can check if mine has one [06:30] no, mine doesn't have one [06:33] i get the following errors related to dovecot: "qmgr: warning: connect to transport private/dovecot: No such file or directory" and "systemd: dovecot.service: PID file /var/run/dovecot/master.pid not readable (yet?) after start: No such file or directory" [06:33] is it right that "ls /var/run/dovecot/master.pid -al" is owned by root? [06:36] qman__: thx btw :) [06:37] my master.pid is root.root [06:37] and the first error appears to be related to the unix socket location [06:38] make sure postfix and dovecot have the same thing specified [06:38] and that the directory exists [06:38] mine's /var/spool/postfix/private/auth [06:39] postfix's config line only uses private/auth, the rest is implied for it, but dovecot uses the whole path [06:41] both correctly set, dir exists and is owned by postfix:postfix [06:42] but private /var/spool/postfix/private/dovecot does not exists [06:42] ok, dovecot might not be starting correctly then, it should be creating it [06:43] I'm not exactly an expert on it, just what I ran into making mine work [06:46] dovestart is started, the onyl message in the logs is the missing master.pid [06:53] hi, any experience with Cannot make directory '/var/run/screen': Permission denied ? [06:54] contumax: What exactly are you doing that's bringing up that error? [06:54] trying to run screen [06:54] ubuntu 14.04 server [06:55] furthermore this issue started with another one at same time [06:55] there is no tty after boot, just black screen, but I'm able to ssh to the server [07:23] aah exciting LTS release day :) === athairus is now known as afkthairus [09:08] anyone feeling helpful and polite? [09:09] Dieselhonky: sure - feelings are easy - BEING helpful and polite is the hard part [09:10] just asked for help in the #ubuntu support channel and those guys tore me apart and werent helpful. they just talked crap to me. [09:10] ok so here is my question [09:12] The unetbootin website says that you can make a bootable USB instance on the main hard drive to boot from. I dont have a USB stick and only have external hard drives over 250GB. i want to install ubuntu. tried to do it that way and it didnt work. [09:13] i dodnt want to dual boot. i want windows gone. [09:14] External USB drives are basically identical to USB sticks as far as the system is concerned. So whatever instructions you follow, when you see "USB stick" just think "my external USB drive" instead. [09:15] rbasak: exactly [09:15] correct. but my computer will not allow me to format any of my external HDD devices to FAT32. thats the issue there [09:15] says they are too big [09:15] Dieselhonky: and be careful - unetbootin is about creating an install media onto e.g. an usb stick / or disk in your case [09:16] Dieselhonky: that is what the other channel tried to refer to I think [09:16] Dieselhonky: so this won't "install" Ubuntu on it - instead it would convert your USB drive so you are able to install FROM it [09:16] wasn't there wubi or so in the past [09:16] ok. so no linux until i can oer a live CD. [09:16] I don't really know how Windows does it. In principle there is no need to create a filesystem on your "USB stick" first. Perhaps that's a requirement on Windows though, I don't know. [09:16] cpaelzer exactly thats what i want to do [09:17] wubi only installs a dual boot as far as i know [09:18] Dieselhonky: well the windows would be sad being wiped away while running :-) so yes probably only dual boot [09:19] haha. windows needs to be sad [09:19] I look for alternatives, ... do you have a smartphone with some space around ? [09:19] i am in the process of converting all of my pc's. just starting with a laptop to see how it goes. [09:20] cpaelzer, yes i do have a smartphone with free space [09:20] second please, I need to find how that app was called ... [09:21] Dieselhonky: could you check if this would be an option for you https://www.maketecheasier.com/install-linux-distro-from-android/ [09:21] Dieselhonky: I neverused it but a friend of mine recommended it once [09:21] DriveDroid works, if you have android [09:22] for booting ISOs, that is [09:22] hateball: that is what I just linked - glad you agree [09:22] * hateball hopes he read the above conversation right [09:22] hateball, cpaelzer, awesome!!! finally an option. you guys rock. Let me go check it out [09:22] cpaelzer: :) [09:22] thanks for going eazy on a noob. [09:23] Dieselhonky: don't hurt yourself, even in the other channel they didn't really go that bad - they even started to call each other back to reason [09:23] Dieselhonky: good luck with this approach [09:24] Dieselhonky: in IT there is always more you don't know than what you know - so everyone or nowone is a noob :-) [09:25] thanks man. [10:41] cant abtain root on my android :( i must be Tech-Tarded === guampa_ is now known as guampa === icey_ is now known as icey === chuck__ is now known as zul [12:29] zul: hey hey [12:33] lynxman: whats up [12:35] zul: waiting for the release so I can build AMIs out of it ;) [12:36] lynxman: nifty.... [12:36] zul: you know me :) [13:55] hi. anyone knows where i can find the current ubuntu package source for the zfs systemd service files? [13:55] sts: for which release? [13:56] 16.04 [13:57] !info zfsutils-linux | sts [13:57] sts: Package zfsutils-linux does not exist in wily [13:57] ahhh! [13:57] :) [13:59] sts it's there, zfsutils-linux "/lib/systemd/system/zfs-mount.service" and friends [13:59] !info zfsutils-linux xenial | sts [13:59] sts: zfsutils-linux (source: zfs-linux): Native OpenZFS management utilities for Linux. In component universe, is extra. Version 0.6.5.6-0ubuntu8 (xenial), package size 277 kB, installed size 721 kB [13:59] got it! [14:00] I forgot the bot still thinks 15.10 is the current release [14:01] Well, it is :) [14:02] rbasak: as of this hour :D [14:03] nah, its 6 months old... far too old in the Internet age :) [14:04] ancient! [14:10] almost EOL === afkthairus is now known as athairus [16:43] does richard stallman get along with linus [16:43] randymarsh9: #offtopic. [16:43] nacc: sry i'm on my lunch break [16:45] what is the topic anyway [17:01] randymarsh9: type /topic === mukhbiir is now known as neoark === ChanServ changed the topic of #ubuntu-server to: Ubuntu Server discussion and support | For general (not server specific) support, try #ubuntu | IRC Guidelines: https://wiki.ubuntu.com/IrcGuidelines | https://wiki.ubuntu.com/ServerTeam/GettingInvolved | Docs and resources: https://help.ubuntu.com/14.04/serverguide/ | 16.04 will become an upgrade path on July 21st when 16.04.1 is released === ChanServ changed the topic of #ubuntu-server to: Ubuntu Server discussion and support | For general (not server specific) support, try #ubuntu | IRC Guidelines: https://wiki.ubuntu.com/IrcGuidelines | https://wiki.ubuntu.com/ServerTeam/GettingInvolved | Docs and resources: https://help.ubuntu.com/14.04/serverguide/ | 14.04 to 16.04 will be offered on July 21st when 16.04.1 is released === InfoTest1 is now known as InfoTest === skipyyty is now known as caliculk === jml_ is now known as jml === InfoTest1 is now known as InfoTest === daker_ is now known as daker === Pici` is now known as Pici === j^2_ is now known as j^2 === pleia2_ is now known as pleia2 === andol_ is now known as andol === temmi_hoo_ is now known as temmi_hoo [17:26] hm... can I install ubuntu 16.04 on a zfs root? [17:27] maybe? [17:27] RoyK: I don't believe that's supported. [17:27] I see grub has zfs and *wonders zfscrypt [17:27] But I'm not 100% sure. [17:28] i think it's not supported, but some folks have done it (meaning it's possible) [17:31] lemme try... [17:31] RoyK: there is this, as well, fwiw: https://github.com/zfsonlinux/pkg-zfs/wiki/HOWTO-install-Ubuntu-to-a-Native-ZFS-Root-Filesystem [17:32] i think the installer natively doesn't allow it, but i'm not sure [17:32] yeah, found that [17:32] no, the installer doesn't seem to have zfs [17:32] * patdk-wk_ is just using zfs-on-linux for datastore currently [17:33] RoyK: it's meant mostly for datastore for containers, aiui (in 16.04) [17:34] I know, but then, I've worked with zfs for six years or so and have seen the nice things about having on the root as well as for data [17:34] your experience is, ultimately != Ubuntu supporting it :) [17:34] RoyK: but I think it's a known thing (no root support) [17:34] yeah, would have been a nice-to-have [17:35] Plan A: Setup a normal system, add a disk, setup an zfs rpool on it, rsync everything, install grub, reboot [17:36] or perhaps not... setting the mountpoint for the pool will be tricky [17:36] RoyK: and note, though, you immediately become unsupported [17:37] I find it strange, rpool name is limited to only using rpool [17:37] I commonly rename it, to support upgrading/moving my rpool === madwizar1 is now known as madwizard [17:37] nacc: what do I care? It's a VM for testing - I use debian in production (lvm/ext4 root with zfs datastore) [17:37] RoyK: just a note :) [17:38] nacc: I'm quite aware of that, thanks ;) [17:38] the 'support' in ubuntu (without paying) is rather on the slack side anyway [17:39] *cough*, /me puts RoyK on the ignore list :) [17:39] i mean, technically, the above *is* support :) [17:39] hi, I'm trying to make a directory owned by someuser:somegroup that behaves in such a way that every new file or directory created inside has rw permission for the group regardless of the user who creates it and is owned by somegroup, how can I do it? === funkyHat_ is now known as funkyHat [18:01] Hi, #maas was not helpful so trying my luck here: anyone using MAAS knows how does it manage its (rack controller) networks? It currently sees both NICs but only setup the first one (DHCP), so I want to know if manually enabling the 2nd one on /etc/network/interfaces is the right thing to do. [18:03] devster31: you probably want to look into the setgid and setuid bits [18:03] iirc [18:04] devster31: chmod g+s the dir and make if group owned by the group you want to be set on every files under it [18:28] Can someone tell me a easy way to upload files from my (windows) computer to my ubuntuserver? LIke when I want to change my /var/www/html? [18:29] winscp [18:29] okey, cool [18:30] or can I do it with directly with putty? [18:32] not putty per se, but you can use pscp (http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html) [18:36] sdeziel: I already have them set g+s, but when I create a new folder it's created with the correct group but not the correct permissions [18:37] meaning a user:group owned folder with 2775 permissions contains a second folder with 2755 permissions [18:37] devster31: the permissions are derived from your user's umask [18:37] and I can't enforce them with acl or something? [18:38] devster31: ACLs could do this IIRC but if you tune the umask you should get the perms you want [18:38] jalt, thanks! [18:40] FileZilla also supports SFTP, and there are Explorer (the file browser) plugins that implement sftp [18:40] and I should change umask in login.defs, /etc/pam.d/common-session or user profiles? [18:41] devster31: I would suggest to try manually first and see if that gives what you want [18:45] devster31: then /etc/login.defs seems to be the place now :) [18:52] thanks [18:53] np [18:57] For 16.04 is there any supported way to reload the whole /etc/network/interfaces short of rebooting? [18:58] jalt: try ifdown -a ; ifup -a ? [19:00] nope, that is the same as ip link set up and does not load ip (or any other configuration really) [19:01] For reference: https://bugs.launchpad.net/ubuntu/+source/ifupdown/+bug/1301015 [19:01] Launchpad bug 1301015 in ifupdown (Ubuntu) "Networking does not restart" [High,Confirmed] [19:05] jalt: that bug is a dumping ground; there's nearly nothing useful in it except the advice to use (ifdown -a ; ifup -a) & -- which seems like better advice than my ifdown -a ; if up -a -- if there's something wrong with it, please file a bug [19:06] actually the bug is about the removal of a useful feature "Networking does not restart ", as per title. [19:06] yes, I myself filed a bug somewhere along the way when "service network restart" destroyed my desktop environment [19:07] that's when I learned that ifup and ifdown were the way to restart networking services [19:07] i'd blame your DE then ;) [19:07] if those don't work, please file a bug. [19:07] oh I did. and still do. :) [19:07] they are a way to restart an interface, but not to reload the full networking stack [19:07] i.e., you cannot change ips, cannot create bonds, etc. === Isla_de_Muerte is now known as NwS [19:08] that is not a bug, because ifupdown and ip set link are not supposed to do all that [19:12] so I rebooted (and it worked to load the new interfaces conf) but tty1 font color is now orange-ish!? any idea why that happened? [19:12] so ubuntu server supports zfs now [19:12] ? [19:13] randymarsh9: yes [19:13] you may want to read the whole ZoL docs to confirm what features are supported, but in short, yes. [19:13] jalt: wiggle the vga cable? that was the cause last time I saw something like that [19:14] for desktop use you should be careful if you want to boot out of it, dual boot with win and/or efi, or full drive encryption. [19:14] sarnold, i'm using DVI, the cable did not move and the other TTYs are normal :) [19:16] jalt: dang :) [19:21] restarting again fixed it.... [19:21] o_O [19:29] Hah oh wow, 16.04 got released today [19:30] I thought we had one week left [19:35] I have only upgraded 1 server so far [19:35] others still running beta :) === zopsi_ is now known as zopsi === Assailant is now known as a12345 === a12345 is now known as Assailant === njalk_ is now known as njalk [21:25] Hello! I'm trying to upgrade my Ubuntu 14.04 LTS. "sudo do-release-upgrade" says "No new release found" [21:25] Shall I wait for a few days? [21:26] For around 3 months, the upgrade will be made available around July 21st [21:26] hi [21:34] ok. [21:43] upgrades from 14.04 aren't supported till 16.04.1 comes out [22:16] Anyone know if 16.04 still supports upstart like 15.10 did? [22:20] The answer is yes. [22:20] 16.04 uses systemd as its (default) init system though [22:21] Agreed. [22:21] I was trying to figure out if upstart alone would cause do-release-upgrade to fail. It seems it shouldn't. [22:22] it didn't break upgrades on earlier versions :) [22:22] and 15.10 used systemd too [22:22] I've had bad luck with do-release-upgrade lately... Did with 15.10 too... [22:23] One of them was a btrfs corruption though so that's not do-release-upgrade's fault. === Guest49657 is now known as karstensrage