[00:02] plis help me? [00:06] How do I upgrade an Ubuntu 12.04 to 14.04? do-release-upgrade -d worked on other servers. [00:35] 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] hi [01:10] my /webmail broken aft downgrade apache 2.4 for 2.2 [01:10] see problem [01:10] http://agenciazig.com.br/webmail/ [01:11] I think it is something related to. htaccess some webmail module that is calling it is not installed [01:15] Please could someone help me? [01:19] check your apache logs first [01:22] vonsyd0w: ok [01:25] vonsyd0w: not error apache log [01:38] 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] is there a fix? [01:45] how could I make a backup of mailboxes to migrate to another server? [01:45] my server use postfix+dovecote+imap [02:30] my log /var/logs/suphp [02:30] [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] how could I solve this problem? [02:44] presume you are running apache. Then stanza in /etc/apache2/sites-availble contains the DocumentRoot [02:49] Hello everyone. [02:50] 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] The dir it's pointing to is /usr/share/squirrelmail permissions are set to 755 [03:03] What is the DocumentRoot in /etc/apache2/sites-available? [03:03] tortib: see problem: http://agenciazig.com.br/webmail/ [03:03] If the virtual does npot have its own stanza, the root is in default [03:04] so what is the DocumentRoot in default [03:05] Mine is DocumentRoot /var/www/ [03:06] webmail should live under that directory [03:06] I have the directory set to /usr/share/squirrelmail though [03:07] [03:07] and Options FollowSymLinks [03:07] tortib: you see problem error 500? ERROR 500 - Internal Server Error! [03:07] no indexing [03:07] plis helpme [03:07] liox_, I don't know what the problem is. I'm sorry :( [03:09] What does that Alias line look like [03:10] mail.domain.com [03:10] oh you mean for a dir alias? [03:10] I don't have one [03:11] Look at the Alias for /doc [03:11] I don't have that [03:12] in /etc/apache2/sites-available/default [03:12] :x [03:14] All the magic happens there. If it isn't there it doesn't happen [03:14] 000-default? [03:15] or are you talking about the squirrelmail one? [03:15] 000-default is created in sites-enabled from default in sites-available [03:16] There is no "squirrel mail" one [03:17] Either chain off the DocumentRoot or add an Alias [03:17] i added one! [03:17] I said I followed the guide [03:17] don't you read?! [03:17] https://help.ubuntu.com/community/Squirrelmail [03:18] lrwxrwxrwx 1 root root 41 Jul 19 22:23 squirrelmail -> /etc/apache2/sites-available/squirrelmail [03:18] 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] I see the problem I think [03:20] the guide has you copy a file to sites-available [03:21] then the url is http://localhost/squirrelmail [03:25] it says copy not link then run a2ensite squirrelmail then service apache2 restart (or reload) [03:29] try it [03:34] my log is [03:34] SoftException in Application.cpp:221: File "/var/www/webmail/index.php" is not in document root of Vhost [03:35] How I fix it so that this file into / var / www / webmail / index.php [03:35] again - it says copy not link then run a2ensite squirrelmail then service apache2 restart (or reload) [03:36] tarvid, read it again. [03:36] I have [03:36] Just try it it should take 30 seconds [03:37] I got it working with a2ensite [03:37] excellent [03:38] ISPConfig looks neat but I have no idea what user space regime it follows [03:38] I have reservations about having users ftp into /var/www [03:39] 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] 14.04? [03:40] Yeah [03:40] And yes, the gateway is suppose to be outside of the range of the ip. [03:41] potfull of problems with 3.13.0 [03:42] FFForever2: "ip route add" not "ip addr add" [03:45] 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] FFForever2: you've got more typos [03:47] ls [03:47] FFForever2: "dns-servers" should be "dns-nameservers" (see "man 8 resolvconf") [03:48] I can make a backup of my mailboxes from my vps to take another vps? knows a way to do this? [03:49] FFForever2: also, the "post-down" rules should be "pre-down" and in the opposite order to the "post-up" rules [03:52] FFForever2: and finally... [03:53] FFForever2: /32 subnets should not have a broadcast address [03:53] TJ-, I'm going off of the OVH documentation [03:55] I'm guessing it needs the broadcast for how their system works? [03:55] FFForever2: that is scary! [03:55] Indeed their documentation is scary.. http://help.ovh.co.uk/BridgeClient [03:55] FFForever2: no... you can't broadcast to yourself! [03:56] Ah.. okay. [03:58] TJ-, How's http://i.imgur.com/9EN5sfz.png? [04:01] 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] FFForever2: and the same for the "pre-down" rules [04:01] okay, removed. [04:03] FFForever2: that *should* be correct now [04:03] how can I restart networking without rebooting? ifdown eth0 says ifdown: interface eth0 not configured [04:04] FFForever2: what does "sudo ifup eth0" say? the same? [04:05] RTNETLINK answers: File exists\r\n Failed to bring up eth0. [04:06] FFForever2: does "ip route ls" show existing routes that need removing? [04:07] No. [04:08] FFForever2: what does "ip addr show dev eth0" report? [04:10] TJ-, http://i.imgur.com/dkt89V2.png [04:13] FFForever2: try "sudo ip addr del 192.99.214.38/32 dev eth0" then "sudo ip link set down dev eth0" [04:16] 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] 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] FFForever2: "network unreachable" is because you've set a gateway outside the subnet of the interface [04:20] FFForever2: the host has a bridged interface for the guests to attach to? [04:22] hey guys, can someone help me debug a segment fault in apache [04:23] TJ-, It does not. [04:23] 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] I have a gdb backtrace but have no idea how to read it properly [04:29] FFForever2: the gateway address is the IP assigned to the host bridge? [04:29] Yeah. [04:29] FFForever2: remove the "gateway" line... let the post-up rule do that work [04:33] TJ-, When running the first post-up rule I get the error either "to" is duplicate, or "gw" is a garbage. [04:37] FFForever2: ahhh... that'll be because "ip route" takes different syntax to "route" [04:37] FFForever2: can you show me what is there now? [04:38] FFForever2: "post-up ip route add default via 192.99.36.254 dev eth0" (and correct the post-down rule too) [04:38] FFForever2: "via" rather than "gw" [04:44] TJ-, Sweet! Networking works flawlessly now :). Thanks a lot for your assistence getting this working. [04:44] FFForever2: you're welcome :) [05:37] Is it possible to configure a local BIND DNS for multiple virtual hosts on the same machine? [06:27] does anyone know where I can find an ETA for PHP5 upgrade for ubuntu 14.04? [06:28] 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] blaaa: probably because Drupal haven't got a CVE id yet [06:34] so maybe I should just roll my own package or set up a drupal environment 'in webspace' myself then [06:36] looks like there is a fixed debian package available already [06:37] and also for utopic [06:42] 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] 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] rahuldroy: What PHP5 upgrade are you referring to? [06:44] brrr: What do you mean with virtual hosts in a BIND/DNS context? [06:47] 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] I don't know if that makes any sense [06:49] andol: probably it's best to use a source install for that stuff then [06:49] brrr: Could you exemplify? [06:51] andol: I have just upgraded to php 5.5.15. The default in 14.04 is 5.5.9 [06:52] There seems to be a bug with fileinfo extension [06:53] 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] I would like to use that same machine as a DNS to resolve those domains on my local network [06:55] brrr: http://pastie.org/9406645 [06:55] brrr: I use virtual hosts all the time on my machine for development purposes [06:56] I've got it working for one domain, but I'm not sure how to expand it to multiple domains [06:56] 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] 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] 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] if I set-up each domain with a forward zone file, how many reverse zone files will I need? [07:01] 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] I am using the PPA https://launchpad.net/~ondrej/+archive/ubuntu/php5?field.series_filter=trusty [07:02] rahuldroy: Well, then ask the PPA owner :P [07:02] andol: nahh this PPA fixed it. The default version from ubuntu has problems :( [07:04] 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] https://wiki.ubuntu.com/StableReleaseUpdates [07:04] I figured that if I could resolve these domains to the same IP, then apache should take care of the rest [07:05] If I use /etc/hosts, I won't be able to access these domains from other computers on the network right? [07:06] 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] andol: thanks for your help :) [07:13] rahuldroy, andol thanks for the responses [07:15] brrr: youu can add it to your dns server and add that there instead of using /etc/hosts [07:16] brrr: apache uses the headers [07:19] yeah, I haven't quite figured out the exact entries to make into BIND [07:25] It should only be the domain name & its associated IP?? === xtriz is now known as dteske [07:32] 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] MavKen: lols [07:33] rahuldroy: but what about the reverse lookup file? [07:33] i dont thing he did anything with the user/pass he was collecting but it could have turned bad for him [07:34] that's the danger of using public computers in general for personal stuff [07:35] brrr: you should be able to do that in your dns server as well [07:36] do I need a reverse lookup file for each domain or just one for that IP address? [07:36] brrr: I have done it heaps of times in a windows DC but never in a router level [07:37] brrr: not really [07:38] brrr: but it is a good practice to do it [07:38] so I don't need a reverse lookup file? [07:40] brrr: I would set it up but in a lot of cases it is not needed [07:40] brrr: it most cases your dns server should do it automatically [07:44] oh === Lcawte|Away is now known as Lcawte [08:13] I got it to work, thanks for the help/suggestions [08:13] brrr: awesome :) [08:14] :) [09:09] Good morning. === Lcawte is now known as Lcawte|Away === a1berto_ is now known as a1berto === moonligh- is now known as moonlight [11:16] hi [11:16] could someone help me get my webmail broke into a poorly succedia update apache [11:17] my ispconfig log [11:17] [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] [Sun Jul 20 08:12:06 2014] [error] [client 201.15.73.95] Premature end of script headers: index.php [11:30] Looks like your script is broken. [11:58] bekks, did this and solved chow chown -R web1:client1 /var/www/webmail [11:59] 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] Sorry, I did not understand that sentence - can you please rephrase it? [12:02] bekks, this directory / var / www / webmail should not ertencer the group www-data? [12:02] this directory / var / www / webmail should not belong to the group www-data? [12:02] That depends on the configuration of your VPS provider. [12:34] wow... what happened here?? [12:34] zpool: ../../lib/libzfs/libzfs_status.c:188: Assertion `nvlist_lookup_uint64(config, ZPOOL_CONFIG_VERSION, &version) == 0' failed. [12:34] Aborted (core dumped) [12:35] Macer: Thats a libzfs core dump. You could try asking in #zfsonlinux [15:26] Good Morning [15:26] afternoon [15:26] or [15:26] good localtime(); === jpds_ is now known as jpds === jpds is now known as Guest68453 === Guest68453 is now known as jpds_ [21:05] 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] menu-container { [22:09] background: #0a97ca; /* Old browsers */ [22:09] background: -moz-linear-gradient(top, #0a97ca 0%, #044386 100%); /* FF3.6+ */ [22:09] background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#0a97ca), color-stop(100%,#044386)); /* Chrome,Safari4+ */ [22:09] background: -webkit-linear-gradient(top, #0a97ca 0%,#044386 100%); /* Chrome10+,Safari5.1+ */ [22:09] background: -o-linear-gradient(top, #0a97ca 0%,#044386 100%); /* Opera 11.10+ */ [22:09] background: -ms-linear-gradient(top, #0a97ca 0%,#044386 100%); /* IE10+ */ [22:09] background: linear-gradient(to bottom, #0a97ca 0%,#044386 100%); /* W3C */ [22:09] filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0a97ca', endColorstr='#044386',GradientType=0 ); /* IE6-9 */ [22:09] padding-bottom:13px; [22:09] clear:left; [22:09] padding-bottom:15px; [22:09] margin-bottom:15px; [22:09] }join [22:15] O.o === N0DE` is now known as CripperZ- === NomadJim_ is now known as NomadJim [23:52] 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] Locke2002: UPS? [23:55] It's a VPS, so I don't know if anything happened hardware-side [23:55] Suppose I can try emailing my provider [23:56] digitalocean? [23:56] ChunkHost, I dunno if they resell [23:56] oh ok