[01:08] <acmehandle> I know I can use netstat to check network connections but how can I check say for example unix socket connections between applications?
[02:15] <pmatulis> acmehandle: try lsof
[09:07] <sergey> How to setup PHP's "mail" function to make it sending emails?
[10:30] <bekks> sergey: you need to setup your mailserver, not "mail()" :)
[10:31] <ikonia> "how do I do that...."
[10:32] <sergey> bekks: How can I do it?
[10:32] <ikonia> seems to be a large ammount of people at the moment seeming to be trying to setup php spam mailers
[10:32] <sergey> ikonia: I need it for testing. It will spam only my email
[10:33] <sergey> needed for "Contact Us" form on web site
[10:33] <bekks> 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] <ikonia> I wasn't talking about you specfically
[10:35] <sergey> bekks: thanks
[12:42] <linuxmint> I've tried fixing apache, but error: http://dpaste.com/1SM3B6R
[12:45] <linuxmint> Oops, easy error. I fixed that, but web interface still doesn't load?
[12:49] <jerrcs> uh, the config doesn't exist?
[12:49] <jerrcs> can httpd read it?
[12:50] <linuxmint> jerrcs: how can I test if httpd can read apache2.conf?
[12:51] <jerrcs> look at the permissions. look at the error log files in /var/log/apache2 ?
[12:58] <linuxmint> 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] <jerrcs> okay, so the error on the actual terminal is probably the one you want to look at. have you reviewed the permissions?
[13:00] <linuxmint> jerrcs: no, I'll check the apache2.conf permissions?
[13:01] <jerrcs> yeah
[13:04] <linuxmint> 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] <jerrcs> That looks fine. I'm not sure, sorry.
[13:05] <jerrcs> You might have more luck in the Apache channel
[13:06] <linuxmint> jerrcs: ok, thanks.
[13:07] <jerrcs> linuxmint: try #httpd
[13:07] <jerrcs> You'll get a lot better help in there
[15:33] <YamakasY> jerrcs: hell no
[15:52] <linuxmint> well, no action in #httpd, so still trying to make the web interface work on Ubuntu.
[15:53] <linuxmint> I ran a command # apachectl -S, which output showed ok results I think. http://dpaste.com/0J36EPZ
[15:53] <teward> it's called 'patience'
[15:56] <linuxmint> 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] <teward> that's the patience problem - he's not patient enough to get help
[16:09] <teward> or chooses bad hours
[16:09] <teward> anyways, back to beatin gthe command line >.>
[20:53] <queeq> Does anyone has experience with streaming from webcam? I'm trying to use ffmpeg though standard configs give errors.
[20:54] <teward> queeq: probably better to ask that in #ubuntu because webcams
[20:54] <teward> (they're not typical with servers)
[20:54] <queeq> Maybe...
[20:57] <teward> but you could also wait here, just sayin.  :)
[20:57]  * teward lurks
[22:39] <linuxmint> 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] <ikonia> web interface ?
[22:47] <ikonia> what web interface ?
[22:53] <linuxmint> ikonia: ZoneMinder web interface.
[22:54] <ikonia> but that won't work if apache isn't running
[22:55] <linuxmint> 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] <linuxmint> 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] <linuxmint> 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] <linuxmint> 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] <linuxmint> ikonia: a rebuild might take 3 hours, but finding the error (which I prefer to do) might take weeks or months.
[23:11] <ikonia> linuxmint: I'm missing the point here
[23:11] <ikonia> have you verified that apache is actually responding on the IP address you think it should
[23:11] <linuxmint> ikonia: sorry, just trying to make the web interface show.
[23:12] <ikonia> yes, but the web interface NEEDS apache
[23:12] <linuxmint> ikonia: no, I didn't know that could be checked.
[23:12] <ikonia> so that would seem a basic check
[23:12] <ikonia> can you connect to port 80 on the ip address you think you should be able to
[23:13] <linuxmint> 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] <ikonia> linuxmint: "you think" - you need to be sure of that
[23:13] <ikonia> attention to detail is critical, and it's pointless to debug things unless you know basic details as fact
[23:14] <linuxmint> 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] <ikonia> linuxmint: knowing how you changed the port is crital
[23:15] <ikonia> but either way you can confirm you can connect to port 8063 on the IP you think it should be available on
[23:19] <linuxmint> 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] <linuxmint> So, now the final issue is connecting to the actual camera, which isn't loading, but the camera is turned on.
[23:20] <linuxmint> 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] <ikonia> is the carmera wireless/networked or connected via usb
[23:21] <linuxmint> ikonia: networked.
[23:22] <ikonia> ok - so thats just going to be accessed via web/url forwarding
[23:24] <linuxmint> 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] <linuxmint> The power is on.
[23:24] <ikonia> so thats up to you to solve with the camera
[23:24] <ikonia> thats not really anything to do with ubuntu
[23:24] <linuxmint> 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] <linuxmint> ikonia: ok then. Thank you.