nathwill | poseidon: https://help.ubuntu.com/12.04/serverguide/ | 00:02 |
---|---|---|
cc77 | JonEdney, I alway do aptitude update then aptitude safe-upgrade | 00:14 |
JonEdney | cc77, whats the difference if you dont mind me asking? | 00:15 |
cc77 | update lists the newest packages. And mind asking, found you something btw: https://help.ubuntu.com/community/AptitudeSurvivalGuide | 00:17 |
cc77 | JonEdney, basically safe-upgrade just updates all packages. And full-upgrade will also latest ubuntu version. | 00:19 |
cc77 | so safe-upgrade is what you need. | 00:19 |
JonEdney | Okay, I get that. Thanks for the link also. | 00:19 |
cc77 | I assigned a static ip to my server but dns is not working. opening resolv.conf in nano the comment shows I should edit that file. But if I do anyway it works. What file should I edit for dns then? | 00:23 |
cc77 | oops same mistake as before editL | 00:24 |
cc77 | correction: the comment shows that I SHOULD NOT EDIT that file | 00:24 |
pdtpatrick | Question - would someone please explain/help me with .deb packaging. I'm using deb helper and i've gone through the PackagingGuide.pdf -- and i still cannot understand how you move files around. For instance, if i want the .deb file when installed to have files in /etc/ and then /home/user/.filename .. where/how do i do that ? would this be the dh_installdeb helper script ? | 00:43 |
=== Lcawte is now known as Lcawte|Away | ||
virusuy | pdtpatrick: you should ask that kind of question in #ubuntu-motu | 00:49 |
pdtpatrick | Good point. THanks | 00:49 |
virusuy | you're welcome | 00:50 |
poseidon | I don't suppose there would be a gitorious package | 01:50 |
poseidon | I've been having the hardest time installing it | 01:50 |
=== YankDown1nder is now known as YankDownUnder | ||
=== oCean_ is now known as oCean | ||
=== Myrtti_ is now known as Myrtti | ||
randomDude | i need to totally purge and remove all config files for apache2, why doesn't apt-get remove apache2 remove the config files... why doesn't apt-get purge remove the config files. why doesn't apt-get install apache2 --reinstall rewrite the config files? why doesn't dpkg-reconfigure apache2 rewrite the config files... none of the above rewrites the config files even if /etc/apache2 doesn't exist | 08:46 |
randomDude | unhappy with apt-get | 08:46 |
randomDude | none of the above rewrites or creates fresh config files if /etc/apache2 does or does not exist. | 08:46 |
DigiDaz | Hi all, I'm looking for help with an SSH problem, anyone here? | 09:46 |
mah454_ | Hello | 09:52 |
mah454_ | i need run sample bash script when postfix server send message | 09:53 |
mah454_ | How can do this ? | 09:53 |
DigiDaz | You may well be far better asking in a postfix channel | 09:56 |
DigiDaz | I'm sure that will be simple | 09:56 |
=== Lcawte|Away is now known as Lcawte | ||
tarvid | mysqld won't start | 12:16 |
tarvid | dumped an 11.10 reloaded on 12.04 | 12:16 |
tarvid | Plugin 'FEDERATED' is disabled. | 12:17 |
tarvid | mysqld now started but drupal cannot connect | 12:42 |
=== fenris is now known as Guest83592 | ||
RoyK | Does Ubuntu Precise support TRIM on LVM? | 14:33 |
Patrickdk | hmm | 14:35 |
Patrickdk | yes | 14:36 |
Patrickdk | has since 10.10 it looks like | 14:36 |
Patrickdk | oh opps, 11.04 :) | 14:37 |
Patrickdk | looks like it's automatically/always enabled, for all dm devices, except for crypt, that you have to manually enable it for | 14:38 |
Patrickdk | https://www.redhat.com/archives/dm-devel/2011-January/msg00035.html | 14:39 |
RoyK | hrmf - just started installing precise server from usb stick, and it gives an error "unable to mount cdrom" | 14:44 |
RoyK | any idea what that might be? | 14:44 |
Patrickdk | nope :( wonder if it has to do with that new combined iso/usb image thing | 14:44 |
Patrickdk | I haven't done a usb install since 10.04 came out | 14:45 |
JonEdney | o/ | 14:45 |
SpamapS | I did a USB install of 12.04 last week | 15:23 |
SpamapS | on a Mac, no less. Worked fine. | 15:23 |
mikeh_ | anybody running mysql 5.0.96 on ubuntu 8.0.4? | 15:23 |
mikeh_ | sorry mysql 5.0.96 on ubuntu 12.04 | 15:24 |
Psi-Jack | Ermm.. | 15:40 |
Psi-Jack | Why would you be running THAT old of MySQL on Ubuntu 12.04 so current? | 15:41 |
Psi-Jack | MySQL 5.0 is NOT recommended for use. | 15:41 |
carroarmato0 | hello, I'm having some trouble with importing templates in Maas. When I issue the command "maas-import-isos" I get "mount: Could not find any loop device." and then "failed to import precise-x86_64 profile precise-x86_64 not found, inheritance not possible". I'm running the Node on which Maas is installed in an LXC container. | 17:41 |
stgraber | carroarmato0: that's because mounting .iso files isn't allowed by default in the container | 17:43 |
stgraber | carroarmato0: easiest way to allow it is (sorry it's going to be a bit long): | 17:43 |
stgraber | 1) sudo cp /etc/apparmor.d/lxc/lxc-default /etc/apparmor.d/lxc/lxc-default-with-iso | 17:43 |
stgraber | 2) edit /etc/apparmor.d/lxc/lxc-default-with-iso, rename the profile from lxc-container-default to lxc-container-default-with-iso | 17:43 |
stgraber | 3) still in /etc/apparmor.d/lxc/lxc-default-with-iso, add a "mount fstype=iso9660," to the profile (or whatever fstype you want) | 17:44 |
stgraber | 4) sudo /etc/init.d/apparmor reload | 17:44 |
stgraber | 5) edit your container configuration (/var/lib/lxc/<container>/config) and uncomment the lxc.aa_profile line and set it to lxc-container-default-with-iso | 17:44 |
stgraber | 6) restart your container | 17:45 |
stgraber | I tested that solution for someone else with the same need at the Ubuntu Developer Summit and it worked as expected | 17:45 |
carroarmato0 | stgraber: thank you very much, I was also suspecting it had to do with apparmour, will give it a try! | 17:47 |
stgraber | carroarmato0: you can usually confirm it by looking at the bottom of the "dmesg" output, apparmor blocking specific calls are listed in there | 17:48 |
carroarmato0 | stgraber: hmm tried what you said but I'm not noticing anything from apparmour, but it still fails on the mounting part | 18:03 |
stgraber | carroarmato0: oh, right, I forgot one step, sorry. You also need to allow lxc to access /dev/loop* | 18:05 |
stgraber | carroarmato0: grabbing the exact line now | 18:06 |
carroarmato0 | stgraber: thx :) | 18:06 |
stgraber | #loop | 18:06 |
stgraber | lxc.cgroup.devices.allow = b 7:* rwm | 18:06 |
stgraber | add that to your /var/lib/lxc/<container>/config | 18:06 |
carroarmato0 | stgraber: jup, magic seems to be happening | 18:08 |
stgraber | hehe :) | 18:08 |
carroarmato0 | stgraber: aan't maas isn't complaining about missing templates :) thank you very much | 18:08 |
carroarmato0 | *and | 18:08 |
carroarmato0 | trying to run a poor man's cloud on my laptop to play around with maas, juju and charms | 18:09 |
carroarmato0 | aspiring to become a witch doctor casting voodoo on servers | 18:10 |
stgraber | cool, good to hear it all works fine now | 18:14 |
poseidon | Anyone know of a package for installing gitorious, or a complete walkthrough for installing it on ubuntu 12.04. The ones I followed with 11.04 seem to throw errors | 18:26 |
DigiDaz | As anyone had any problems using ssh to ubuntu servers? | 18:37 |
carroarmato0 | DigiDaz: nope | 18:38 |
DigiDaz | I've been having a lot of problems and I've seen a few recent posts popping up whilst googling for an answer but if there was anything happening on a large scale I would expect you would have seen activity here | 18:39 |
DigiDaz | I'm beginning to think its some sort of hack or malware | 18:40 |
carroarmato0 | DigiDaz: what kind of problem are you experiencing? | 18:40 |
DigiDaz | Basically, SSH not connecting, its timing out, this has just started happening in the last couple of weeks but to a number of servers | 18:41 |
poseidon | DigiDaz: Do you have a firewall running? | 18:42 |
DigiDaz | If the timeout in sshd config file is upped to about 10 minutes it eventually gets there, keys work fine, someone elsewhere did say they solved it but didn't specify how, they said it was something to do with pam_unix | 18:42 |
DigiDaz | I may well have IP tables running on them | 18:43 |
poseidon | ssh is working fine for me | 18:43 |
poseidon | I have the default config, though I only let whitelisted ip addresses connect | 18:43 |
DigiDaz | This is wierd, the first alert that I am getting is when servers start failing nightly backup using ssh, thing is these boxes have been running a long time, sometimes never even get logged into for weeks, perhaps months at a time | 18:45 |
DigiDaz | Its not like anything at all has changed | 18:45 |
DigiDaz | Its also happened on a couple of Debian squeeze boxes too, again this has been the last couple of weeks on boxes that have been running for months | 18:47 |
carroarmato0 | DigiDaz: have you checkt the logs on those boxes? People who have recently logged in, the commands they issues? | 18:48 |
carroarmato0 | *checked | 18:48 |
DigiDaz | No, one logs in, except me, I have checked logs, done searches for modded files etc | 18:48 |
DigiDaz | I have one now I can't get into, I'm just gonna reboot it into safe mode in a minute and then change the ssh timeout, I know I will get back on but its wwhats causing this thats beginning to bother me | 18:50 |
carroarmato0 | is it just ssh which takes a lot of time? As in: does the network feel slower? | 18:50 |
DigiDaz | It will probably take about best part of 10 minutes to log in | 18:50 |
poseidon | How long does it take you to ping the host | 18:51 |
DigiDaz | If I then change it to using keys to log in it back to fast as ever | 18:51 |
DigiDaz | ping times are fine, everything is fine, its just password based login thats turned mega slow | 18:51 |
poseidon | ah, probably isn't network connection then | 18:51 |
poseidon | I have password login disabled | 18:52 |
DigiDaz | No, its also multiple servers, multiple data centers etc | 18:52 |
DigiDaz | I'm thinking of dong that myself, I know I have been lazy security wise | 18:52 |
poseidon | heh | 18:53 |
DigiDaz | Moreover, even ssh@localhost fails to so its definitely not network related | 18:53 |
poseidon | I'm lazy and use keys and ssh-agent for everything | 18:54 |
poseidon | I don't even know what my root password is | 18:54 |
DigiDaz | lol | 18:54 |
poseidon | I have it written down somewhere | 18:54 |
poseidon | Some long ass thing | 18:54 |
DigiDaz | There are a couple of posts flying around with exactly the same problem and they are recent too | 18:55 |
poseidon | http://askubuntu.com/questions/134298/how-do-i-set-up-gitorious-server-on-ubuntu | 18:56 |
poseidon | gahh, hope this one works | 18:56 |
DigiDaz | I want to try and reinstall pam, see if that fixes it but I don't know how to do it properly, apt get remove it gives some badass warning that you are just about to trash your system | 18:56 |
=== almaisan-away is now known as al-maisan | ||
=== al-maisan is now known as almaisan-away | ||
carroarmato0 | stgraber: have you encountered the problem where nodes would stay in Commissioning permanently? | 19:17 |
=== dendro-afk is now known as dendrobates | ||
=== dendrobates is now known as dendro-afk | ||
Psi-Jack | Anyone here using the dovecot-postfix/mail-delivery-stack packaged setup? I'm having a complication with it not being able to deliver mail to subfolders in the mail using username+extension@mydomain | 20:20 |
Psi-Jack | It gives me errors trying saying the directory doesn't exist, yet, it does. | 20:20 |
Patrickdk | Psi-Jack, never used the combined package, I use them both though | 21:02 |
Psi-Jack | Hmmm. | 21:02 |
Patrickdk | why not use sieve? | 21:03 |
Psi-Jack | Patrickdk: It's supposed to be, actually. heh | 21:03 |
Patrickdk | hmm? what lda are you using? | 21:03 |
Psi-Jack | dovecot-lda currently. | 21:03 |
Patrickdk | what line for it in your master.cf? | 21:03 |
Psi-Jack | It's not, it's setup as a mailbox_command, by that mail-stack | 21:04 |
Psi-Jack | mailbox_command = /usr/lib/dovecot/deliver -c /etc/dovecot/conf.d/01-mail-stack-delivery.conf -m "${EXTENSION}" | 21:04 |
Patrickdk | oh, your using only local users | 21:04 |
Psi-Jack | Correct. | 21:04 |
Patrickdk | seems too simple | 21:05 |
Psi-Jack | I'm /also/ trying to get Dovecot to actually use Kerberos binded LDAP connections for userdb+passdb | 21:05 |
Psi-Jack | but, I'm failing that too, it seems. heh | 21:05 |
Patrickdk | odd | 21:07 |
Patrickdk | that usecase isn't in the dovecot config for local users | 21:07 |
Patrickdk | and I can't believe that is an accident | 21:07 |
Psi-Jack | heh | 21:07 |
Patrickdk | http://wiki.dovecot.org/LDA/Postfix | 21:08 |
Patrickdk | are you actually using deliever? or dovecot-lda? | 21:08 |
Patrickdk | cause they are largely different | 21:08 |
Psi-Jack | Yeah.. That particular mailbox_command was setup by the mail-delivery-stack package. | 21:09 |
Psi-Jack | Ahh, deliver | 21:09 |
Patrickdk | like I said, I configure dovecot and postfix, myself | 21:09 |
Patrickdk | you don't have a dovecot-lda program at all? | 21:09 |
Psi-Jack | I have it, yes. | 21:09 |
Patrickdk | then your using dovecot-lda, not deliever | 21:09 |
Patrickdk | using dovecot 2.x | 21:09 |
Patrickdk | http://wiki2.dovecot.org/LDA/Postfix | 21:10 |
Patrickdk | best use those examples | 21:10 |
Psi-Jack | Err, wait. | 21:10 |
Patrickdk | dovecot-lda is a 2.x thing, it replced deliever, from 1.x | 21:10 |
Psi-Jack | I just have dovecot-lmtp | 21:10 |
Psi-Jack | d | 21:10 |
Patrickdk | lmtp is a 2.x thing :) | 21:10 |
Psi-Jack | This is all Ubuntu 12.04, so it's all very current stuff. | 21:11 |
Patrickdk | 12.04 is a dovecot 2.x :) | 21:11 |
Psi-Jack | heh | 21:12 |
Psi-Jack | So, no dovecot-lda, just deliver and optionally lmtpd, cause I was considering, once I get this all working, having front-ended smtpds to deliver mail by lmtpd | 21:12 |
Patrickdk | heh? | 21:13 |
Patrickdk | are you sure? | 21:13 |
Patrickdk | the file /usr/lib/dovecot/dovecot-lda doesn't exist? | 21:13 |
Patrickdk | dovecot --version | 21:13 |
Patrickdk | it should be like 2.0.13 I think | 21:14 |
Psi-Jack | Hmmm | 21:15 |
Psi-Jack | Yeah, it does. | 21:15 |
Psi-Jack | Heh | 21:15 |
Patrickdk | deliever is only a symlink anymore, as it doesn't exist in 2.x | 21:15 |
Psi-Jack | And deliver is a symlink yeah | 21:15 |
Patrickdk | I would change that config to the 2.x format, instead of the old 1.x format | 21:16 |
Patrickdk | atleast | 21:16 |
Patrickdk | mailbox_command = /usr/lib/dovecot/dovecot-lda -c /etc/dovecot/conf.d/01-mail-stack-delivery.conf -f "$SENDER" -a "$RECIPIENT" | 21:17 |
Patrickdk | but I still dunno if that -m ${extension} would work or not | 21:17 |
Patrickdk | most likely not cause of permissions | 21:17 |
Psi-Jack | Hmmm, or maybe it needs to be INBOX/${EXTENSION} | 21:18 |
Patrickdk | as local users normally go into /var/mail/, where as the extention thing, would require putting it into the user home folder | 21:18 |
Psi-Jack | No. | 21:18 |
Patrickdk | that depends on your dovecot config and folder layout | 21:18 |
Psi-Jack | All my mail is Maildir in their homes. | 21:18 |
Patrickdk | I don't put it into INBOX/* atleast | 21:18 |
Psi-Jack | Hmmm | 21:20 |
Psi-Jack | I think I found my problem with LDAP/GSSAPI ;) | 21:21 |
Psi-Jack | Suwheeeeet! | 21:21 |
Psi-Jack | So far, it works, but I wonder if it'll properly renew it's Kerberos ticket now. | 21:22 |
Psi-Jack | May 12 17:23:09 testmail01 dovecot: lda(psi-jack): msgid=<4FAED4BF.5070606@hostdruids.com>: save failed to open mailbox testpool: Mailbox doesn't exist: testpool | 21:23 |
Psi-Jack | That's the error I get though with delivery. | 21:23 |
Psi-Jack | May 12 17:23:09 testmail01 dovecot: lda(psi-jack): msgid=<4FAED4BF.5070606@hostdruids.com>: saved mail to INBOX | 21:23 |
Psi-Jack | That's the end result. | 21:23 |
Patrickdk | and what does your maildir folder look like? | 21:24 |
Psi-Jack | It's got .INBOX.Testpool, and .Testpool directories in it. | 21:25 |
Patrickdk | with uppercase? | 21:25 |
Psi-Jack | Correct | 21:25 |
Psi-Jack | Oh sheash.. | 21:27 |
Psi-Jack | May 12 17:27:07 testmail01 dovecot: lda(psi-jack): msgid=<4FAED5AC.7030902@hostdruids.com>: saved mail to testpool | 21:27 |
Psi-Jack | Why the heck is it case sensative!? | 21:27 |
Patrickdk | cause your filesystem is :) | 21:27 |
Patrickdk | or just make it sane, and tell dovecot to lowercase everything :) | 21:28 |
Psi-Jack | it should be smarter than that!! | 21:28 |
Patrickdk | use zfs? | 21:28 |
Psi-Jack | Hmmm | 21:28 |
Psi-Jack | Well, I /do/ intend to hook this up to my NAS storage home directory. | 21:28 |
Psi-Jack | But.. That also shares out my /home/& through autofs | 21:29 |
Psi-Jack | Bah.. That's just silly though.. | 21:30 |
Psi-Jack | I mean, the idea of using +extensions is for like, signing up to mailing lists with that and not having to bother with actual filtering. | 21:31 |
Patrickdk | heh, I don't use it for that | 21:33 |
Patrickdk | I use sieve for filtering | 21:33 |
Patrickdk | I defently don't want my +stuff autofiltered | 21:33 |
Patrickdk | the idea of it though, is so I can easily filter it later if I wanted to though | 21:33 |
Patrickdk | atleast the way I use it | 21:34 |
* Psi-Jack nods. | 21:34 | |
Patrickdk | I think you can make a simple sieve command to autofilter it like that | 21:34 |
Patrickdk | not sure, but I think my brother uses it that way | 21:35 |
=== almaisan-away is now known as al-maisan | ||
Psi-Jack | Heh | 21:37 |
Psi-Jack | Well, I just installed a sieve extension to Thunderbird. | 21:37 |
Psi-Jack | Course, I have NO idea how to do manual sieve. ;0 | 21:37 |
Patrickdk | heh, it's hard to get the handle on all the options | 21:40 |
Patrickdk | but not hard after that | 21:40 |
Psi-Jack | Well, I'll be learning it. I'm trying to replace my Zimbra mail server solution with my own more managable, upgradable solution. | 21:40 |
Psi-Jack | And a /lot/ less resources required for it. heh | 21:41 |
Patrickdk | dunno | 21:41 |
Patrickdk | my mail server requires 10gigs of ram these days :( | 21:42 |
virusuy | Patrickdk: 10G ? | 21:42 |
virusuy | how many users ? | 21:42 |
Patrickdk | normally, about 800 imap sessions active | 21:42 |
Patrickdk | about 60 active pop | 21:42 |
Psi-Jack | Patrickdk: heh, mine would never need that much. ;) | 21:42 |
Patrickdk | I never looked to see how many per day or whatever | 21:42 |
Psi-Jack | But, so far, finally have my Kerberos+OpenLDAP solution, with autofs on most of my servers now, even my desktop has Kerberos auth and autofs mounting. :D | 21:43 |
glosoli | What anyone would recommend for usage with VDS for Ubuntu Server ? I mean some kind of web interface or what ? | 21:45 |
virusuy | glosoli: and VDS stands for ?ยก | 21:46 |
glosoli | Virtual Dedicated Server | 21:47 |
Psi-Jack | Yay! | 21:47 |
virusuy | great, thanks | 21:47 |
Psi-Jack | A new bling acronym. | 21:47 |
Patrickdk | what exactly is a virtual dedicated server? | 21:48 |
Patrickdk | just by it's name, it can't happen :) | 21:48 |
glosoli | another version Of CLoud Server, virtual private server or whatever, some kind of market trick | 21:48 |
glosoli | anyway, what web interface anyone of you recommend ? | 21:48 |
qman__ | recommend not using a web interface | 21:49 |
glosoli | qman__: hmm just curious why | 21:50 |
glosoli | ? | 21:50 |
qman__ | because they're almost universally broken and insecure | 21:50 |
glosoli | hmm sounds fair, thanks for advice then | 21:50 |
glosoli | qman__: do you use virtualenvs for server or something like that ? | 21:51 |
glosoli | I am thinking to deploy OpenERP, not sure if VirtualENV would be smart | 21:51 |
glosoli | or not | 21:51 |
qman__ | sounds like buzzword of the month to me | 21:51 |
qman__ | what are you really trying to accomplish? | 21:51 |
glosoli | qman__: well, I need to deploy OpenERP in server, with basic modules, and then develop some in some kind of period, the whole thing will be used for production :) | 21:53 |
qman__ | glosoli, still doesn't mean much to me, I'm not a software developer and ERP is just another buzzword to me, but I see no reason why virtualenv would give you trouble, it's a dev tool | 22:01 |
glosoli | qman__: well I never did something with clouds servers, I see the dir tree, there is a home dir, and I am not aware if it would be good to create something like /home/workspace | 22:01 |
glosoli | :? | 22:01 |
qman__ | but web interfaces for general server management like webmin and friends or website managers like plesk are generally crap, see also !webmin | 22:01 |
glosoli | qman__: well I trust you, won't even check it :P | 22:02 |
glosoli | anyone can help me with locales problem "http://dpaste.org/bcrwO/" ? | 23:03 |
glosoli | http://dpaste.org/bcrwO/ | 23:03 |
glosoli | I can't seem to find in which file they are located to fix the errors | 23:04 |
=== al-maisan is now known as almaisan-away | ||
qman__ | glosoli, iirc, you need language-pack-en and any other language packs you wish to have installed | 23:55 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!