[00:11] Hi guys, just want to inform you about a new open source email communication gateway project for ubuntu. check it out www.openas.org / feel free to join us in #openas [01:06] what do I need to do so I can ping / ssh by hostname on my ubuntu server instead of IP? [01:11] setup DNS [01:15] ProfessorKaos64: implement "hostname resolution" - (① local file like /etc/hosts or ② a local OR internet-based mechanism like DNS) [01:16] ProfessorKaos64: things to know: will you want others to do the same (or just yourself) and whether your server is internet-based or not [01:16] just local LAN [01:16] sup [01:16] ProfessorKaos64: simplest is a local file then [01:17] (/etc/hosts) [01:17] anyone can help me with dovecot/postfix/thunderbird for lan-only email system ? I'm been looking and following guides for 2 weeks all over the net with no solutions because they all need MX and FQNS. [01:17] I know of /etc/hosts, but this typically isn't an issue for my other computers, this is what I have in /etc/hosts [01:17] 127.0.1.1 test-smb.192.168.11.100 test-smb [01:17] Does the 10.04.4 LTS server come with a private cloud solution? [01:18] ProfessorKaos64: state the problem you're having in simple terms [01:19] my archbox machine can only ping my newly created ubuntu server box by IP [01:19] Normally I can see all client PCs on other distros, so I figured I just needed to add something [01:19] I ask here because I see it is not where ubuntu pr is pointing. [01:19] ProfessorKaos64: what is the IP address and what name do you want it known by? [01:21] 192.168.11.155 test-smb [01:23] ProfessorKaos64: normally you want a FQDN for the name as well as just the hostname [01:23] I mean, yea I could set this on ddwrt, but I normally don't have to [01:23] 192.168.11.155 test-smb.example.com test-smb [01:24] That would go in the hosts file of my Arch machine or the ubuntun server? [01:24] the one doing the pinging [01:24] (ping sender) [01:24] ok [01:25] what IP address does the sender have? [01:25] 192.168.11.130 [01:25] ok [01:26] works now thanks, so why normally is this not needed? is it because the ubuntu server doesn't typically report the hostname in the same way regular ol' ubuntu 14.04 LTS would? [01:27] ProfessorKaos64: i don't follow. is what not needed? the above is needed to resolve the hostname to an address [01:27] unless you use another method such as DNS [01:28] normally, I can just ping any other PC on my network, I only had to add the ubuntu server. Perhaps the hostname is just not advertised the same. I can check my ddwrt setup [01:28] It looks like the desktop is not accessing the /etc/hosts file. [01:28] to ping by name you MUST have some kind of name resolution set up [01:29] It is attempting to resolv a name that is in the file, why is this? [01:30] fingertips: huh? [01:30] fingertips: what problem are you having? [01:30] I have just stated the problem. [01:31] fingertips: what is attempting to resolve a name that is in what file? [01:32] firefox and nslookup for example [01:32] They are attempting to resolve a name that is in /etc/hosts [01:33] fingertips: so? [01:33] fingertips: are you using DNS? [01:33] Does the software not look for it in /etc/hosts before contacting a dns server? [01:37] fingertips: it depends how the host is configured (nsswitch.conf) [01:39] fingertips: but some tools, and i believe nslookup is one of them, are strictly DNS thingies. the host tool is one of them [01:43] nslookup, host & dig only use DNS, IIRC [01:43] I take it firefox is using an internal resolver then? [01:44] it uses the system (C-library) resolver [01:44] there is some diagnostic tool that uses that too, but I forgot its name :) [01:45] anyone can help me with lan-network(intranet) mail postfix-dovevot ? [01:45] !ask | newbieubuntu [01:45] newbieubuntu: Please don't ask to ask a question, simply ask the question (all on ONE line and in the channel, so that others can read and follow it easily). If anyone knows the answer they will most likely reply. :-) See also !patience [01:50] fingertips: are you familiar with any scripting language like Python or Perl? most such languages have functions that call the "system resolver" function [01:50] PHP probably has it too [01:53] familiar with shenanigans [01:57] ^ [02:03] Something funny is going on with firefox. [02:03] fingertips: see 'man getent' [02:04] more specifically the "*hosts*" related databases [02:05] looking [02:05] that should show how most applications resolve domain names [02:05] * JanC off to bed now [02:09] HexChat: 2.9.6 ** OS: Linux 3.5.0-17-generic i686 ** Distro: Debian wheezy/sid ** CPU: 2 x AMD Phenom(tm) II P650 Dual-Core Processor (AuthenticAMD) @ 800MHz ** RAM: Physical: 7.7GB, 91.3% free ** Disk: Total: 5.3GB, 56.7% free ** VGA: Advanced Micro Devices [AMD] nee ATI RS880M [Mobility Radeon HD 4200 Series] ** Sound: HDA-Intel - HDA ATI SB1: HDA-Intel - HDA ATI HDMI ** Ethernet: Realtek Semiconductor Co., [02:09] Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller ** Uptime: 17h 38m 16s ** [02:12] anyone can help me with lan-network(intranet) mail postfix-dovevot ? i've followed this youtube video https://www.youtube.com/watch?v=1yKwIWRL97Q but i cant login from the windows client to the squirrelmail login page [02:13] its like this, I want to set up a mail system so that 5 of the windows clients in my home can email one another, but through lan and not internet. [02:16] newbieubuntu, just use postfix [02:17] fingertips, is there any guide i can follow ? [02:18] the man pages [02:19] newbieubuntu: just google 'postfix dovecot ubuntu' [02:20] you don't need dovecot or squirrelmail [02:20] you can just use postefix and the ip address or setup a wins name [02:26] dovecot would be incoming IMAP or POP3 unless they want to use another POP3 server [02:31] newbieubuntu, that is not for internal home email systems === fingertips is now known as pentagon_ [02:35] what, guys [02:35] so postfix is sufficient [02:36] do i set up all the login mail accts from ubuntu itself ? [02:37] googling "postfix dovecot ubuntu" shows up all the setting require QNDS, Domains, MX records [02:37] newbieubuntu: what is it that you are wanting to do [02:39] cryptodan, i want to set up a ubuntu mail server from scratch, make a mail system that allows the windows clients on my lan network to mail each other using thunderbird [02:39] then you will need dovecot and postfix and that is it [02:39] if you install Ubuntu Server 14.04LTS you can accomplish this [02:40] i had it install [02:40] did you do a sudo tasksel? [02:40] and select mail server [02:40] it will not be using internet connection, because i dont have a FQDN [02:40] that can be anything like yourlan.lan [02:41] setup a local DNS Server for that youlan.lan [02:42] you don't need DNS [02:42] ... ... [02:42] i have make this mail.mail.local [02:43] following https://www.youtube.com/watch?v=1yKwIWRL97Q [02:44] confusing d.... [02:44] DNS for mail provides a MX record. this tells a sender (usually an MTA) what next MTA to send mail to. here, tbird will send directly to the ubuntu postfix server which will be the final destination so it won't need to do a MX lookup to send somewhere else [02:45] newbieubuntu, all you need is postfix and use the ip addresses as mail addresses [02:45] is there any simple guide i can follow. those i gets from google, i simply cut &paste the command changing the IP but its so confusing [02:45] whaaaat? [02:45] pentagon_: he wants incoming as well [02:46] read what he wants [02:47] windows (tbird) --> SEND --> ubuntu (postfix/MTA) [02:47] windows (tbird) <-- RETRIEVE <-- ubuntu (dovecot/IMAP) [02:48] in tbird you can choose your MTA (SMTP server). so that's where the SENDER points to [02:48] and same for retrieving. you choose your IMAP server [02:48] hi. im trying to set up 2 apache vhosts on one machine (one ip, 2 dns). but im not getting apache2 to use different root paths for the two domains. i followed the instructions here https://httpd.apache.org/docs/2.2/en/mod/core.html#virtualhost and had a look at the examples here https://httpd.apache.org/docs/2.2/vhosts/examples.html ... to no avail. what might i be doing wrong [02:52] cryptodan, pmatulis, pentagon_ @ hmmm [02:53] newbieubuntu, keep it simple [02:53] or should i learn how to set up a dns server first [02:53] newbieubuntu: why? [02:55] it doesn't help if im just following onlien guides blindly [02:55] can you guys tell me, what basic concept i should grasp first ? [02:55] newbieubuntu, keep it simple [02:55] newbieubuntu: i just told you the basics. go from there [02:56] gandi.net uses vhosts [02:58] pentagon_: sorry, was that referred to me? [03:23] It looks like this system has avahi. Does avahi act as a client and caching server? [03:27] I resolve to call her up. === markthomas|away is now known as markthomas === bilde2910|away is now known as bilde2910 === bilde2910 is now known as bilde2910|away === exixt is now known as exixt_ [05:57] avahi [05:57] Does dnsmasg rely on avahi? [05:58] dnsmasq === exixt_ is now known as exixt [06:22] Ubuntu is not designed to work well with a firewall. [06:22] Wasn't there a kid looking to add firewall rules earlier? [06:22] Where are the logs. [06:23] There is some loopy fiasco going on with the DNS setup.\ [06:25] Wrong channel it was in #ubuntu. [06:32] you guys have a package to manage upstart system services in /etc/init easily? or you still use the service.override trick? [06:44] pentagon_: "not designed to work well with a firewall"? [07:00] The_Tick, It never was. [07:01] I'm not really sure exactly what that's supposed to mean though, I mean it's just linux [07:02] is there some modification to the stack that's horribly different than the standards? [07:02] horribly? [07:08] the logs are wherever you decided to log to [07:08] by default there are none [07:08] just as by default there are no rules [07:10] it's still iptables right? [07:10] yes [07:10] and optionally ufw [07:10] ya that's not bad [07:10] logging traffic by default is a surefire way to fill up disks unexpectedly [07:11] is there some gui to help configure the rules and optionally log the specific rules? [07:11] agreed, that'd be dumb [07:14] Good morning. [07:14] I don't know if there are any GUI frontends for ufw. There are numerous ones for iptables and I can't recommend any of them. [07:15] Gufw ;) [07:15] Though it keeps its own tables... [07:16] qman__: ya just thinking for people with a lot of rules sometimes it's nice [07:17] but I don't understand the claim about it not being designed to work well with a firewall [07:19] a well written shell script is vastly superior to any GUI tool for iptables [07:20] ufw works a little different and it may work better there [07:20] eh a gui is nice for seeing it all [07:21] shell script could do that but it'd be fairly complicated, and iptables -L isn't utterly great sometimes [07:22] regardless my point wasn't about that, whatever you do to admin it is fine [07:23] Each admin has their own tools they prefer, eh ;) === psivaa-holiday is now known as psivaa [09:02] java [09:03] Wrong window ^^ [09:04] faylite: No swearing :P === Lcawte|Away is now known as Lcawte === Lcawte is now known as Lcawte|Away === Lcawte|Away is now known as Lcawte === zz_DenBeiren is now known as DenBeiren === exixt is now known as exixt_ === Lcawte is now known as Lcawte|Away === Lcawte|Away is now known as Lcawte === TheBurgerKing_ is now known as TheBurgerKing === Guest4725 is now known as balloons === balloons is now known as Guest12343 === Guest12343 is now known as balloons_ === exixt_ is now known as exixt === Guest49681 is now known as jrgifford === Lcawte is now known as Lcawte|Away === Lcawte|Away is now known as Lcawte === MeltedDed is now known as MeltedLux === blake_r-afk is now known as blake_r-austin [15:58] welcome dhill5156 [15:58] Hi all, my 12.04 server edition of Ubuntu doesn't detect my RAID5 array on my HP Gen9. What driver do i choose/need to use to resolve this??? [16:01] or is there a way of upgrading the 12.04 kernel to detect this array? [16:03] the only array controller drivers on HP's site are under the windows sections [16:03] and i put it onto a usb [16:03] but 12.04 doesn't like it [16:07] hey people [16:08] i'm running three domains on my server, what is my FQDN? === txspud` is now known as txspud [17:03] Hello i have a problem [17:05] I establish a ssh tunnel to a remote machine B with -L 1234:C:5678 and i dont receive the response since the third machines C send the request to a port that is not forward, how can i fix it? === exixt is now known as exixt_ === bilde2910|away is now known as bilde2910 [17:48] ReScO: well, what are the hostnames and what are the domain names? [17:49] i've figured it out [17:49] i've called my machine deltapi [17:49] and i've set my PTR to pushforward.nl [17:49] so my fqdn is deltapi.pushforward.nl [17:50] right? [17:50] ReScO: as long as your /etc/hosts file agrees with that then yeah. test with 'hostname -f' === balloons_ is now known as balloons === balloons is now known as Guest26895 === Guest26895 is now known as balloons_ === med_` is now known as medberry === medberry is now known as Guest50599 === Guest50599 is now known as med_ === liam_ is now known as Guest63751 [19:29] hallyn, any chance you know if sgabios known to work okay on trusty ? trying to set for a domain, and see it passing the expected '-device sga' to qemu, but not getting anything from early boot on the serial === MeltedLux is now known as MeltedDed === TheBurgerKing_ is now known as TheBurgerKing === keithzg_ is now known as keithzg === MeltedDed is now known as MeltedLux [19:59] adam_g: haven't looked into it. the pkg hasn't changed in ubuntu or debian since dec 2013 [20:00] hallyn, actually i just found the issue, apparmor is denying libvirt's open of /usr/share/misc/sgabios.bin [20:00] i'm completely stuck trying to set up postfix+dovecot+mysql [20:00] http://paste.ubuntu.com/9060045/ postfix conf [20:00] adam_g: oh, feh. pls file a bug and i can push that at least to vivid today [20:00] hallyn, will do [20:01] thanks [20:01] ReScO: could you try linux-image-3.16.0-22-generic_3.16.0-22.29+jj_amd64.deb it has a bug fix for an issue that seems to be triggering with postfix [20:02] jjohansen: why would i need to install a package when i'm having configuration issues [20:03] ReScO: oh, I missed that. I saw apparmor rejection and postfix when doing a quick scan [20:03] I know the bug can trigger apparmor rejections with post fix [20:03] ReScO: do you have any DENIED lines in dmesg or audit log? [20:04] ReScO: it might yet be related :) [20:05] sarnold: i'm trying to set up postfix [20:05] but i'm having trouble [20:05] i have three domains [20:05] one has a SSL cert [20:05] the others don't [20:05] but, the domain with ssl is not the main email address domain [20:06] (api1.nl is the SSL domain, pushforward.nl is the important domain to catch email for) [20:06] i'm also stuck at how to set up such a server, the MySQL part is working and verified as working [20:07] any way I can automatically update the repo lists in /var/lib/apt/lists/ instead of having to manually do 'sudo apt-get upgrade'? [20:07] i am getting a lot of alerts on servers im managing about stale apt-cache [20:07] of course apt-get update resolves it [20:07] sorry not apt-get upgrade [20:09] bantone: if you're getting tired of manually managing your apt-get upgrades .. you could use the unattended-upgrades package, or you could use landscape.canonical.com [20:10] ReScO: sorry, I'm not postfix expert, I just know that some newer versions of apparmor had unexpected influence on postfix. but if you don't have any DENIED messages from apparmor, it's unrelated, and that's the limit of my knowledge :( [20:10] ditto [20:13] sarnold: awesome [20:25] hallyn, https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1393548, there y'ar. [20:25] Launchpad bug 1393548 in libvirt "libvirt's apparmor profile denies access to sgabios.bin" [Undecided,New] [20:34] adam_g: thank you sir === balloons_ is now known as balloons === balloons is now known as Guest23152 === Guest23152 is now known as balloons_ === ToastOffice is now known as StolenToast === markthomas is now known as markthomas|away [21:03] Do i have to do something to start /etc/cron.hourly? [21:03] it looks like my job does not run (though im not totally sure) [21:05] The scripts in it must be exectable to runai you can check /var/log/syslog to see if it's running [21:05] shredding: any errors in logs? [21:07] A non intuitive limitation, it won't run any scripts named with .sh on the end [21:08] i have something like this [21:08] o_O [21:08] http://pastebin.com/DgUyt6pk [21:08] interesting [21:08] /etc/cron.hourly/myscript works, /etc/cron.hourly/myscript.sh does not [21:08] my script ist just named „fetch_followers“ [21:08] $ run-parts --test /etc/cron.hourly [21:09] return „/etc/cron.hourly/fetch_followers" [21:09] can you read that email sent to root? I bet it contains the stderr of your job.. [21:09] how would i do that? [21:10] I’m root [21:10] i guess the main problem is that i’m root and not someone with knowledge ^^ [21:11] lol [21:11] mutt or pine or mail or less /var/spool/mail/root or something similar [21:11] found it. [21:11] http://pastebin.com/8UD3bAmn [21:12] not sure what it means, though [21:12] oh [21:12] first line of my script is #/bin/bash [21:12] is that a problem? [21:12] #!/bin/bash would look better [21:13] obviously :) [21:14] Make sure you set PATH in your script if needed, cron runs with a minimal one [21:14] I'm pretty sure the "hash" instead of "hash-bag" was te problem [21:15] "hash-bang" [21:15] cool [21:17] thank you all! [21:22] If I can SSH into a machine on an internal network, what's the easiest way to set up a VPN such that I have NAT access to that network through the machine via SSH? [21:23] tkeith_: I've seen an ssh+ppp "vpn" thing before, dunno if it's really the easiest way to get there though [21:23] sarnold: I mean, I can get "almost" there with SOCKS tunneling, it seems like there must be a tool to make it easy to just get full NAT! But I could be totally wrong... [21:25] sshuttle? [21:25] tcp only though [21:26] jhobbs: That should do the job... thanks! === bilde2910 is now known as bilde2910|away [21:44] anyone something as easy to use as newrelic servers but that is self managed? (but not cacti, naggios, zabbix, zenoss) [21:48] tafa2: what's "newrelic"? [21:48] http://newrelic.com/server-monitoring [21:50] so what's wrong with the 4 you named compared to them? [21:50] what features do you need they don't offer? [21:50] ive tried all 4 [21:51] and all are good and stable [21:51] but so heavy [21:51] resource intensive === balloons_ is now known as balloons [21:52] that probably depends on configuration also, dunno [21:52] probably === blana is now known as blanoz^hunting === markthomas|away is now known as markthomas === MeltedLux is now known as MeltedDed === WhiteIntel_ is now known as WhiteIntel