[03:01] I've created a user, developer, that is a member of 'publisher' group. I set ownership of /var/www to root:publisher. Then, as developer, I make a new directory in /var/www. I think I want that new directory to be owned by root:publisher. Is that reasonable and possible? === nxvl_ is now known as nxvl [03:22] billybigrigger: why wouldn't you use the existing www-data group? [03:22] You want /var/www to be setgid, I think. [03:22] eh? [03:23] twb, i think you meant incentifit but he's gone [03:23] Sorry. [03:23] np [03:23] * twb fetches coffee [03:23] im sipping a tea [03:23] tastes good [03:28] anyone aware of a decent apache log analyzer? [03:28] or is it still a battle between awstats and webalizer? i haven't set one up in awhile and was wondering if something new has sprouted [03:29] You could probably run them both [03:29] IIRC they're both straightforward to set up [03:30] yes i know, just wondering if something else with a nicer graphing or anything [03:30] newer [03:30] fresh [03:30] :) [03:31] NFI === aurigus_ is now known as aurigus [04:15] is there a way to check what was the last upgraded packages on a system ? [04:17] maxagaz: /var/log/aptitude and /var/log/dpkg.log === Mike_lifeguard is now known as Mike||gone [04:41] !ops [04:41] Help! Channel emergency! soren, lamont, mathiaz or tom [04:47] Not anymore. [04:48] * foxbuntu is glad he stays inside the Ubuntu community most of the time... #python makes him crazy everytime [04:52] foxbuntu: eh, if #python is the most annoying channel, #ubuntu is second-most [04:53] I was glad when I found the SNR in here acceptable, because sometimes I can't reproduce Ubuntu bugs on Debian (and thus use #debian on OFTC). [04:56] twb, I would agree there [05:24] I'm running a postfix mail server, and when I send mail the from name defaults to my mailserver url instead of the value I get in php any idea why that is? [05:24] That's a sign you aren't setting it properly in your php. Postfix will only do that if From is missing. [05:25] my php is set correctly "From: ".$mail_from."<".$mail_email.">" [05:27] and it's only the mail from variable that changes the actual email address it's sent from goes through correctly [05:29] Well I guess you know more about it than me and will figure it out then. [05:33] I certainly wouldn't say that I know more than you but I had this section of code working before, and after 2 or so emails were sent correctly with it the problem started === MarwolTuk____ is now known as MarwolTuk [05:47] anyone familiar with certificates and csrs? [05:48] im trying to create an insecure key for my mailserver and it's asking for a passphrase, just hitting enter repeats the question [05:48] is it not possible to create a server.key without a password? [06:22] I'm having trouble with the from value on my emails not setting correctly. I'm using postfix and the wordpress mail function http://codex.wordpress.org/Function_Reference/wp_mail [06:24] my code is: wp_mail($email, $mail_subject, $message, "From: $mail_from <$mail_email>"); but all of my emails show the from value as mydomain.com [06:32] ninnypants, it shows right on that page you listed how the header section is supposed to be included. Your code is not correct. [06:35] not sure what you mean. my From: header is in the correct paramater slot am I missing something? [06:36] $headers = 'From: My Name ' . "\r\n\\" [06:39] it still didn't change anything still shows it being from mailserverdomain.com [06:43] hmm how to debug this then.... Show me what you have now as code? [06:43] could it be something with postfix because it was sending correctly for 2 emails or so before the problem started [06:43] oooh fun [06:43] $headers = "From: $mail_from <$mail_email> \r\n\\"; wp_mail($email, $mail_subject, $message, $headers); [06:44] that's the code [06:44] while we're on the postfix topic....i can't seem to get 250-AUTH=LOGIN PLAIN to show when i pass the ehlo localhost command while telneting into my server...any ideas? [06:44] no errors in mail.log [06:45] I haven't used postfix with my web app servers in a while. also the . "\r\n\\" is important I would leave that as is and not include it in the "" [06:45] could be a slow server before I upgraded my ram it took a long time for it to respond to telnet [06:48] still no dice trying $headers = 'From: '.$mail_from.' <'.$mail_email.'>'."\r\n\\"; [06:49] just curious what is the importance of the \r\n\\ I've never had to use it when writeing my own code other than to seperate paramaters with \r\n [06:49] awesome. Well now that I'm sure its not you lets see what we can find. What do the email settings in WP look like? [06:50] in the wp_mail function? [06:51] in the dashboard of WP under settings there should be a tab that says email [06:56] nope nothing [06:58] no tab that is [07:10] I also just tried using ini_set to set the sendmail_from setting in the php.ini to the email address I want it to show up as being from with no luck [07:13] Dessan: you there still? === smackdaddy is now known as cxsss === pan1nx is now known as info === info is now known as help === georg is now known as kwork === alvin_ is now known as alvin [10:33] Is it possible to use packemaker-openais in Karmic to run a load balancer with LVS or does it still have some essential parts of the clustering stack missing? === ogra_ is now known as ogra [11:36] Tried to install open LDAP on 9.10 server. I am not being asked for a password at installation, cannot query anything. How can I set the database password? [11:38] hjm: See bug #447099 for that information [11:38] Launchpad bug 447099 in openldap "No password set on install of slapd-2.4.18-0ubuntu1" [Undecided,Invalid] https://launchpad.net/bugs/447099 [12:14] hjm: in 9.10 the local root user is also the ldap root user as long as ldapi:// is used [12:24] Thanx thats it [13:23] Im trying to follow this guide on mail filtering but it doesnt seem like spamassin is ever invoked. http://doc.ubuntu.com/ubuntu/serverguide/C/mail-filtering.html [13:31] /etc/default/spamassin has "ENABLED=1" and I have followed the guide but no X-Spam headers show up in the message headers. === ogra_ is now known as ogra === orudie_ is now known as Pavel === Pavel is now known as bro === bro is now known as Guest91812 === Guest91812 is now known as paulm [14:13] A X-virus-scanned header appears, so amvisvd seems to work and calles ClamAV successfully.. === johe_ is now known as johe === Mike||gone is now known as Mike_lifeguard === robbiew_ is now known as robbiew [15:50] After an upgrade from 8.10 -> 9.04, my server fails a FS check at boot. It's using a RAID1, which seems to be failing... [15:59] kirkland: hi! [15:59] kirkland: what was the outcome of the virt-manager demotion discussion at UDS? [16:05] mdeslaur: I heard back Gemalto people. Their tokens are only usable with Amazon :( [16:05] soren: darn :( [16:06] Insert "from the" at an appropriate place in that sentence. I don't know how that went wrong. [16:07] soren: I guess amazon subsidizes part of the token price, which is why they're so cheap [16:07] mdeslaur: Probably. [16:07] mdeslaur: If only "some other" company would do the same.... :) [16:08] hehe [16:14] what does this mean? http://pastebin.com/d2f650fe7 [16:15] is anyone here familiar with UML ? [16:15] i'm getting the following error [16:15] I am getting the following error http://pastebin.com/m26a90af8 [16:15] even stranger http://pastebin.com/d7ffea8a6 [16:16] The raid should be comprised of /dev/sdb and /dev/sdc [16:16] So what is md_d0? [16:17] THis seems relevant http://ubuntuforums.org/showthread.php?t=1168360&page=2 === dendrobates is now known as dendro-afk [17:11] I've been following https://help.ubuntu.com/community/LDAPClientAuthentication to setup LDAP authentication. The problem is, only users with posixAccount objectClass are able to login. Is there anyway to get around that? I don't really have access to modify the LDAP. [17:12] New bug: #487696 in samba (main) "[Samba] Error fcntl_lock: lock failed & cached_login don't run" [Undecided,New] https://launchpad.net/bugs/487696 === dendro-afk is now known as dendrobates [17:46] why is it that every few minutes my connection, gmpc to mpd server and icecast stream all cut off when connected from the internet. but i can still ping [17:46] ssh connection [17:47] Hi. just wondering how to create a alias for postfix i.e. mail sent to webmaster@example.com is sent to me@example.com [17:47] Is there anyone nice enough to point me to docs on this subject? [17:48] freefall: Start with man postalias [17:48] I suspect that's what you want. [17:48] or even man aliasees [17:48] man aliases that is [17:49] k thx! [17:50] again thank you Scottk and Lamont, that exactly what I'm looking for, cheers! [17:54] hi, i've just installed 9.10 using the virtual machine option at boot time === freefall is now known as freefallden [17:55] trying to use iptables now, looks like the iptables package wasn't installed by default, installed it and getting fatal errors about missing modules [17:55] FATAL: Module ip_tables not found. [17:57] i've tried installing linux-server and still getting the same error === Mike_lifeguard is now known as Mike||gone [17:58] >Deeps [17:59] DOOOOOOOOOO HO HO HO HO HO [17:59] i lie, i neglected to to actually install linux-server, my bad [17:59] derp [17:59] nm [18:02] where is ubuntu server's ssh log [18:03] i set sshd_config to LogLevel VERBOSE [18:09] zroysch: have you read https://help.ubuntu.com/community/SSH/OpenSSH/Configuring ? [18:11] add-apt-repository is not installed on 9.10 [18:11] kane___: no, but I have checked the /var/log/auth.log file. [18:11] and it seems to not provide much reasons for why i continually get disconnected [18:12] zroysch: intuitively i'd assume keep alive [18:12] i have keep alive set. [18:12] and interval to somethin reasonable? [18:13] furthermore, i'm currently ssh'd into a centos server on the same lan, still across the internet, from the same lan [18:13] it doesnt disconnect unless i tell it to [18:13] KeepAlive yes [18:13] ServerAliveInterval 120 [18:15] is what my /etc/ssh/ssh_config looks like [18:15] zroysch: are you using a public/private key authentication? [18:15] also its not just ssh that breaks down [18:15] the mpd connection and icecast stream also cut out [18:15] all happens at the same time [18:16] seems like tcp fails. ping works even during the downtime [18:16] zroysch: you want your sshD_config, set keepalive there too, and clientaliveinterval [18:16] zroysch: ah, ok, not just localized to ssh then [18:18] kane___: right. and the centos machine has no clientkeepalive line, and it stays up all the time [18:20] is there any way to find out why tcp connections across the internet seemingly fail for this one server [18:20] when i'm connected at home, on the same lan, its all good [18:22] zroysch: just so i get this right; from your client machine, somewhere outside on the internet, you can ssh to 2 machines: an ubuntu and a centos one. the centos one behaves as you expect, but the ubuntu one sometimes drops all tcp traffic? [18:23] it seems so, i'm estimating that it is all tcp. i only connect with ssh, mpd, and an icecast stream to that server [18:23] i know icmp stays up during the 30sec-1min downtime, i can still ping it [18:23] well [18:23] scratch that its pinging the firewall not the server behind it [18:24] Ubuntu server doesnt have "add-apt-repository" installed, how can I install it? [18:25] kane___: another point of interest is that when I connect to the ubuntu problem server from the office windows server (using putty, still across the internet) it appears to remain connected. (i am currently at school where i usually make my connections) [18:48] how come i've been waiting almost 24 hours for my A record and MX records to change to my servers new ip? [18:48] i thought a 1 hour TTL meant changes happen after an hour? [18:57] billybigrigger: there are a lot more factors to it [18:58] e.g. the negative ttl (how long before the dns server will be queried again for a record it has failed to find before) [18:58] anybody good with spamassasin/amisvd? [19:00] benedikt: What's the question? Just ask it. [19:00] > a have a 1tb drive with serveral gbs of pictures and videos(some small clips others a few gb). Data recovery in case of failure could be crucial. Which filesystem would be best for me to use? it is not high performance drive so i dont think speed would be a factor [19:04] http://pastebin.ca/1685806 [19:04] does any of this tell us WHY it is disconnecting? [19:10] android: I would use ext3 [19:11] zroysch: what do you see there that's disconnecting? [19:27] ScottK: i asked earlier, i consider reposting to be rude. But i followed the server guide for mail filtering and spamassisin doesnt seem to be invoked, there are no X-Spam-* headers in mails [19:27] android6011: ext3. And if it is important data you should back it up, preferrably automaticly. [19:30] kirkland, what do you think on having testdrive doing something like "testdrive -t desktop" or "testdrive -t desktop -a i386" instead of having another executable to select a default iso image, or maybe both can be kept [19:35] Is there anything in ufw which would throttle traffic? [19:36] I added a couple masq/forwarding rules and am seeing horrible performance. It could certainly be the network but thought I'd ask about ufw. [19:37] Maelos: how is the perfoance to and from the internet directly on the firewall machine? === dendrobates is now known as dendro-afk [19:40] benedikt: No issues there [19:41] Maelos: and check again with the machines behind it. Could have been a termpoary thing [19:42] I checked numerous times, it's definitely reproducable by putting the machines behind my Ubuntu server. [19:42] benedikt: My first thought is double check your configs as it doesn't take much to get things off kilter. [19:42] * ScottK is sure you've done that, but do it again. [19:43] kilter...? [19:43] anything I didnt do as described in the guide is installing the spf pakage or dkim things, i use neither of those. [19:45] off kilter == bad. [19:45] ah. Ill go through it once again. [19:49] ScottK: also one thing that confuses me. in postfix/main.cf, content_filter is set to 127.0.0.1:10025 but in master.cf there is something set to listen to 10025 . [19:50] now everuthing is quadruple-checked [19:50] is there a gnome/linux application that will let me easily upload photographs to a site like imgur/imageshack ? like right click the file and upload or something in gimp [19:51] what's the iptables command to redirect one local port to another local port? [19:51] benedikt: Do you know for sure the mail is going into amavisd-new? [19:52] ScottK: the mails have a X-virus-scanned header [19:52] benedikt: OK, then we need to look in the amavisd-new config, not postfix. [19:52] what's the iptables command to redirect one local port to another local port? [19:54] ScottK: pastebin from mail.log when a message arrived [19:54] http://pastebin.com/m64f2f09c [19:54] Looking [19:55] when the message get relayed to localhost:10024, its amavisd-new recieving the message [19:56] blackxored: iptables -t nat -I PREROUTING -p tcp --dport someport -j DNAT --to-destination the.other.ip [19:57] OK. [19:57] at least it is the amavis process listening on 10024 [19:58] soren, to my own box from one port to another, just that [19:58] benedikt: Pastebin your amavis config where spamassassin is enabled? [19:58] blackxored: Oh, sorry, I misread your question. [19:59] ScottK: /etc/amavis/conf.d/15-content_filter_mode ? [19:59] soren, so? [19:59] blackxored: iptables -t nat -I PREROUTING -p tcp --dport someport -j DNAT --to-destination :otherport [19:59] blackxored: I think. [19:59] benedikt: Also, silly question, I imagine, but you do have spamassassin installed, right? [19:59] ScottK: yep :-) [19:59] benedikt: If that's where you changed it, yes. [19:59] ScottK: the guide states "First activate spam and antivirus detection in Amavisd-new by editing /etc/amavis/conf.d/15-content_filter_mode". [20:00] ScottK: http://pastebin.com/m3753a6ca [20:00] benedikt: Yes, but the config files waterfall, so you can also do it later, for example in 50-user. [20:01] I agree that looks correct. [20:02] just for reference, this is the guide [20:02] http://doc.ubuntu.com/ubuntu/serverguide/C/mail-filtering.html [20:02] benedikt: When you receive mail can you check using top or your favorite ps invocation to see if the spamassassin process runs? [20:02] That's the one to be using. === dendro-afk is now known as dendrobates [20:06] ScottK: it ran (spamd) [20:06] what would be the best way to set up a basic Ubuntu web server with two machines that are identical? any suggestions? [20:15] benedikt: OK. then the problem is not adding headers, not not running. For that you need to look at spamassassin configuration. [20:16] djveer, u mean a cluster? [20:16] New bug: #487795 in samba (main) "Samba does not start well" [Undecided,New] https://launchpad.net/bugs/487795 [20:18] RoAkSoAx: Is that an option? [20:19] i'm looking for some way to use both machines for high availability [20:19] rather than just having one machine that could fail [20:20] djveer, so yes, clustering... HA Clustering. Have one machine active and the other passive waiting for the first one to fail... to take control of the service [20:20] ScottK: already did, didnt find any pre-specified options for that. im reading manuals so ill probably be able to sort this out [20:20] RoAkSoAx: Is there any Ubuntu documentation on that? [20:21] djveer, we are working on having that, but yes :) this miught help you nout: https://wiki.ubuntu.com/UbuntuHighAvailabilityTeam/Heartbeat [20:21] benedikt: OK. So it's narrowed down. Once you get it sorted, would you let me know so we can get it added to the server guide? [20:22] ScottK: of corse i will. im not sure i have time to sort this out tonight but ill let you know [20:22] RoAkSoAx: thanks very much :) [20:22] Thanks === Mike||gone is now known as Mike_lifeguard [20:23] djveer, are you running karmic? [20:23] who maintain the Server Guide? is it canonical/canonical employees or volunteers from the community? [20:24] RoAkSoAx: um... i'm likely going to be running 8.04 LTS [20:24] not sure what the codename for it is [20:24] hehe [20:24] i've been doing testing on 9.10 though.. which i'm sure is Karmic Koala [20:25] djveer, ok so the tutorial should suit you... since from karmic there are ongoing changes to the cluster packages and things work slightly different. Feel free to ping me if you need help [20:25] RoAkSoAx: will do, thanks a million [20:25] benedikt: volunteers [20:25] benedikt: or volunteer (sommer) [20:26] benedikt: sommer is the person to talk to about server guid (and he's community, not Canonical) [20:29] zul and ScottK: thanks [20:35] hi, I need help creating a new mysql user on my hardy heron server? [20:36] thenetduck: if you are a beginner with mysql i would suggest phpMyAdmin [20:37] seconded. takes all the guesswork out of mundane admin tasks (like adding users) [20:38] i just recond only making it availble through https [20:42] * ScottK points at the security record of phpMyAdmin and suggets thinking about it. [20:43] wich is way i suggested using only https [20:45] benedikt: I have a rails server set up. I can access mysql via command line, I just don't know what to put in haha [20:46] http://lmgtfy.com/?q=mysql+create+user&l=1 [20:47] thank you exitcode1 [20:48] how do I auto create a user's, who is in /etc/passwd, a home dir at first ssh login ? i am using pam_radius_auth to authenticate [20:48] exitcode1: I however have searched google and don't understand it [20:48] can i change the ip addresses of a eucalyptus cc and nc after they have been setup? [20:48] here is my pam.d/sshd file looks like http://pastebin.com/f6e97a75 [20:49] okay, whelp... what do you have, what are you expecting, and what happens instead? [20:49] actually better yet how do I do it even w/o having a entry in /etc/passwd ? [20:49] users authenticates using radius [20:53] exitcode1: i'm confused by the second part. CREATE USER user [IDENTIFIED BY [PASSWORD] 'password'] [20:53] [, user [IDENTIFIED BY [PASSWORD] 'password']] [20:54] exitcode1: do I have to enter the user and password twice? [20:54] or is this example of how to make two users? [20:58] ScottK: this doesnt seem to be an issue, the headers are now showing. I have no idea way, I have backed every single step i have made, but they are still there. My best guess is that spamd has somehow been started with the wrong parameters and restarting the deamon fixed that. [20:58] benedikt: OK. It's officially weird then. [20:58] Let us know if you figure something out. [20:59] I will.. But this doesnt make any sense. I am probably doing another very similar setup in the next few days, ill see how that one behaves [20:59] Great. [21:00] Now i just have to add a nice rbl to the config [21:01] thenetduck: nah thats just for one user. they wanted you to be able to have the word PASSWORD as a label before the password for readability, just like the mandatory USER before the new user's name. has an example: http://dev.mysql.com/doc/refman/5.1/en/adding-users.html [21:02] oh ok thanks [21:05] so I have question about privileges, [21:06] what kinds of privileges should I give a user so it can read/write for my website? [21:06] for mysql [22:44] lo [22:45] Am I in the channel now? [22:45] depends on where you want to be [22:45] :P [22:46] "This is NOT #ubuntu. | You have been sent to this channel because you are using a proxy service...." [22:46] strange, Im not using any proxys === erichammond1 is now known as erichammond [22:49] anyways, I'm annoyed at tasksel, I thought you'd select what you want to install and not what to uninstall. And now all my programs are lost, including sshd... [22:50] **** [22:50] should be a warning [22:51] o_O well, nothing to do about it now [23:20] hello would iptables/ufw questions be better answered in #ubuntu? === robbiew is now known as robbiew_ [23:34] why does apache2 not support phtml? [23:38] Maelos: ufw does nothing with throttling traffic [23:45] billybigrigger: phtml? [23:46] isn't phtml just another name for php? [23:46] or you are talking about embedded perl?