[02:35] <dragun0v> general question: IS the ssh -f switch (where ssh goes into background before cmd exe)... is that similar in concept to running processes in background using ctrl+z and bg or using screen?
[03:14] <LeinardoSmith> anyone still on here?
[03:14] <LeinardoSmith> I need help with cupsaddsmb
[03:21] <LeinardoSmith> anyone?
[06:59] <eagles0513875_> good morning everyone where does ubuntu install squirrelmail by default on one's
[06:59] <eagles0513875_> system
[06:59] <eagles0513875_> reason im asking is im wanting to install a plugin but cant seem to find where its installed on my system
[09:28] <Antar> Hi
[09:28] <Antar> guys anyway to display php errors on Lamp server
[09:29] <Antar> please ......
[09:31] <bekks> Enable php error logging.
[09:36] <Antar> bekks
[09:36] <Antar> where and how
[09:36] <bekks> Which ubuntu do you use?
[09:36] <Antar> 12.04.04
[09:37] <Antar> sorry 12.04.03
[09:38] <bekks> Look at the php.ini used by your apache webserver, look for display_errors and error_log.
[09:38] <Antar> the php ini fie have been changed
[09:38] <ice9> Is it safe to use the auto generated SSL certifications during the installation of packages like Dovecot or Postfix?
[09:39] <andol> ice9: Save, from what?
[09:39] <andol> s/save/safe/
[09:39] <bekks> Antar: Then look at the changes.
[09:40] <ice9> andol, I mean are those certs get generated during the installation or they are already created and put inside the installer and then they are copied and used?
[09:42] <Antar> bekks what should i change ?
[09:42] <Antar> which param ?
[09:42] <bekks> Antar: I just told you.
[09:43] <Antar> display_errors to ..
[09:43] <bekks> Antar: Please read the documentation of that paramater :)
[09:43] <Antar> ; display_errors ;   Default Value: On ;   Development Value: On ;   Production Value: Off
[09:44] <andol> ice9: A quick look suggests that the dovecot ones are generated during install, while the postfix (snakeoil) ones are copied
[09:44] <bekks> Antar: So you know the possible values now.
[09:44] <ice9> andol, where did you find this please?
[09:44] <Antar> Exactly
[09:45] <Antar> what should i do
[09:46] <bekks> Antar: You have to tell us the current value...
[09:46] <andol> ice9: The keyword being a quick look, still not entirely sure on the postfix ones. Checked it by downloading the source packages and looking inside (apt-get source dovecot, apt-get source postfix)
[09:46] <Antar> current value is off
[09:47] <bekks> Antar: Then read the meaning of the possible values again.
[09:49] <Antar> bekks cant understand
[09:50] <bekks> Antar: http://php.net/manual/en/errorfunc.configuration.php
[09:51] <Antar> so instead of on ... 1
[09:51] <Antar> ??
[09:51] <bekks> Antar: No,
[09:51] <Antar> ??
[09:52] <Antar> can you give me a preconfigured php.ini file =
[09:52] <Antar> '
[09:52] <bekks> Antar: Boolean values are On/Off, true/false, 0/1 -- if the current value is Off and you want to _display_ the values... how about chaning it to "on"?
[09:53] <bekks> *changing
[09:53] <Antar> bekks Yeah exactly what i did
[09:53] <bekks> Antar: Then check the location of the error log now and configure it to your needs.
[09:53] <eagles0513875_> Antar: you probably want to restart the web server for your changes to take effect
[09:54] <eagles0513875_> bekks: Antar probably isnt restarting their webserver
[09:54] <bekks> eagles0513875_: I know - he isnt yet done with the config.
[09:54] <eagles0513875_> oh ok
[09:54] <eagles0513875_> my bad :(
[09:54] <bekks> But he knows everything he needs now :)
[09:54] <Antar> eagles0512875 doyou mean service apache2 restart ?
[09:55] <eagles0513875_> i do have an interesting question if one has web sites or web apps what is the advantage of using /usr/share instead of /var/www
[09:55] <bekks> Antar: First, check the location of the error log.
[09:55] <eagles0513875_> Antar: yes sudo service apache2 restart unless you are ina  root prompt
[09:55] <ikonia> eagles0513875_: there is no advantage - it's a file system, nothing more
[09:56] <eagles0513875_> ikonia: ok as i find it a bit strange that ubuntu when installing from the package it puts squirrelmail in /usr/share instead of /var/www
[09:56] <Antar> Yeah
[09:56] <Antar> it is steal off
[09:56] <ikonia> eagles0513875_: why is that strange ?
[09:56] <eagles0513875_> seeing as squirrelmail is web based you would think it woudl be put by default in /var/www
[09:56] <eagles0513875_> Antar: did you save any changes you made
[09:56] <eagles0513875_> and what editor are you using
[09:57] <Antar> Yeah of cours
[09:57] <ikonia> eagles0513875_: bravo on once again reading nothing on the package before installing and asking question
[09:57] <Antar> nano
[09:57] <ikonia> eagles0513875_: let bekks finish helping
[09:57] <Antar> or gedit
[09:57] <bekks> Antar: So which php.ini file did you edit?
[09:57] <ikonia> eagles0513875_: there reason it puts things in /usr/share is so that other sites (as ubuntu uses virtual namebased hosts by default) can use it
[09:57] <Antar> or gedit
[09:58] <Antar> it is /etc/php5/apache2/php.ini
[09:58] <eagles0513875_> ikonia: ok are you referring to vhost's like apache uses?
[09:58] <eagles0513875_> or am i misunderstanding the concept here
[09:58] <ikonia> eagles0513875_: if you look at the package it actually creates a redirect to use /usr/share/squirrelmail to reference those files
[09:58] <eagles0513875_> ahh ok :) got it now
[09:58] <ikonia> eagles0513875_: like apache uses ??? it IS apache.....do you not know what webserver you are using ?
[09:58] <bekks> Antar: And thats the php.ini file your apache is using?
[09:58] <eagles0513875_> i do you meantioned virtual name based hosts i wasnt sure if that was something internal to ubuntu or to the web server
[09:59] <Antar> i dont know but a lot said that
[09:59] <Antar> is there another
[09:59]  * eagles0513875_ goes into silent mode
[09:59] <ikonia> virtual name based hosts, is an apache parameter
[09:59] <bekks> Antar: Of course. Thats why I said: look at the php.ini file your apache webserver is using.
[09:59] <Antar> ok
[09:59] <eagles0513875_> ok thanks for clearing that up for me ikonia  ill be honest i havent gone into great detail in terms of the inner workings of apache hence why i wasnt sure what you meant
[10:00] <bekks> Antar: Create an php file with phpinfo() in it to see where the configuration used by apache is located.
[10:01] <eagles0513875_> bekks: seems like he quit or closed out of the web chat
[10:59] <baswazz_> hdparm (spindown) does not work anymore. I installed ubuntu 12.04.3 lts edited the /etc/hdparm/conf removed the # from the line that say spindown_time = 120 (10 min) reboot and it did work fine. After installing some packages (tvheadend, oscam-svn, zfsonlinux, sabnzbdplus) i rebooted again. Only the drives do NOT spindown anymore. If i do 'sudo hdparm -y /dev/sdb for example the drive spins down.
[12:21] <baswazz_> anyone who could help me out with hdparm
[13:07] <ice9> How to determine the number of threads of a running process?
[13:12] <patdk-lap> I normally just guess
[13:14] <patdk-lap> you want to try 'man ps'
[13:14] <patdk-lap> likely the T and m options
[20:07] <Kaelten> Anyone know if Apache 2.4 got removed from the 12.04 repo?  IT looks like it has
[20:08] <RoyK> didn't know it was there in the first place
[20:08] <Kaelten> it was, had to adapt a bunch of scripts to it as a result
[20:08] <Kaelten> and now it's not there which means it's poof
[20:09] <RoyK> https://launchpad.net/ubuntu/+ppas?name_filter=apache2
[20:21] <qman___> it most definitely was not, it is in the upcoming 13.10 though
[20:21] <qman___> if you had it you got it from a third party source
[20:33] <g0tcha> hey guys, im having some issues with a new install of an ubuntu server, i can ping an ipv4 internet address without any issues but i cannot resolve hostnames
[20:33] <g0tcha> i have static ip setup and i tried with both my isp and google's dns servers and its still the same.. anyone can help me out with this maybe?
[20:33] <g0tcha> server 12.04
[20:36] <RoyK> g0tcha: possibly wrong dns resolver config?
[20:36] <g0tcha> if i try 'dig @8.8.8.8 google.com'  it resolves fine
[20:36] <RoyK> pastebin /etc/resolv.conf
[20:36] <RoyK> and /etc/network/interfaces
[20:37] <g0tcha> i thought in ubuntu server 12.04, i dont need to edit /etc/resolv.conf anymore?
[20:37] <RoyK> g0tcha: no, it's generated by dhcpcd or /etc/network/interfaces contents
[20:37] <g0tcha> this is my /etc/network/interfaces http://paste.ubuntu.com/6052744/
[20:38] <RoyK> you probably won't reach that ipv6 dns server without an ipv6 address ;)
[20:38] <Kaelten> qman__: hrm, it's possible we're using several, none tarted at apache2 but you know how that goes
[20:39] <g0tcha> RoyK, i have ipv6 from my isp thats active, so i added google's ipv4 and ipv6 nameservers, is that wrong?
[20:39] <RoyK> try to remove the ipv6 dns server and try with ipv4 only
[20:40] <RoyK> then - if that works - you know where the error is
[20:40] <g0tcha> RoyK, just tried, still does not resolve
[20:40] <RoyK> what's in resolv.conf?
[20:40] <qman__> cat /etc/resolv.conf, does it contain what you expect?
[20:41] <g0tcha> no, its empty
[20:41] <g0tcha> it says there in caps not to edit that file manualy
[20:41] <RoyK> then your system can't resolve anything
[20:41] <qman__> sounds like resolvconf hasn't updated it
[20:41] <qman__> not sure how to kick it manually, but a service networking restart will probably do it
[20:42] <g0tcha> qman__, i restart the service each time i do a change to the network interface with no change
[20:43] <g0tcha> i added it manually and it works fine now
[20:44] <g0tcha> im gonna try to reboot and see if the changes stick
[20:45] <g0tcha> nope.. cant resolve a hostname after a reboot :/
[20:47] <qman__> oh, I just caught it
[20:47] <qman__> you typoed nameservers in your interfaces
[20:47] <qman__> missing the e
[20:49] <qman__> g0tcha, dns-namservers -> dns-nameservers
[20:49] <g0tcha> damn.. good eye dude
[20:49] <g0tcha> that did it
[22:49] <mojtaba> Hi, Is there anyway to encrypt all the emails in the inbox? I know how can I send encrypted emails using public key with enigmail and Thunderbird. I am using IMAP and I would like to have all of my emails encrypted on the server.
[22:50] <Patrickdk_> is there a point? the email just passed through the open internet, without encryption, everyone on the earth could have read it
[22:53] <mojtaba> Patrickdk_: I did not use encryption before and now I just want to encrypt all of my emails in the server. (I think there could be a way to encrypt them locally and then synchronize it on the server.)