[01:08] I know I can use netstat to check network connections but how can I check say for example unix socket connections between applications? === Lcawte is now known as Lcawte|Away === zz_DenBeiren is now known as DenBeiren [02:15] acmehandle: try lsof === Elion46 is now known as Elion === bekks_ is now known as bekks === neunon_ is now known as neunon === akaWolf1 is now known as akaWolf === inaddy is now known as tinoco === rww is now known as Guest11685 === Guest11685 is now known as rww === Metachristmas is now known as Metacity === abcd7z is now known as linocisco === the_ktosiek is now known as ktosiek [09:07] How to setup PHP's "mail" function to make it sending emails? === ikonia_ is now known as ikonia [10:30] sergey: you need to setup your mailserver, not "mail()" :) [10:31] "how do I do that...." [10:32] bekks: How can I do it? [10:32] seems to be a large ammount of people at the moment seeming to be trying to setup php spam mailers [10:32] ikonia: I need it for testing. It will spam only my email [10:33] needed for "Contact Us" form on web site [10:33] sergey: By carefully working through https://help.ubuntu.com/community/Postfix and setting up a mail server instance - and never ever forgetting to secure it and not turn it into a spam bot. [10:33] I wasn't talking about you specfically [10:35] bekks: thanks === Lcawte|Away is now known as Lcawte [12:42] I've tried fixing apache, but error: http://dpaste.com/1SM3B6R [12:45] Oops, easy error. I fixed that, but web interface still doesn't load? [12:49] uh, the config doesn't exist? [12:49] can httpd read it? [12:50] jerrcs: how can I test if httpd can read apache2.conf? [12:51] look at the permissions. look at the error log files in /var/log/apache2 ? [12:58] jerrcs: hmm, in /var/log/apache2/error.log, I see error: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message. I fixed this error, but web interface won't load. Logs shows http://dpaste.com/02PTV69 [12:59] okay, so the error on the actual terminal is probably the one you want to look at. have you reviewed the permissions? === Lcawte is now known as Lcawte|Away [13:00] jerrcs: no, I'll check the apache2.conf permissions? [13:01] yeah [13:04] jerrcs: permissions seem fine and web interface loaded before. Not sure why its stopped yet? -rw-r--r-- 1 root root 7135 Dec 26 22:55 apache2.conf [13:05] That looks fine. I'm not sure, sorry. [13:05] You might have more luck in the Apache channel [13:06] jerrcs: ok, thanks. [13:07] linuxmint: try #httpd [13:07] You'll get a lot better help in there === Lcawte|Away is now known as Lcawte [15:33] jerrcs: hell no [15:52] well, no action in #httpd, so still trying to make the web interface work on Ubuntu. [15:53] I ran a command # apachectl -S, which output showed ok results I think. http://dpaste.com/0J36EPZ [15:53] it's called 'patience' [15:56] teward: yes, well I have to go to bed now. It seems my IT issues are advanced and a bit too difficult for chat rooms to fix. I usually end up fixing on my own. Have another Ubuntu issue I'm working on since 20/09/2014. [16:09] that's the patience problem - he's not patient enough to get help [16:09] or chooses bad hours [16:09] anyways, back to beatin gthe command line >.> === bilde2910|away is now known as bilde2910 === bilde2910 is now known as bilde2910|away === bilde2910|away is now known as bilde2910 === bilde2910 is now known as bilde2910|away [20:53] Does anyone has experience with streaming from webcam? I'm trying to use ffmpeg though standard configs give errors. [20:54] queeq: probably better to ask that in #ubuntu because webcams [20:54] (they're not typical with servers) [20:54] Maybe... [20:57] but you could also wait here, just sayin. :) [20:57] * teward lurks === RoyK^Work^ is now known as RoyK^Work === rcj is now known as Guest24921 [22:39] I tried # /etc/init.d/apache2 status > # apache2 is running. But I can't tell if there's a fault there, as web interface still doesn't load? [22:47] web interface ? [22:47] what web interface ? [22:53] ikonia: ZoneMinder web interface. [22:54] but that won't work if apache isn't running [22:55] ikonia: yes, I suppose so. I have tested the ZoneMinder server with command # /etc/init.d/apache2 status, which shows output * apache2 is running. [22:57] ikonia: I did find /etc/network/interfaces had the router old IP address, (I could still ping 192.168.1.163), so updated gateway IP and reboot, but same issue. [23:01] ikonia: unless the device is on but faulty, or the device reset its IP address which I can't access. Anyway, I should still be able to see the ZoneMinder's web interaces as ZoneMinder server is running and I can ping the ZoneMinder server. [23:03] ikonia: well, only other option is to rebuild the whole server again and test if it works and find the error, as noone seems to know how to find the problem? [23:04] ikonia: a rebuild might take 3 hours, but finding the error (which I prefer to do) might take weeks or months. [23:11] linuxmint: I'm missing the point here [23:11] have you verified that apache is actually responding on the IP address you think it should [23:11] ikonia: sorry, just trying to make the web interface show. [23:12] yes, but the web interface NEEDS apache [23:12] ikonia: no, I didn't know that could be checked. [23:12] so that would seem a basic check [23:12] can you connect to port 80 on the ip address you think you should be able to [23:13] ikonia: I'm not sure how to do that. I think I changed the port from 80 to 8063, to allow remote access. [23:13] linuxmint: "you think" - you need to be sure of that [23:13] attention to detail is critical, and it's pointless to debug things unless you know basic details as fact [23:14] ikonia: well, yes, the port was changed from 80 to 8063, but I can't remember how to check that, unless it's in httpd.config or a file like that. [23:14] linuxmint: knowing how you changed the port is crital [23:15] but either way you can confirm you can connect to port 8063 on the IP you think it should be available on [23:19] ikonia: yes, you're right. I referred to my history notes. /etc/apache2/ports.conf show syntax: Listen 8063. The URL worked. I tried before but maybe I made a typo. [23:19] So, now the final issue is connecting to the actual camera, which isn't loading, but the camera is turned on. [23:20] It is possible the camera reset its IP, but I need to think how to access the camera's set or default IP address. [23:21] is the carmera wireless/networked or connected via usb [23:21] ikonia: networked. [23:22] ok - so thats just going to be accessed via web/url forwarding [23:24] ikonia: ok. I typed in the camera's IP http://192.168.1.200:88, but error: This web page is not available. I can't do a ping test on the camera. [23:24] The power is on. [23:24] so thats up to you to solve with the camera [23:24] thats not really anything to do with ubuntu [23:24] ikonia: I did notice when plugging the PoE with LAN cable to WAN the wrong way around, it made a difference, but I'm pretty sure the cable is the right way around now. [23:24] ikonia: ok then. Thank you.