[00:02] <liox_> plis help me?
[00:06] <Pupeno> How do I upgrade an Ubuntu 12.04 to 14.04? do-release-upgrade -d worked on other servers.
[00:35] <Pupeno> I just upgraded an Ubuntu 12.04 to 14.04 and a new version of postgres was installed and the old one removed, but the cluster not upgraded. Any ideas how to proceed now?
[01:09] <liox_> hi
[01:10] <liox_> my /webmail broken aft downgrade apache 2.4 for 2.2
[01:10] <liox_> see problem
[01:10] <liox_> http://agenciazig.com.br/webmail/
[01:11] <liox_> I think it is something related to. htaccess some webmail module that is calling it is not installed
[01:15] <liox_> Please could someone help me?
[01:19] <vonsyd0w> check your apache logs first
[01:22] <liox_> vonsyd0w: ok
[01:25] <liox_> vonsyd0w: not error apache log
[01:38] <tarvid> Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626/json.so' - /usr/lib/php5/20090626/json.so: cannot open shared object file: No such file or directory in Unknown on line 0
[01:38] <tarvid> is there a fix?
[01:45] <liox_> how could I make a backup of mailboxes to migrate to another server?
[01:45] <liox_> my server use postfix+dovecote+imap
[02:30] <liox_> my log /var/logs/suphp
[02:30] <liox_> [Sat Jul 19 23:25:41 2014] [warn] File "/var/www/webmail/index.php" is not in document root of Vhost "/var/www/agenciazig.com.br/web"
[02:30] <liox_> how could I solve this problem?
[02:44] <tarvid> presume you are running apache. Then stanza in /etc/apache2/sites-availble contains the DocumentRoot
[02:49] <tortib> Hello everyone.
[02:50] <tortib> Can someone help me with an issue I'm having with my Squirrel Mail installation?  I followed https://help.ubuntu.com/community/Squirrelmail and set it up properly (to my limited knowledge).  And when I go to the vhost there is an index being displayed instead of the squirrelmail page.  The index shows no files though...
[02:50] <tortib> The dir it's pointing to is /usr/share/squirrelmail permissions are set to 755
[03:03] <tarvid> What is the DocumentRoot in /etc/apache2/sites-available?
[03:03] <liox_> tortib: see problem: http://agenciazig.com.br/webmail/
[03:03] <tarvid> If the virtual does npot have its own stanza, the root is in default
[03:04] <tarvid> so what is the DocumentRoot in default
[03:05] <tarvid> Mine is DocumentRoot /var/www/
[03:06] <tarvid> webmail should live under that directory
[03:06] <tortib> I have the directory set to /usr/share/squirrelmail though
[03:07] <tortib> <Directory /usr/share/squirrelmail>
[03:07] <tortib> and Options FollowSymLinks
[03:07] <liox_> tortib: you see problem error 500? ERROR 500 - Internal Server Error!
[03:07] <tortib> no indexing
[03:07] <liox_> plis helpme
[03:07] <tortib> liox_, I don't know what the problem is.  I'm sorry :(
[03:09] <tarvid> What does that Alias line look like
[03:10] <tortib> mail.domain.com
[03:10] <tortib> oh you mean for a dir alias?
[03:10] <tortib> I don't have one
[03:11] <tarvid> Look at the Alias for /doc
[03:11] <tortib> I don't have that
[03:12] <tarvid> in /etc/apache2/sites-available/default
[03:12] <tortib> :x
[03:14] <tarvid> All the magic happens there. If it isn't there it doesn't happen
[03:14] <tortib> 000-default?
[03:15] <tortib> or are you talking about the squirrelmail one?
[03:15] <tarvid> 000-default is created in sites-enabled from default in sites-available
[03:16] <tarvid> There is no "squirrel mail" one
[03:17] <tarvid> Either chain off the DocumentRoot or add an Alias
[03:17] <tortib> i added one!
[03:17] <tortib> I said I followed the guide
[03:17] <tortib> don't you read?!
[03:17] <tortib> https://help.ubuntu.com/community/Squirrelmail
[03:18] <tortib> lrwxrwxrwx 1 root root   41 Jul 19 22:23 squirrelmail -> /etc/apache2/sites-available/squirrelmail
[03:18] <tarvid> I am not going to read the guide, I have been doint Apache for 20 years and virtual host magic happens in sites-available
[03:19] <tortib> I see the problem I think
[03:20] <tarvid> the guide has you copy a file to sites-available
[03:21] <tarvid> then the url is http://localhost/squirrelmail
[03:25] <tarvid> it says copy not link then run a2ensite squirrelmail then service apache2 restart (or reload)
[03:29] <tarvid> try it
[03:34] <liox_> my log is
[03:34] <liox_>  SoftException in Application.cpp:221: File "/var/www/webmail/index.php" is not in document root of Vhost
[03:35] <liox_> How I fix it so that this file into / var / www / webmail / index.php
[03:35] <tarvid> again - it says copy not link then run a2ensite squirrelmail then service apache2 restart (or reload)
[03:36] <tortib> tarvid, read it again.
[03:36] <tarvid> I have
[03:36] <tarvid> Just try it it should take 30 seconds
[03:37] <tortib> I got it working with a2ensite
[03:37] <tarvid> excellent
[03:38] <tarvid> ISPConfig looks neat but I have no idea what user space regime it follows
[03:38] <tarvid> I have reservations about having users ftp into /var/www
[03:39] <FFForever2> Does this look right? (network configuration of a KVM instance) http://i.imgur.com/VchnB8p.png for some reason the routes are not being added
[03:40] <tarvid> 14.04?
[03:40] <FFForever2> Yeah
[03:40] <FFForever2> And yes, the gateway is suppose to be outside of the range of the ip.
[03:41] <tarvid> potfull of problems with 3.13.0
[03:42] <TJ-> FFForever2: "ip route add" not "ip addr add"
[03:45] <FFForever2> TJ-, (whoops!) I changed it to ip route add/del. There is still nothing in my routes. On a side note how can I bring up/down eth0? service networking restart no longer appears to work, and ifdown/up says that the device is not configured.
[03:47] <TJ-> FFForever2: you've got more typos
[03:47] <liox_> ls
[03:47] <TJ-> FFForever2: "dns-servers" should be "dns-nameservers" (see "man 8 resolvconf")
[03:48] <liox_> I can make a backup of my mailboxes from my vps to take another vps? knows a way to do this?
[03:49] <TJ-> FFForever2: also, the "post-down" rules should be "pre-down" and in the opposite order to the "post-up" rules
[03:52] <TJ-> FFForever2: and finally...
[03:53] <TJ-> FFForever2: /32 subnets should not have a broadcast address
[03:53] <FFForever2> TJ-, I'm going off of the OVH documentation
[03:55] <FFForever2> I'm guessing it needs the broadcast for how their system works?
[03:55] <TJ-> FFForever2: that is scary!
[03:55] <FFForever2> Indeed their documentation is scary.. http://help.ovh.co.uk/BridgeClient
[03:55] <TJ-> FFForever2: no... you can't broadcast to yourself!
[03:56] <FFForever2> Ah.. okay.
[03:58] <FFForever2> TJ-, How's http://i.imgur.com/9EN5sfz.png?
[04:01] <TJ-> FFForever2: no, still not there yet...  the "post-up ip route add ..." rules shouldn't have a subnet specifier, should be just "192.99.36.254"
[04:01] <TJ-> FFForever2: and the same for the "pre-down" rules
[04:01] <FFForever2> okay, removed.
[04:03] <TJ-> FFForever2: that *should* be correct now
[04:03] <FFForever2> how can I restart networking without rebooting? ifdown eth0 says ifdown: interface eth0 not configured
[04:04] <TJ-> FFForever2: what does "sudo ifup eth0" say? the same?
[04:05] <FFForever2> RTNETLINK answers: File exists\r\n Failed to bring up eth0.
[04:06] <TJ-> FFForever2: does "ip route ls" show existing routes that need removing?
[04:07] <FFForever2> No.
[04:08] <TJ-> FFForever2: what does "ip addr show dev eth0" report?
[04:10] <FFForever2> TJ-, http://i.imgur.com/dkt89V2.png
[04:13] <TJ-> FFForever2: try "sudo ip addr del 192.99.214.38/32 dev eth0" then "sudo ip link set down dev eth0"
[04:16] <FFForever2> TJ-, That took eth0 down, and now it says RTNETLINK answers: Network is unreachable\r\n failed to bring up eth0. There's nothing in `route -n`
[04:17] <FFForever2> My previous solution was to use a startup script, disable the 60s delay when booting to manually inject the routes, but that seems like a bad solution to a configuration issue.
[04:18] <TJ-> FFForever2: "network unreachable" is because you've set a gateway outside the subnet of the interface
[04:20] <TJ-> FFForever2: the host has a bridged interface for the guests to attach to?
[04:22] <rahuldroy> hey guys, can someone help me debug a segment fault in apache
[04:23] <FFForever2> TJ-, It does not.
[04:23] <FFForever2> At least one that's not accessible from the guest. If I manually add the route it'll go through the bridge and work
[04:27] <rahuldroy> I have a gdb backtrace but have no idea how to read it properly
[04:29] <TJ-> FFForever2: the gateway address is the IP assigned to the host bridge?
[04:29] <FFForever2> Yeah.
[04:29] <TJ-> FFForever2: remove the "gateway" line... let the post-up rule do that work
[04:33] <FFForever2> TJ-, When running the first post-up rule I get the error either "to" is duplicate, or "gw" is a garbage.
[04:37] <TJ-> FFForever2: ahhh... that'll be because "ip route" takes different syntax to "route"
[04:37] <TJ-> FFForever2: can you show me what is there now?
[04:38] <TJ-> FFForever2: "post-up ip route add default via 192.99.36.254 dev eth0" (and correct the post-down rule too)
[04:38] <TJ-> FFForever2: "via" rather than "gw"
[04:44] <FFForever2> TJ-, Sweet! Networking works flawlessly now :). Thanks a lot for your assistence getting this working.
[04:44] <TJ-> FFForever2:  you're welcome :)
[05:37] <brrr> Is it possible to configure a local BIND DNS for multiple virtual hosts on the same machine?
[06:27] <rahuldroy> does anyone know where I can find an ETA for PHP5 upgrade for ubuntu 14.04?
[06:28] <blaaa> I am contemplating running drupal on ubuntu- server, but I wonder if it's advisable to use the available package to do that, how are security updates handled? https://www.drupal.org/SA-CORE-2014-003 does not seem to have been fixed in ubuntu's package yet.
[06:31] <TJ-> blaaa: probably because Drupal haven't got a CVE id yet
[06:34] <blaaa> so maybe I should just roll my own package or set up a drupal environment 'in webspace' myself then
[06:36] <blaaa> looks like there is a fixed debian package available already
[06:37] <blaaa> and also for utopic
[06:42] <andol> blaaa: Ubuntu keeps Drupal (as well as any other "web applications") in the Universe repository, and hence there is no promises on security upgrades, but more of a community best offert, which varies heavily from package to package.
[06:42] <andol> blaaa: The generic suggestion here is to take a look at how well that package has been maintained/upgraded in the past.
[06:43]  * andol tends to prefer a separate source install for stuff like Drupal, Wordpress, etc.
[06:44] <andol> rahuldroy: What PHP5 upgrade are you referring to?
[06:44] <andol> brrr: What do you mean with virtual hosts in a BIND/DNS context?
[06:47] <brrr> andol, I would like to resolve local domains to different virtual hosts on an apache web server through a DNS on that same machine
[06:49] <brrr> I don't know if that makes any sense
[06:49] <blaaa> andol: probably it's best to use a source install for that stuff then
[06:49] <andol> brrr: Could you exemplify?
[06:51] <rahuldroy> andol: I have just upgraded to php 5.5.15. The default in 14.04 is 5.5.9
[06:52] <rahuldroy> There seems to be a bug with fileinfo extension
[06:53] <brrr> I want to use test1.local and test2.local as domains through apache virtual hosts on a machine with IP 192.168.1.100
[06:54] <brrr> I would like to use that same machine as a DNS to resolve those domains on my local network
[06:55] <rahuldroy> brrr: http://pastie.org/9406645
[06:55] <rahuldroy> brrr: I use virtual hosts all the time on my machine for development purposes
[06:56] <brrr> I've got it working for one domain, but I'm not sure how to expand it to multiple domains
[06:56] <andol> brrr: Any point in setting up a BIND for that, instead of just sticking those hostnames in /etc/hosts? Alt if you want something a bit more centralized use something like dnsmasq as your local DNS resolver, and have it do override for those hostnames.
[06:57] <andol> brrr: DNS has no concept what so ever in regards to virtual hosts, it will only transate host1.local, host2.local to ip addresses.
[06:59] <andol> rahuldroy: Most likely is that Ubuntu 14.04 will always provide some kind of 5.5.9 version, but with backported security fixes etc. For example, the current PHP5 version in Ubuntu 14.04 is 5.5.9+dfsg-1ubuntu4.35.5.9+dfsg-1ubuntu4.3.
[06:59] <brrr> if I set-up each domain with a forward zone file, how many reverse zone files will I need?
[07:01] <andol> brrr: This really something you want to happen on a resolver level, because even if you put up an authortiave server for the .local zone you will still need to point your resolver to that authoritve server for the .local zone.
[07:01] <rahuldroy> I am using the PPA https://launchpad.net/~ondrej/+archive/ubuntu/php5?field.series_filter=trusty
[07:02] <andol> rahuldroy: Well, then ask the PPA owner :P
[07:02] <rahuldroy> andol: nahh this PPA fixed it. The default version from ubuntu has problems :(
[07:04] <andol> rahuldroy: Well, don't hold your breah for something newer than 5.5.9 in Ubuntu 14.04. What might happen, assuming the bug is severe enough (and someone reports it, pushes a bit, etc) is that the specific bug fix might be backported.
[07:04] <andol> https://wiki.ubuntu.com/StableReleaseUpdates
[07:04] <brrr> I figured that if I could resolve these domains to the same IP, then apache should take care of the rest
[07:05] <brrr> If I use /etc/hosts, I won't be able to access these domains from other computers on the network right?
[07:06] <andol> brrr: Yepp, that's the limitation of using /etc/hosts, that you'll have to keep that file updated on all the computers, which doesn't scale very welll :)
[07:09] <rahuldroy> andol: thanks for your help :)
[07:13] <brrr> rahuldroy, andol thanks for the responses
[07:15] <rahuldroy> brrr: youu can add it to your dns server and add that there instead of using /etc/hosts
[07:16] <rahuldroy> brrr: apache uses the headers
[07:19] <brrr> yeah, I haven't quite figured out the exact entries to make into BIND
[07:25] <rahuldroy> It should only be the domain name & its associated IP??
[07:32] <MavKen> had someone reroute facebook.com to a fake one by changing /etc/hosts in a computer lab running ubuntu machines... guess that is the risk of giving sudo access to a hs student lol
[07:32] <rahuldroy> MavKen: lols
[07:33] <brrr> rahuldroy: but what about the reverse lookup file?
[07:33] <MavKen> i dont thing he did anything with the user/pass he was collecting but it could have turned bad for him
[07:34] <brrr> that's the danger of using public computers in general for personal stuff
[07:35] <rahuldroy> brrr: you should be able to do that in your dns server as well
[07:36] <brrr> do I need a reverse lookup file for each domain or just one for that IP address?
[07:36] <rahuldroy> brrr: I have done it heaps of times in a windows DC but never in a router level
[07:37] <rahuldroy> brrr: not really
[07:38] <rahuldroy> brrr: but it is a good practice to do it
[07:38] <brrr> so I don't need a reverse lookup file?
[07:40] <rahuldroy> brrr: I would set it up but in a lot of cases it is not needed
[07:40] <rahuldroy> brrr: it most cases your dns server should do it automatically
[07:44] <brrr> oh
[08:13] <brrr> I got it to work, thanks for the help/suggestions
[08:13] <rahuldroy> brrr: awesome :)
[08:14] <brrr> :)
[09:09] <lordievader> Good morning.
[11:16] <liox_> hi
[11:16] <liox_> could someone help me get my webmail broke into a poorly succedia update apache
[11:17] <liox_> my  ispconfig log
[11:17] <liox_> [Sun Jul 20 08:12:06 2014] [error] [client 201.15.73.95] SoftException in Application.cpp:350: UID of script "/var/www/webmail/$
[11:17] <liox_> [Sun Jul 20 08:12:06 2014] [error] [client 201.15.73.95] Premature end of script headers: index.php
[11:30] <bekks> Looks like your script is broken.
[11:58] <liox_> bekks, did this and solved chow chown -R web1:client1 /var/www/webmail
[11:59] <liox_> bekks, strange that just added a group and the client / var / www / webmail and all other hosts also running back would not the correct group www-data?
[12:00] <bekks> Sorry, I did not understand that sentence - can you please rephrase it?
[12:02] <liox_> bekks, this directory / var / www / webmail should not ertencer the group www-data?
[12:02] <liox_> this directory / var / www / webmail should not belong to the group www-data?
[12:02] <bekks> That depends on the configuration of your VPS provider.
[12:34] <Macer> wow... what happened here??
[12:34] <Macer> zpool: ../../lib/libzfs/libzfs_status.c:188: Assertion `nvlist_lookup_uint64(config, ZPOOL_CONFIG_VERSION, &version) == 0' failed.
[12:34] <Macer> Aborted (core dumped)
[12:35] <bekks> Macer: Thats a libzfs core dump. You could try asking in #zfsonlinux
[15:26] <Roguehorse> Good Morning
[15:26] <RoyK> afternoon
[15:26] <RoyK> or
[15:26] <RoyK> good localtime();
[21:05] <tortib> Hello everyone.  Can someone help me diagnose this issue with snmp?  I installed the snmp-mibs-downloader and now I'm getting these errors when running snmpwalk http://paste.ubuntu.com/7826950/
[22:09] <xpistos> menu-container {
[22:09] <xpistos> 		background: #0a97ca; /* Old browsers */
[22:09] <xpistos> 		background: -moz-linear-gradient(top,  #0a97ca 0%, #044386 100%); /* FF3.6+ */
[22:09] <xpistos> 		background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#0a97ca), color-stop(100%,#044386)); /* Chrome,Safari4+ */
[22:09] <xpistos> 		background: -webkit-linear-gradient(top,  #0a97ca 0%,#044386 100%); /* Chrome10+,Safari5.1+ */
[22:09] <xpistos> 		background: -o-linear-gradient(top,  #0a97ca 0%,#044386 100%); /* Opera 11.10+ */
[22:09] <xpistos> 		background: -ms-linear-gradient(top,  #0a97ca 0%,#044386 100%); /* IE10+ */
[22:09] <xpistos> 		background: linear-gradient(to bottom,  #0a97ca 0%,#044386 100%); /* W3C */
[22:09] <xpistos> 		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0a97ca', endColorstr='#044386',GradientType=0 ); /* IE6-9 */
[22:09] <xpistos> 		padding-bottom:13px;
[22:09] <xpistos> 		clear:left;
[22:09] <xpistos> 		padding-bottom:15px;
[22:09] <xpistos> 		margin-bottom:15px;
[22:09] <xpistos> 	}join
[22:15] <tortib> O.o
[23:52] <Locke2002> My server spontaneously rebooted half an hour ago... I don't see anything weird in syslog right up to when the reboot happened, any ideas of what else to look at?
[23:55] <TJ-> Locke2002: UPS?
[23:55] <Locke2002> It's a VPS, so I don't know if anything happened hardware-side
[23:55] <Locke2002> Suppose I can try emailing my provider
[23:56] <MavKen> digitalocean?
[23:56] <Locke2002> ChunkHost, I dunno if they resell
[23:56] <MavKen> oh ok