[00:05] <phoenixz> Hi there, anybody here who has experience with EMC powerpath on ubuntu? Will it actually work?
[02:33] <storrgie> I just double clicked a samba share and it mounted, where is it acutally mounted though?
[02:35] <twb> storrgie: ask /proc/mounts.  This channel is for server support, not GUI stuff.
[04:23] <HellMind> hey how can I port forward using ufw
[04:26] <twb> HellMind: editing /var/lib/whatever, where the raw iptables-restore data lives.
[04:26] <twb> The ufw wrapper pretty much restricts itself to hosts.allow functionality.
[04:28] <HellMind> so isnt that easy
[04:28] <HellMind> im having problem with udp
[04:29] <HellMind> I must touch something extra to forward that?
[04:29] <twb> I don't know offhand
[04:30] <jmarsden> HellMind: I'd edit /etc/ufw/after.rules to adding any extra custom rules (for forwarding or whatever else you need) ... then regenerate the scripts using ufw and your edits to after.rules are included into /var/lib/ufw/user.rules
[04:32] <HellMind> I got the rules in the before.rules file
[04:32] <HellMind> is that wrong?
[04:41] <XiXaQ> I have two disks; one is 200GB and the other is 300GB. I'd like to combine them to make a 500GB partition. Speed is not the issue, I just want a big pool of diskspace. Later, I might want to add more disks to that partition. Should I use mdadm and create a software raid 0 or just lvm, or what should I do? I've neither configured software raid nor lvm.
[04:51] <Sam-I-Am> XiXaQ: just remember one disk failure = entire data loss
[04:51] <Sam-I-Am> more disks = more chance of failure
[04:57] <jtaji> XiXaQ: sounds like you want lvm
[05:00] <XiXaQ> jtaji, then I don't need raid?
[05:00] <XiXaQ> Sam-I-Am, without raid 0 too?
[05:01] <Sam-I-Am> concatenating disks has no redundancy
[05:01] <jtaji> neither does raid0
[05:01] <jtaji> but whatever, backup
[05:01] <Sam-I-Am> just a warning... if you need lots of space and dont care about the data, raid 0 works fine
[05:02] <jtaji> XiXaQ: you can add/remove disks at will with lvm, not sure about raid0
[05:02] <XiXaQ> with raid0 I don't think you can remove a disk.
[05:04] <jtaji> plus there's the nifty snapshot feature with lvm for backing up a consistent disk state
[05:05] <jtaji> then there's always lvm on top of raid
[05:08] <XiXaQ> yes, but as I said, speed is not important at all.
[05:08] <jtaji> I would just do lvm then
[05:08] <XiXaQ> this isn't important data either. I just want the ability to store more data in the same space.
[05:08] <XiXaQ> I mean, in the same folders.
[05:14] <XiXaQ> jtaji, yes, I've read about that snapshot feature. Seems nice.
[05:14] <webereinc> Hello... anyone have any suggestions on getting an Ubuntu Server (running gnome) to find a USB memory stick when there is already disk drives sda1, sdb1, and sdc1 as part of a raid array?
[05:14] <jtaji> XiXaQ: it's very cool, just remember to leave unallocated space, you can always expand partition anytime with lvm
[05:15] <XiXaQ> jtaji, what does that mean?
[05:16] <XiXaQ> I've deleted all partitions on both disks.
[05:16] <jtaji> XiXaQ: with lvm you'll create a physical volume for lvm (most likely your whole disk), then create logical volumes in that (/, /home, etc...)
[05:17] <jtaji> XiXaQ: when you create your logical volumes, don't use all the space in the physical volume, you can expand partitions easily later, and also the empty space is needed for snapshotting
[05:18] <jtaji> at minimum, just for snapshots, you'd need enough space to account for all the disk changes that go on while your snapshot alive and you do your backup
[05:23] <webereinc> Hello... anyone have any suggestions on getting an Ubuntu Server (running gnome) to find a USB memory stick when there is already disk drives sda1, sdb1, and sdc1 as part of a raid array?
[05:26] <XiXaQ> jtaji, that's unallocated space on each disk I use?
[05:29] <jtaji> XiXaQ: oh right..... I wasn't entirely accurate
[05:29] <jtaji> each disk will be a physical volume, multiple physical volumes are combined to one volume group
[05:30] <jtaji> it's the volume group in which you create logical volumes and leave some unallocated space
[05:32] <XiXaQ> ah, I see.
[05:37] <XiXaQ> jtaji, I'm following the server guide from help.ubuntu.com. It seems to suggest I should keep / and such outside lvm?
[05:42] <XiXaQ> I don't understand this. I used 100% of the first disk for LVM, but now I'm only able to give 100% of that to the / partition.
[05:43] <jtaji> XiXaQ: ah yes, another good point :p
[05:43] <jtaji> XiXaQ: I just keep /boot outside
[05:43] <jtaji> and only ~200 MB
[05:43] <XiXaQ> is it necessary?
[05:43] <jtaji> yeah
[05:44] <jtaji> so I'd make the /boot on the first disk, then the rest of that disk for LVM physical volume
[05:44] <XiXaQ> and /boot is primary and the rest is logical?
[05:45] <jtaji> doesn't matter, but since you only have one or two partitions on each disk, I just use primary
[05:46] <XiXaQ> how do I undo the kvm setup?
[05:46] <jtaji> without lvm, I use all logical typically
[05:46] <jtaji> kvm?
[05:46] <XiXaQ> lvm
[05:47] <XiXaQ> I now have 100% of the disk set to lvm and 100% of that set to /. I can't see any way to remove / and when I try to remove the lvm stuff, I  get an error saying it's in use by lvm.
[05:48] <jtaji> remove the / logical volume, then remove the volume group, then delete the physical volume
[05:48] <XiXaQ> how do I remove it?
[05:49] <XiXaQ> "delete all data on this partition"?
[05:50] <XiXaQ> oh, this is going to take a long time. :(
[05:51] <jtaji> in the installer? can't remember, should be pretty obvious
[05:51] <jtaji> on the command line you'd use lvm lvremove, lvm vgremove, lvm pvremove......
[05:52] <XiXaQ> I'll take a few hours to delete the / partition?
[05:52] <jtaji> should take seconds
[05:53] <XiXaQ> it's been running for ten minutes and it's at 2%
[05:54] <jtaji> I can't think of why that would be
[05:54] <XiXaQ> oh, I found it.
[05:57] <XiXaQ> ok, so I first make a /boot partition, of a few hundred megs. The rest I'll use for lvm and then I'll be able to easily resize / and /home, for instance?
[05:58] <jtaji> yes
[05:59] <XiXaQ> I'm not allowed to do that. I must provide a / filesystem.
[06:02] <jtaji> dunno, I've done it several times... but I'm afraid now I must go to sleep
[06:02] <jtaji> good luck ;)
[06:02] <XiXaQ> thanks.
[06:52] <error404notfound> i have to backup some directories, and only root has access to them, i have chosen duplicity as a tool for backup, however ssh for root is disabled, so i need another uid 0 account just for the backup's purposes. or should i create a new user with group as root?
[06:57] <XiXaQ> use sudo?
[06:58] <XiXaQ> oh, sorry. I didn't read properly :)
[06:59] <XiXaQ> adding your user to the root group seems best.
[07:02] <twb> error404notfound: all of those techniques are sucky.
[07:03] <twb> error404notfound: I suggest allowing ssh access to root, but only via a single key, and locking that key down to run only a single command.
[07:03] <error404notfound> twb, so what can i do... i have to make backups, directories are such as etc, var (yes, without lock, spool and run), and some other mounted media
[07:04] <error404notfound> twb, what if using xinetd or may be denyhosts i disable root ssh from any ip except local, wont that achieve the same goal?
[07:04] <twb> error404notfound: I'm assuming you already use AllowedUsers to restrict ssh access as root
[07:04] <twb> http://linuxmafia.com/faq/Security/ssh-publickey-process.html
[07:04] <error404notfound> twb, i have used AllowedGroups with canssh
[07:05] <twb> error404notfound: AllowedUsers root@192.168.1.*, for example
[07:05] <twb> I would not bother pissing about with xinetd.
[07:05] <error404notfound> twb, yes, that i can do in my sshd_conf like root@localhost
[07:05] <error404notfound> twb, hmm
[07:06] <error404notfound> twb, AllowedUsers take preferences over group? if yes, may be root should be in canssh group as well
[07:06] <twb> error404notfound: I don't know.
[07:06] <twb> My impression is that it takes a set union (∩)
[07:07] <twb> My impression is that it takes a set union (∪), rather
[07:08] <error404notfound> twb, okay, thanks, i am gonna try it..
[07:19] <error404notfound> i addedthe AllowUsers line in sshd, restarted sshd, and now when i try to ssh into the server, i get: http://pastie.org/582321
[07:44] <twb> "Too many authentication failures" sounds like you are using something like fail2ban
[07:45] <twb> The ssh client should not report that much information about why a connection was rejected.
[09:27] <error404notfound> anyone here uses duplicity?
[09:27] <error404notfound> i am getting http://pastebin.com/m730f508a
[09:28] <error404notfound> twb, any ideas form your side?
[09:30] <error404notfound> http://pastebin.com/m7aafbbe2
[09:35] <twb> error404notfound: sorry, I'm busy
[09:35] <error404notfound> twb, no problem :D
[09:40] <error404notfound> twb, i fixed it :P there was one extra --include
[09:40] <acalvo> hi, i'm trying to create a mail server with a LDAP server as a auth backend.
[09:41] <acalvo> the thing is: how could I store the mail if there are no user directories in the mail server (they're in the ldap server)?
[09:41] <_ruben> acalvo: virtual users
[09:41] <twb> acalvo: with a network filesystem
[09:41] <acalvo> mmm
[09:41] <acalvo> network filesystem?
[09:42] <twb> acalvo: such as NFS, CIFS or AFS
[09:42] <acalvo> yes
[09:42] <acalvo> but i don't want to have the mail in the same filesystem as the user data
[09:42] <acalvo> _ruben: virtual users? what do you mean?
[09:42] <twb> acalvo: then you just make sure pam_ldap is in pam.d/dovecot instead of pam.d/common-*, I guess
[09:42] <_ruben> acalvo: most MTAs support both local users (system accounts) and virtual users
[09:43] <acalvo> twb: why? pam only takes care of authentification, it won't redirect to new storage tree
[09:44] <twb> I don't see what the problem is
[09:44] <twb> If the only thing that needs to know about these users is the MTA, then you only make the MTA see them.
[09:44] <acalvo> _ruben: yes, but this is done using LDAP (right?), my point is how to instruct dovecot/postfix to store the user mail in some directory that is only owned by the LDAP user
[09:44] <acalvo> twb: and how to control where to store mail?
[09:45] <acalvo> it won't be a /home/$user$
[09:45] <_ruben> acalvo: http://www.postfix.org/VIRTUAL_README.html#virtual_mailbox
[09:45] <twb> acalvo: nsswitch.conf handles that.
[09:45] <twb> So I suppose the accounts would exist on the mail server, but wouldn't allow logins
[09:45] <twb> Doing it the way I propose, that is.  I daresay _ruben has a better approach
[09:46] <_ruben> acalvo: if you use postfix+dovecot .. have postfix check against ldap for valid users .. and have dovecot auth against ldap as well for imap/pop3 and use a static map (or ldap field) for the mailbox location
[09:46] <acalvo> twb: thanks, you're approach also seems right -- but I don't really understand how nsswitch can control storage systems
[09:46] <acalvo> _ruben: I think I've get your point!
[09:47] <acalvo> thank you both!
[09:47] <twb> acalvo: "getent passwd fred" will tell the system fred's home dir
[09:47] <acalvo> twb: acalvo:x:1004:512:System User:/home/acalvo:/bin/bash
[09:47] <acalvo> it's true
[09:47] <acalvo> but there is no "/home/acalvo" in the mail server
[09:47] <twb> So what?
[09:48] <acalvo> so, default config redirect to /home/user/Maildir
[09:48] <acalvo> if there is no /home/user, it will fail
[09:48] <acalvo> I suppose
[09:49] <twb> You tell the mail system to make directories that don't exist
[09:49] <acalvo> seems fair
[09:49] <acalvo> I'll try to mix up both suggestions
[09:49] <_ruben> dovecot creates mailboxes automatically on first mail/login
[09:50] <acalvo> that's what I've guessed
[09:50] <acalvo> I'll try what you said, using postfix+dovecot against LDAP
[10:35] <CppIsWeird> has anyone here used an IBM LCM?
[10:36] <twb> The candy bars?
[10:50] <Richie> Hi, I am experimenting with ubuntu server, I want to setup a a simple server for clients. Basically I want to run samba for file sharing, and run a mail server which will pull mail from the isp, and then also be able to route mail localy. Most of the how to guides I have been reading talk about ISP server with multiple domains.
[11:00] <twb> Richie: have you read the Ubuntu admin guide?
[11:10] <Richie> twb: I read some of the ubuntu server guide, busy having another look at the mail section. I tried one of the tutorials on how to forge, which was in my opionion to much, I am not going to be hosting multiple domains. Maybe what I should do is start working through the admin guide, then when I get to sections I am not sure about I will ask the relevent questions here.
[11:19] <Richie> the one thing that does confuse me is the mail server host name in the basic postfix configuration. the server is not going to have a fixed ip, I want to retrive mail with fetch mail and route localy and outgoing mail will be relayed to the isps smtp server, would I call it mail.mydomain.com, or would it be better to call it mail.mydomain.local.
[11:36] <twb> If your MTA does not have a fixed IP, it will not work very well
[11:37] <twb> Lots of other MTAs will refuse to talk to you because the hostname you supply doesn't resolve to an IP that resolves back to the hostname you supply.
[11:37] <twb> If you're a SOHO, I suggest you just relay all outbound mail through your ISP's smarthost.
[11:40] <Richie> the plan is to relay the mail to the ISP's smarthost, and the mail will get pulled from the isps mail server. I want to do something similar to the pop3 connector in sbs 2003
[11:41] <Richie> currently if people mail each other it goes to the isp, then the next person downloads from the isp when its for internal mail
[11:50] <ulterior> having an issue setting up postfix
[11:51] <ulterior> cant get it to sign my emails
[11:51] <ulterior> http://pastebin.com/mffe2322
[11:51] <ulterior> tried just about everything to fix the problem cant put my finger on it
[11:51] <ulterior> any help would be greatly appreciated
[12:30] <psteyn> Hi guys
[12:30] <psteyn> how can I debug something like this:
[12:30] <psteyn> Aug 13 00:04:01 www kernel: [515697.941360] php[20786]: segfault at 7f9420f75f30 ip 00007f9420f75f30 sp 00007f941f2820f8 error 14
[12:31] <psteyn> I mean, I have no idea which specific php script caused that error so I don't know how to reproduce in order to debug
[12:31] <psteyn> how can I get more info?
[12:36] <acalvo> _ruben: still here?
[12:40] <RoyK> psteyn: that means something crashed at that time, and there is no way to debug it unless you have turned on core dumps for that specific app
[12:44] <_ruben> acalvo: somewhat
[12:44] <_ruben> $dayjob keeping me busy
[12:44] <psteyn> yeah, and I don't know which specific app it is.  it's a live site with thousands of php files
[12:44] <psteyn> sigh
[12:45] <_ruben> psteyn: if the script runs long enough and crashes often enough, you could monitor the process table :)
[12:45] <acalvo> _ruben: ok, quick question, as you suggested, I've configured posfix and dovecot, so now both work with LDAP. the problem is that the folders aren't being created. I think this is MTA's job right? but in postfix I'm using dovecot as a sender (in fact, using this guide https://help.ubuntu.com/community/Postfix/DovecotLDAP)
[12:45] <_ruben> are adding a wrapper script .. which writes sript name and pid to a file, which can then be matched against the crash details
[12:46] <psteyn> yeah, but that would be too easy ofcourse...sigh.  it's random, and hours apart, and I don't know which specific code it is
[12:46] <_ruben> acalvo: by default dovecot creates mailboxes either on first mail or on first imap/pop3 login
[12:46] <acalvo> I'm having this error
[12:46] <psteyn> what is weird is that I'm using stock standard ubuntu server 9.10 migrated from centos 5.3 and I didn't have those errors on that server.
[12:46] <_ruben> psteyn: a systemwide wrapper would catch it
[12:46] <acalvo> Aug 13 13:42:38 jupiter dovecot: imap-login: Login: user=<acalvo>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
[12:46] <acalvo> Aug 13 13:42:38 jupiter dovecot: IMAP(acalvo): mail_location not set and autodetection failed: Mail storage autodetection failed with home=/home/acalvo
[12:46] <acalvo> Aug 13 13:42:38 jupiter dovecot: Fatal: IMAP(acalvo): Namespace initialization failed
[12:47] <_ruben> acalvo: set mail_location? :)
[12:47] <acalvo> _ruben: but, where?
[12:47] <_ruben> dovecot config
[12:48] <acalvo> ok... touché, but it is getting home/acalvo as a mail_location, right?
[12:48] <_ruben> this what i use on one system: mail_location =  maildir:/var/spool/dovecot/%1d/%d/%1n/%n/Maildir
[12:49] <_ruben> it stores mail for user@domain in /var/spool/dovecot/d/domain/u/user/Maildir/
[12:49] <acalvo> _ruben: you were right, gracias!
[13:06] <Daviey> nijaba: I have introduced translations and a stand alone shell script.. just throwing it in the PPA now.
[13:06] <Daviey> Got someone else to do de translations, just writing a call for help blog post now.
[13:07] <nijaba> Daviey: great.  let me know when the ppa is up to date :)
[13:11] <Daviey> nijaba: now :)
[13:12] <Daviey> nijaba: There is a script bundled called ubuntu-server-tip for retrieving the correct language, that presumably update-motd can use
[13:24] <error404notfound> i am making backups over a webdav using duplicity, which is better option? 1. mounting webdav, then using file:/// in destination OR 2. using webdav:/// in destination?
[13:29] <error404notfound> bum!
[13:29] <error404notfound> bump*
[13:50] <Daviey> Need some server tips - http://blog.daviey.com/ thanks :)
[13:51] <corporate_cookie> Is anyone running Informix IDS 11.5 on Ubuntu Server LTS ?
[14:04] <nijaba> Daviey: for some reason, the translated string have an empty newline appended and accentuated character are not displayed properly :(
[14:04] <Daviey> hmm
[14:05] <Daviey> i noticed the accentuated issue, but assumed that was a UTF-8 issue on my box.
[14:05] <nijaba> Daviey: looks like it is NOT using the utf8 version...
[14:05] <Daviey> empty new line.. hmm.. wonder what has introduced that.
[14:06] <Daviey> nijaba: ah!  I hope fortune supports accentuated chars.
[14:07] <nijaba> Daviey: it does... example: Personnellement, je suis toujours prêt a apprendre, bien que je n'aime
[14:07] <nijaba> pas toujours que l'on me donne des leçons.
[14:07] <nijaba> 	-+- Winston Churchill -+-
[14:08] <Daviey> hmm
[14:09] <nijaba> Daviey: in german it is even worse...  they use a lot of special chars
[14:12] <Daviey> ipp für Ubuntu server: Mit 'etckeeper' können Sie Änderungen in /etc/ in
[14:12] <Daviey> einem Bazaar-Repository aufzeichnen. Nützlich, um Änderungen zu verfolgen
[14:12] <Daviey> und rückgängig zu machen. http://tinyurl.com/etckeeper
[14:12] <Daviey> German looks ok to me :/
[14:14] <nijaba> weird
[14:14] <Daviey> ahhh.. working it out.
[14:14] <Daviey> nijaba: does "$ fortune fr/ubuntu-server-tips" work as you would expect?
[14:15] <Daviey> except the blank line
[14:15] <nijaba> Daviey: nope
[14:15] <Daviey> hmm
[14:15] <Daviey> i'm using a locally create package, not the one from the PPA
[14:15] <nijaba> Daviey: nor does: fortune fr/philosophie
[14:15]  * Daviey upgrades
[14:16] <nijaba> Daviey: must be a pb on my system!
[14:17] <Daviey> nijaba: well oddly i'm seeing the same issue if i "$ LANG="fr" ubuntu-server-tip"
[14:35] <CopyWriter> hello guys
[14:35] <CopyWriter> my question today is, i have a dhcp server, so do i disable the dhcp server settings on my wireless router
[14:38] <CopyWriter> cuz since setting up my ubuntu box as a dhcp server i notice that sometimes when i restart i'm able to connect to office computers at random
[14:39] <pmatulis> CopyWriter: typically a subnet has a single dhcp server serving it
[14:39] <corporate_cookie> why is bzr 1.3.1 the default in Ubuntu Server 8.04 LTS ? ...is there a more recent supported bzr package
[14:40] <CopyWriter> thanks pmatulis
[14:40] <CopyWriter> i'm going to try assigning static ip addresses to the clients
[14:41] <pmatulis> corporate_cookie: why?  b/c that's what 8.04 shipped with
[14:44] <sgsax> who was it that was looking for help setting up a jabber server?
[14:45] <sgsax> article in Linux Journal this month about Openfire (http://www.igniterealtime.org/projects/openfire/index.jsp)
[14:45] <sgsax> looked pretty easy to setup
[14:54] <ewook> CopyWriter: One dhcp is enough. but is it not easier to make friends with your tech?
[15:10] <Daviey> nijaba: 21 suggestions raised so far! :)
[15:10] <nijaba> Daviey: yeah!!
[15:10] <Daviey> ontop of the current ones.
[15:11] <nijaba> Daviey: as bugs? I do not see any?
[15:13] <nijaba> Daviey: uh... now I do...
[15:16] <Daviey> nijaba: Had a brief look at some of them.. mostly look good.. will need to make some of them more concise i think.
[15:17] <nijaba> Daviey: agreed
[15:31] <laga> # Appears as MAYNARD
[15:32] <laga> (#G010E110M1T\sh) ÖÐ¹úÈË¶àÃ´
[15:33] <laga> (#GI8:E=88RM1Tkees) hi
[15:44] <bitprophet> huh. anyone know why 9.04 wants to install to LVM by default? anywhere I can read the discussion behind the decision? mostly curious, LVM is cool and all, just seems like a slightly odd decision for the default.
[15:45] <sgsax> perhaps it's due to the fact that harddrives are bigger and cheaper than ever
[15:45] <sgsax> so people are buying more and bigger drives than before
[15:46] <sgsax> lots of big drives means a potential need for large volume management
[15:46] <sgsax> but I'm just guessing
[15:46] <sgsax> Solaris uses zfs my default these days, iirc, so it could be a response to that
[15:46] <sgsax> s/my/by/
[15:49] <Steve[mbp]> morning everyone!
[15:51] <bitprophet> sgsax: yea, that sounds like a good guess.
[15:52] <bitprophet> suppose it can't hurt, this is just a vm I'm setting up because all my LTS ones are too old for what I'm doing (python 2.6)
[15:52] <sgsax> all my servers are 8.04
[15:53] <RoyK> sgsax: zfs rocks
[15:54] <bitprophet> sgsax: yea, same here. I just need to test out a python 2.6 quirk and afaict that's not available even in hardy-backports, so I'm virtualizing 9.04 for a bit
[15:54] <sgsax> RoyK: so I hear, I'm not a big sol guy, so I haven't played with it at all
[15:54] <sgsax> bitprophet: makes sense, you could also roll your own package
[15:55] <RoyK> sgsax: I'm a linux guy, really, but not really _only_ linux
[15:55] <RoyK> i've just worked with solaris a few months, and it rocks
[15:55] <bitprophet> sgsax: this is true. I actually used to do that back when I was on debian proper and 2.3 was the default (and outdated) python
[15:55] <bitprophet> I kinda wanted to see what 9.04 was like anyway.
[15:55] <sgsax> I don't use sol enough to be fluent with it, only have one box that runs my sunray thin clients
[15:55] <sgsax> bitprophet: sure, I love it on the desktop
[15:56] <sgsax> and I'm sure it's fine on servers, I just get a more warm, fuzzy, enterprisey feeling running LTS
[15:56] <bitprophet> haha, ditto.
[15:57] <bitprophet> plus I can't really justify upgrading for each release, but every ~2 years is acceptable
[15:57] <RoyK> we have a few boxes with 9.04 here, mostly doing number crunching with some antique fortran stuff :)
[15:57] <bitprophet> oh my.
[15:57] <sgsax> RoyK: you must be doing clustering
[15:57] <RoyK> the researchers - at least some - still use fortran
[15:57] <bitprophet> does fortran even run on anything manufactured after 1985?
[15:57]  * bitprophet kids
[15:58] <sgsax> our big cluster (1024 nodes) runs on gentoo and has any number of bizarre modeling libs
[15:58] <RoyK> last language update of fortran was in 2003 :)
[15:58] <sgsax> some barely-usable
[15:58] <RoyK> but - gotta go...
[15:58] <sgsax> fortran continues to be used and updated
[15:59] <sgsax> mostly because scientists/researchers are *not* programmers
[15:59] <Psi-Jack_> Heh
[16:00] <maswan> sgsax: and also because it doesn't have some of the performance issues that C has..
[16:00] <Psi-Jack_> So, tell me, Ubuntu's init scripts for postgresql, they just try to run postgresql and don't try to constantly poll it to make sure it's running after-the-fact, does it?
[16:01] <bitprophet> I don't think *any* init scripts monitor daemons after bringing them up
[16:01] <sgsax> Psi-Jack_: I would guess that very few initscripts will do that
[16:01] <maswan> sgsax: anyway, my warm and fuzzy feeling went away after getting some new hardware, and now I'm hacking on karmic to get it to work. :)
[16:01] <Psi-Jack_> sgsax, Why would you guess that? heh
[16:01] <sgsax> maswan: yay for new toys :)
[16:01] <bitprophet> unless you're using Upstart, which (at least as of 8.04) was only for a small number of things by default
[16:01] <bitprophet> iirc
[16:01] <bitprophet> Psi-Jack_: but, that's your answer, use Upstart or something similar like daemontools/runit
[16:02] <sgsax> cfengine can also monitor services
[16:02] <Psi-Jack_> Ahhh. Upstart? Hmmm.
[16:03] <bitprophet> Psi-Jack_: it's an Ubuntu specific initiative, I think upstart.ubuntu.com? google should find it easy
[16:03] <Psi-Jack_> I was only curious because it was one annoyance I had argued with for hours before about gentoo's init scripts, checking and polling waiting, and when you're doing a PITR walls recovery on the database, you just don't want it sitting there waiting endlessly.
[16:03] <Psi-Jack_> Ahhhhhh
[16:03] <Psi-Jack_> I remember hearing some about upstart, event-based init system.
[16:04] <Psi-Jack_> upstart /sounds/ like it could be a good idea.
[16:05] <Psi-Jack_> Though current init methods, gentoo has rc-config, which lets you start and stop services by 'rc-config start/stop/restart/etc service'   Does Ubuntu have something similar?
[16:05] <bitprophet> depends. in my experience most daemons are quite stable and don't need watchdogging
[16:05] <Psi-Jack_> Besides just /etc/init.d/service
[16:06] <bitprophet> however my rails using co-workers have some awesome daemons that crash when anyone so much as sneezes near them, so they need constant hand holding. so I've been using runit for that (as they run them on centos boxes in production, so no upstart)
[16:06] <Psi-Jack_> bitprophet, When you're dealing with highly needed daemons, you want to be 100% certain.
[16:06] <bitprophet> Psi-Jack_: update-rc.d I think
[16:06] <bitprophet> yes, it definitely depends on your needs.
[16:06] <maswan> bitprophet: update-rc.d creates links in rc?.d to init.d
[16:06] <bitprophet> and that's why upstart/runit exist
[16:06] <maswan> it doesn't start/stop services itself
[16:06] <Psi-Jack_> Hmmm, what a horrible name, update-rc.d?
[16:06] <bitprophet> oh, sorry, I misread what he said
[16:06] <Psi-Jack_> heh
[16:07] <bitprophet> No idea, I always just do sudo /etc/init.d/<foo> <whatever>
[16:07] <sgsax> there are several update-* scripts from debian
[16:07] <sgsax> all for managing various things
[16:07] <sgsax> update-rc.d manages stuff in the rc.d dirs
[16:07] <Psi-Jack_> Yeah, I usually avoid using sudo direct-commands.
[16:07] <sgsax> so it makes sense, but agreeably, it's a bit unweildy
[16:07] <Psi-Jack_> I usually sudo su - first, then run them then exit
[16:08] <sgsax> you can also use sudo -i
[16:09] <Psi-Jack_> -i works too, long as it's the full login, so env gets proper.
[16:09] <pmatulis> Psi-Jack_: you can try the chkconfig package (not sure it works very well)
[16:10] <Psi-Jack_> rcconf works for a ncurses-based thing, but. what I was looking for was just a simple wrapper to call /etc/init.d/service
[16:10] <Psi-Jack_> I'll just make an alias if one doesn't exist.
[16:10] <sgsax> -i starts a new "initial login", -s just spawns a new shell
[16:11] <pmatulis> Psi-Jack_: use the 'service' command then
[16:11] <Psi-Jack_> Aha!
[16:11] <sgsax> pmatulis: I always thought that was a rh-specific thing
[16:11] <pmatulis> sgsax: yeah, i guess you can call it a port from red hat
[16:11] <Psi-Jack_> Heh
[16:12] <sgsax> not that there's anything wrong with that...
[16:12] <Psi-Jack_> Too funny. --status-all shows question marks by.... A lot of stuff I know is running, like, ufw
[16:13] <Psi-Jack_> Oy, fricken pain in the arse.. One of my systems at home, won't fscking boot up without a keyboard hooked up to it, it stops  to say it couldn't find a keyboard.
[16:13] <Psi-Jack_> And it's an old Compaq 733, the CMOS doesn't have an option for disabling that error,
[16:15] <Psi-Jack_> Anwyay..
[16:16] <Psi-Jack_> So, ufw. So far, I'm not liking it, but I'm giving it a fair looksie.
[16:17] <jdstrand> Psi-Jack_: re 'service --status-all', though I haven't looked at it, it is likely because service isn't smart enough to handle lsb output
[16:17] <Psi-Jack_> So far, with ufw enabled, it blocks everything by default, so I had to ufw allow 22 to enable it, but that enabled it for BOTH internal and external network interfaces. What if I just wanted it enabled on a specific interface?
[16:17] <jdstrand> Psi-Jack_: you can either specify the destination ip of the interface you want to listen on, or in karmic specify the interface directly
[16:18] <jdstrand> Psi-Jack_: see 'man ufw' for details
[16:18] <Psi-Jack_> karmic?
[16:18] <jdstrand> Psi-Jack_: Ubuntu 9.10 (as yet to be released)
[16:18] <Psi-Jack_> Oh
[16:18] <Psi-Jack_> heh
[16:19]  * Psi-Jack_ hates named versions.
[16:19] <bitprophet> yea that's one thing that gets me about ubuntu
[16:19] <Psi-Jack_> And Debian. :p
[16:19] <bitprophet> yea
[16:20] <bitprophet> at least debian has fewer names.
[16:20] <Psi-Jack_> Especially when people refer to those versions, by name, not by version. I understand numbers.
[16:20] <bitprophet> I used to constantly get hardy and gutsy mixed up for some reason
[16:20] <jdstrand> I apologize for the jargon
[16:20] <Psi-Jack_> Oh, no problem, really.
[16:20] <bitprophet> Psi-Jack_: the "trick" is that they go alphabetically (at least nowadays) but I guess I'm mentally challenged because that never helps me
[16:20] <Psi-Jack_> heh
[16:21] <Psi-Jack_> I just know, so far, I'm not totally enthusiastic about ufw.
[16:21] <Psi-Jack_> Good concept, but it's virtually impossible to make an uncomplicated firewall, sorry. ;)
[16:21] <Psi-Jack_> All you do is complicate it
[16:22] <sgsax> ufw doesn't run as a service, does it?
[16:22] <Psi-Jack_> Not technically, no.
[16:22] <jdstrand> Psi-Jack_: ufw currently targets single-homed bastion hosts. it's cli interface is quite helpful with that
[16:22] <sgsax> it just configures netfilter, right?
[16:23] <jdstrand> Psi-Jack_: a multi-homed host with routing is by definition complicated
[16:23] <Psi-Jack_> yeah.
[16:23] <Psi-Jack_> Which is why I'm not liking it. It's complicating. :p
[16:23] <jdstrand> Psi-Jack_: ufw can help quite a bit there too
[16:23] <Psi-Jack_> Especially when people are saying to use ufw just to enable ipmasq, like everywhere.
[16:23] <jdstrand> ufw allow to <ip address of eth0> oprt 22 proto tcp
[16:24] <Psi-Jack_> That'll work in 9.04?
[16:24] <jdstrand> Psi-Jack_: yes
[16:24] <jdstrand> sans typos
[16:24] <jdstrand> sudo ufw allow to <ip address of eth0> port 22 proto tcp
[16:25] <jdstrand> or with application integration
[16:25] <jdstrand> sudo ufw allow to <ip address of eth0> app OpenSSH
[16:27] <jdstrand> Psi-Jack_: ufw provides a framework the provides all the power and flexibility of iptables, but does a lot of the loegwork for you by default. so with two lines, you can enable the firewall and open ssh. IMO that is much easier than writing your own iptables script. but if you're more comfortable with iptables, feel free to use it
[16:28] <jdstrand> Psi-Jack_: you might also be interested in https://help.ubuntu.com/9.04/serverguide/C/firewall.html, which discusses masquerading (among other things)
[16:28] <Daviey> nijaba: I think i have resolved the language issue.
[16:29] <nijaba> Daviey: yes? that would be great!
[16:29] <Psi-Jack_> jdstrand, Yeah, tha's the ufw-based guide I followed to get it working,.. Or similar.
[16:29] <jdstrand> re ufw and 'service --status-all': ufw exits with the proper code. it is likely a bug in the 'service' script not being able to handle LSB initscripts
[16:30] <sammy> trying to move my / partition; I cp -a 'd everything to a new partition, updated /boot/grub/menu.1st with the new UUID and updated /etc/fstab with the new UUID. I ran update-grub and copied the new menu.1st to the newroot/grub/boot. what am I missing?
[16:30] <jdstrand> but I haven't looked at the issue with 'service'-- it is speculation
[16:30] <Daviey> nijaba: try, "$ fortune -u fr/ubuntu-server-tips"  I haven't commited it yet, but seems to solve it here.
[16:31] <sammy> I'm sure it's something obvious, but I'm administering the box remotely, and now I'll have to walk someone through plugging a monitor in and fixing whatever I forgot. it must have been something small, or maybe a typo
[16:31] <Psi-Jack_> jdstrand, The only problem is, it seems like ufw isn't really well documented much. Not even that website you referred me to, tells how to handle forwarding ports.
[16:31] <nijaba> Daviey: yes it does
[16:31] <Daviey> \o/
[16:31] <jdstrand> Psi-Jack_: ufw doesn't 'do' handling port forwarding per se. it allows you to do it if you already know iptables
[16:32] <nijaba> Daviey: "-u     Don't translate UTF-8 fortunes to the locale when searching or translating" what the heck!
[16:32] <Psi-Jack_> Aha..
[16:32] <jdstrand> Psi-Jack_: ufw focuses on 'host-based' firewalling
[16:32] <Daviey> nijaba: odd eh?
[16:32] <Psi-Jack_> Yeaah, So I'm noticing.
[16:32] <nijaba> Daviey: very
[16:32] <jdstrand> Psi-Jack_: so there is nothing in it to particularly help with port forwarding
[16:32] <Psi-Jack_> jdstrand, Is there one you would better recommend for a server? single to multiple ip handling?
[16:33] <jdstrand> Psi-Jack_: I'm not the right person to ask, tbh. I like ufw.
[16:33] <Psi-Jack_> Yeah, well, this is #ubuntu-server. ;)
[16:34] <Psi-Jack_> And sadly, THIS is the channel I was told, ufw is the "recommended" way to handle firewalls in Ubuntu.
[16:34] <jdstrand> Psi-Jack_: ufw can do port forwarding just fine
[16:35] <jdstrand> Psi-Jack_: you just add the appropriate rules to /etc/ufw/before.rules
[16:35] <Psi-Jack_> Yeah, iptables-save-style rules.
[16:35]  * jdstrand nods
[16:35] <Psi-Jack_> Which writing those kind of rules by hand is painful enough.
[16:35] <jdstrand> Psi-Jack_: any iptables guide on port forwarding will work
[16:35] <pmatulis> heh, jdstrand likes ufw
[16:36] <pmatulis> ;)
[16:36] <jdstrand> Psi-Jack_: there are tools listed at the end of https://help.ubuntu.com/9.04/serverguide/C/firewall.html if you want to try something different
[16:36] <jdstrand> pmatulis: ;)
[16:36] <Psi-Jack_> Yeah, shorewall is one I tried, and it totally went fubar.
[16:37] <Psi-Jack_> I might try that fireflier though
[16:37] <sgsax> meh, keep your unnecessary ports closed and your service apps patched, just like momma always said
[16:37] <sgsax> forget about firewalls :)
[16:37] <jdstrand> Psi-Jack_: I would recommend you read http://www.netfilter.org/documentation/HOWTO/packet-filtering-HOWTO.html (also referenced in that guide)
[16:37] <Skaag> how come I uninstall pure-ftpd with --purge and the /etc/pure-ftpd directory is not removed?
[16:38] <Skaag> is there another switch to completely wipe out any remains?
[16:38] <jdstrand> Psi-Jack_: if you are going to be setting up a routing firewall, you need to learn iptables and Linux firewalling concepts, regardless of the tool you decide to use
[16:38] <Psi-Jack_> jdstrand, I know iptables, like the back of my hand,
[16:38] <jdstrand> Psi-Jack_: then adding your handful of rules to /etc/ufw/before.rules shouldn't be too difficult... *shrug*
[16:39] <jdstrand> anyhoo... back to work
[16:39] <sgsax> Skaag: that should do it, unless you created your own files in that dir
[16:39] <sgsax> are there any files left in there?
[16:39] <Skaag> I tried deleting all files from it
[16:40] <Skaag> even then it would not remove the empty /etc/pure-ftpd
[16:40] <sgsax> so just the dir is left?
[16:41] <sgsax> you used ls -la to make sure there are no hidden dotfiles lieft in there?
[16:42] <Skaag> yes just the dir... no hiddens
[16:42] <Skaag> kinda annoying :-(
[16:42] <Skaag> because then when I try to install it again, it complains the directory is empty
[16:44] <Skaag> ok I found out the problem
[16:44] <Skaag> I needed to purge also pure-ftpd-common
[16:44] <Skaag> somehow the purge was not affecting that package, but when I specifically purged it by name it worked
[16:57] <sgsax> Skaag: good find
[18:04] <Psi-Jack_> Okay, so I have a problem with openldap and ssl. I've created two totally different cakeys and server key for my openldap server, and ever since I enabled the TLS options, it's refusing to start anymore, because of TLS.
[18:05] <Psi-Jack_> main: TLS init def ctx failed: -1
[18:05] <Psi-Jack_> Permissions I made for testing, publically world readable.
[18:05] <Psi-Jack_> The certs, that is.
[18:26] <sven_oostenbrink> Hi there, anybody here who has experience with EMC powerpath on ubuntu? Will it actually work?
[18:35] <giovani> sven_oostenbrink: I doubt anybody's familiar with the product here -- did you ask EMC? or just try it?
[18:35] <sven_oostenbrink> well, try it.. it has a 5000 dollar license without trial.. :)
[18:36] <sven_oostenbrink> And in the end, its just a friggin driver..
[18:36] <giovani> sven_oostenbrink: well if you haven't already purchased it, then this is a question for EMC sales
[18:36] <sven_oostenbrink> must be a pretty sweet driver if you ask me..
[18:36] <sven_oostenbrink> giovani: I suppose.. I was just curious if anybody her has any experience with it
[18:36] <giovani> sven_oostenbrink: understood, it's just not common at all -- I highly doubt anyone here has used it
[18:36] <giovani> so best to talk directly to the source
[18:37] <Psi-Jack_> $5,000 for an fscking DRIVER?
[18:37] <Psi-Jack_> That's like choking the chicken without any post-satisfaction!
[18:39] <giovani> Psi-Jack_: compared to EMC's storage solutions ... it's a drop in the bucket
[18:40] <Psi-Jack_> I'd be finding a hell of a lot better storage 'solution' then, period.
[18:40] <giovani> sven_oostenbrink: it might be worth looking into the open source alternative though -- multipath-tools
[18:41] <giovani> Psi-Jack_: honestly, EMC makes high-quality products
[18:41] <sven_oostenbrink> giovani: ahah... now you're talking
[18:41] <Psi-Jack_> giovani, Not if they charge $5,000 for just a driver,
[18:41] <giovani> heh
[18:41] <giovani> that amount of money is negligable if it costs thousands of dollars to set up and maintain an alernative (in salary)
[18:42] <sven_oostenbrink> giovani: in all honesty.. I find most "enterprise" product to give me loads of crap with just a small core of real functionality.
[18:42] <giovani> you have to realize how large businesses have to think
[18:42] <giovani> sven_oostenbrink: I agree -- but, they have value in very large deployments where engineering an alternative takes a long time, and is probably less stable and not as easy to hire people to maintain
[18:42] <sven_oostenbrink> understood, but AFAIK, basically all powerpath does is bundle 4 fibrechannels into one...
[18:43] <giovani> we're running into this at work right now, as we move away from home-grown NFS filers with various backends to NetApp
[18:43] <corporate_cookie> dose anyone know where I can find some info on installing Informix IDS in ubuntu ?
[18:43] <giovani> sven_oostenbrink: right, it becomes your storage driver -- that's a critical piece of the puzzle if it fails
[18:43] <corporate_cookie> I do not seam to be able to find any relevant documentation
[18:44] <giovani> corporate_cookie: talk to IBM?
[18:44] <corporate_cookie> have you ever talked to IBM : )
[18:44] <giovani> nope ... but it's not an ubuntu package
[18:44] <corporate_cookie> thanks though ..i appreciate it : )
[18:44] <corporate_cookie> true that
[18:44] <giovani> http://www.informix-zone.com/node/532
[18:44] <giovani> wow, 2nd google hit
[18:45] <giovani> that was fast :)
[18:45] <sven_oostenbrink> giovani: I know but.. thing is, we;re paying quite a bit already for EMC product.. Id say that this little part of it actually shoudl be for free since to me its like a basic functionality, same as with utp babsed networks.
[18:45] <giovani> please use google next time
[18:45] <giovani> sven_oostenbrink: then feel free to look into the open-source offering I mentioned
[18:46] <giovani> http://www.ubuntu.com/register/informix
[18:46] <giovani> seems I was wrong about ubuntu and informix
[18:46] <giovani> it seems to be officially supported
[18:46] <giovani> you must not've googled at all
[18:46] <giovani> nor contacted IBM: http://www-01.ibm.com/support/docview.wss?rs=630&context=SSGU8G&dc=DB560&dc=DB520&uid=swg21252224&loc=en_US&cs=UTF-8&lang=en&rss=ct630db2
[18:48] <corporate_cookie> giovani: i have googeled ....im looking for a good install guide ..IBM's documentation is rather generic
[18:48] <corporate_cookie> thanks though
[18:48] <giovani> it's an officially supported setup -- so much so that ubuntu.com has a page dedicated to the install -- it appears they provide a .deb -- if you don't know how to use dpkg ... oh boy :)
[18:57] <sven_oostenbrink> giovani: I'll take a look at the open source version yeah, thanks!
[18:58] <Nafallo> giovani: gdebi is the new hotness for deb installs, and not that new :-)
[18:58] <Nafallo> resolves dependencies and such.
[19:03] <giovani> Nafallo: good to know, thanks
[19:24] <clusty> hey
[19:24] <clusty> how can I read CPU temp sensor value
[19:24] <clusty> from a console
[19:24] <clusty> is there some place in /proc ?
[19:25] <leonel>  /proc/acpi/thermal_zone/
[19:25] <clusty> thanks
[19:26] <clusty> leonel, nothing?
[19:26] <clusty> leonel, ...weird. it's a core i7 and I can sweat I had temp sesors.
[19:30] <Psi-Jack_> Hmm.. I don't got anything in that. heh. I have to use lm_sensors
[19:34] <sgsax> Psi-Jack_: it's chipset dependant
[19:35] <Psi-Jack_> Yeah. One of my othr systems had it. heh
[19:35] <Psi-Jack_> Both HP's so kinda odd. :)
[19:35] <sgsax> different kernels?
[19:35] <Psi-Jack_> Nope.
[19:35] <sgsax> or different mobos?
[19:36] <Psi-Jack_> Different model HPs
[19:36] <sgsax> sunspots? :)
[19:36] <sgsax> that would do it
[19:36] <Psi-Jack_> Yeah. heh. I have a server farm at home. 6, going on 7 computers.
[19:41] <Psi-Jack_> Just wish I could get that one Compaq model P3-733 to stop erroring at boot about missing a keyboard. There's no option to turn that off. :/
[19:52] <sgsax> ah, the old "Keyboard not found.  Press F1 to continue..." one of my alltime favs
[19:53] <_ruben> its a keeper indeed
[19:56] <thejudge> Hi
[19:56] <thejudge> i need help
[19:57] <_ruben> !help
[19:58] <thejudge> i want to know how to creat a box for Shell, BNC... Sous Ubuntu
[19:59] <_ruben> get a pc .. install ubuntu on it .. hook it up to a permanent internet connection .. install bnc software .. done
[20:01] <thejudge> i'm under Ubuntu right now
[20:01] <thejudge> but i'm looking for the way
[20:01] <thejudge> to install a box
[20:02] <jmedina> what is that BNC... Sous?
[20:03] <qman__> I'm not sure what you mean by "install a box"
[20:06] <sgsax> thejudge: do you mean just install ubuntu on a new computer or server?
[20:07] <thejudge> sgsax:  no i have already ubuntu
[20:08] <thejudge> i want irc box
[20:08] <_ruben> you already have ubuntu, you already are on irc .. what more do you need?
[20:10] <jmedina> thejudge: you want to install a irc server?
[20:10] <qman__> the term "box" is generally used to refer to a PC, the actual hardware
[20:11] <qman__> so if you already have ubuntu installed, what is it you want to do?
[20:11] <qman__> do you want another server? or do you want a virtual machine?
[20:11] <accol> can someone plz help me? the server i have set up keeps timing out when i try to connect from somewhere thats not home (at home it connects quickly), do i need to add a command to the server?
[20:11] <qman__> accol, what service are you attempting to connect to?
[20:11] <_ruben> accol: need to be a bit more specific
[20:12] <qman__> ssh, http, file sharing?
[20:12] <accol> sorry lol
[20:12] <accol> ssh
[20:12] <_ruben> accol: does that machine have a internet routable ip address?
[20:12] <qman__> does your home network use NAT? as in, you have a router that shares your internet connection with multiple computers
[20:12] <_ruben> or is it behind a nat router?
[20:12] <qman__> if it does use NAT, you need to forward port 22 to the server in the router's configuration
[20:13] <accol> jesus...i dont know....i have the ip address, and i can connect fine from other comps at home, but when i go somehwere else it times out
[20:13] <_ruben> what's the ip ?
[20:13] <qman__> is the IP address something like 192.168.1.10
[20:13] <jmedina> that is a routing problem
[20:13] <accol> yeah
[20:13] <qman__> if so, that will not work from the internet
[20:13] <qman__> that's a private use address only
[20:13] <accol> damn
[20:14] <qman__> you need to configure your router to forward port 22 to that address
[20:14] <qman__> and find out what your internet IP address is
[20:14] <qman__> go to a site like http://whatismyip.com/
[20:14] <accol> i know the comps ip address (the server one, not the one im on right now)
[20:14] <accol> its 192.168....
[20:14] <qman__> yes, but you also need to know what your internet IP address is
[20:15] <qman__> the one that is shared between all your PCs
[20:15] <accol> ah ok
[20:15] <accol> ok, once i find that where can i foward port 22?
[20:15] <accol> thanks btw
[20:15] <qman__> you have to go to your router's configuration
[20:15] <qman__> usually, for stuff like a linksys, you browse to 192.168.1.1 in a web browser
[20:16] <accol> ah awesome
[20:16] <qman__> go to the port forwarding section, and forward 22 TCP to your server's IP, the 192.168...
[20:17] <qman__> then, from elsewhere, you connect to your internet IP, that the site I linked shows
[20:17] <qman__> and it should go through to your server
[20:17] <accol> dude awesome
[20:17] <accol> thanks so much
[20:17] <qman__> keep in mind that your internet IP may change
[20:17] <qman__> home connections tend to be dynamic
[20:17] <blistov1> anyone know how to do a headless/serial install of ubuntu server/
[20:17] <blistov1> ?
[20:18] <accol> oh wow
[20:18] <accol> that sucks
[20:18] <sgsax> accol: not really, you just need to sign up with a dyndns service
[20:18] <qman__> you can use a service like afraid.org or dyndns.org to get a free subdomain, which will always point to your IP
[20:18] <sgsax> like no-ip.org
[20:18] <accol> oh it....so those programs will always foward you to the ip despite a change?
[20:18] <accol> got it
[20:19] <sgsax> you sign up for the service
[20:19] <qman__> you configure a script on your server which updates the DNS information periodically
[20:19] <qman__> so when your IP changes, shortly after, it gets updated in DNS
[20:20] <accol> thanks alot
[20:24] <Psi-Jack_> namecheap is nice, too, for if you get your own domain.
[20:26] <_ruben> luckily with ipv6 there's no need for isps to assign dynamic ip addresses anymore .. now lets fastforward a couple of years into the future ... :P
[20:26] <Psi-Jack_> Bleh TCP/IP is a dead concept anyway. :p
[20:35] <CppIsWeird> when downloading ubuntu server i see options for 64bit and 32bit versions, but when i click on bittorrent i only see amd64 and i386, does this mean there is only a 64bit version for amd-64?
[20:37] <_ruben> the other 64bit architectures arent very common (and not supported afaik)
[20:37] <_ruben> so in 99% of the cases 64bit equals amd64
[20:39] <CppIsWeird> _ruben, do you know the reasons for this?
[20:39] <_ruben> reason for what? not supported ia64 and stuff like that ? because its highly uncommon
[20:40] <CppIsWeird> interesting.
[20:41] <_ruben> 99% of all 64bit mainstream cpus are amd64 anyways
[20:42] <Nafallo> it should be named x86_64
[20:42]  * Nafallo mumbles
[20:43] <_ruben> Nafallo: make it so! ;)
[20:45] <Nafallo> _ruben: do I look like a damn jedi or something? ;-)
[20:45]  * _ruben googles for a picture of Nafallo 
[20:46] <Nafallo> lol
[20:49] <CppIsWeird> just to make sure i understand correctly, you are saying that you dont find many intel 64-bit cpu's being used in server environments?
[20:50] <_ruben> CppIsWeird: no.. im saying that mainline servers dont use architectures like ia64
[20:50] <_ruben> most (all?) intel xeons are amd64/x86_64
[20:50] <jtimberman> http://en.wikipedia.org/wiki/X86-64
[20:50] <CppIsWeird> i never mentioned anything about ia64
[20:51] <_ruben> the 64bit xeons that is
[20:51] <CppIsWeird> i have an amd64 version of ubuntu server that i tried installing on my dual xeon 2.0ghz ibm x series server, and it said i had the wrong kernel and needed another version
[20:51] <CppIsWeird> i can find no other version of 64bit ubuntu-server.
[20:51] <_ruben> 2G xeon could very well be 32bits
[20:51] <CppIsWeird> oh.
[20:52] <_ruben> need to find out its exact type
[20:52] <CppIsWeird> im having a hard time doing that. best i can find on the ibm site is that it has 512kb cache and is a 2ghz xeon
[20:54] <_ruben> could check the bios of the server .. most servers tend to show the bussize somewhere
[20:58] <CppIsWeird> _ruben, ok, one sec
[21:00] <HellMind> how can I install the minimun xorg for wine
[21:01] <_ruben> wine is not something i'd want on a server
[21:02] <CppIsWeird> _ruben, well i cant find that right this second in the bios. but i get the feeling you are correct and i do not have a 64-bit cpu. thanks for the help.
[21:02] <user345fgh> hi
[21:03] <user345fgh> ive seen "install over ssh" in the advanced install options. is it possible to configure/start ssh and then continue a normal installation?
[21:05] <_ruben> user345fgh: if the network-console module is loaded, you can jump in using ssh any time
[21:06] <user345fgh> the normal installation is currently running. i just selected the disk to use
[21:06] <user345fgh> is there a way to load the network console after the installer did partition the disks?
[21:07] <qman__> CppIsWeird, amd64 is the common, modern 64-bit architecture -- modern xeons and core 2s and i7s use the amd64 architecture
[21:07] <HellMind> Xorg :(
[21:07] <qman__> despite being intel processors
[21:08] <qman__> intel has incorporated it in one form or another in almost all of its processors since the Pentium 4 extreme edition
[21:08] <qman__> under the moniker EM64T
[21:08] <_ruben> user345fgh: not that i know of
[21:09] <user345fgh> _ruben, so advanced, do everyting till network-console and then connect to the box via ssh?
[21:09] <user345fgh> is the installation running in some screen that i can resume with screen -r from remote or how do i see the installation window remotely?
[21:10] <_ruben> user345fgh: when network console is loaded, you get a prompt for ssh password to enter and an OK dialog, just before the disk part start
[21:10] <_ruben> user345fgh: when connecting with ssh you get 2 options : start installer (at the point where it currently is), or start shell
[21:10] <user345fgh> ah nice
[21:10] <_ruben> dunno if it's screen'ed or anything
[21:10] <user345fgh> i guess i will try that, just out of curiosity
[21:11] <qman__> I never did see much point in it myself
[21:11] <qman__> I've never taken more than ten minutes to install ubuntu server
[21:12] <_ruben> complex disk layouts can take a while .. which is done "easier" from your comfy desk than noisy serverrom
[21:12] <_ruben> room
[21:13] <qman__> true
[21:13] <qman__> if you did a massive multi TB RAID setup straight away, that would take a while
[21:13] <qman__> I did that after the base install on my server, though
[21:13] <_ruben> or just say software raid over 4 disks with lvm and say 10 lvs/partitions :)
[21:14] <_ruben> or worse .. software raid over 4 disks and 10 partitions without lvm :)
[21:14] <qman__> hehe
[21:14] <qman__> that would be a bit nasty
[21:14] <qman__> I recently added two disks to my RAID 5
[21:14] <_ruben> especially with the classic software raid ... the non-partitionable one :)
[21:14] <qman__> took about four hours to sync
[21:15] <qman__> and that was with that kernel tweak
[21:15] <_ruben> resizing raid scares the shit out of me :)
[21:15] <qman__> without it, it was going to take 3 days
[21:15] <_ruben> i think i had a resize going on for 30hrs or so :p
[21:15] <_ruben> was ages ago tho
[21:16] <qman__> sad thing is, it's almost full again
[21:16] <qman__> going to have to go with bigger disks this time though
[21:16] <_ruben> i wont resize my current fileserver's raid .. i'd just add a raidgroup to my lvm
[21:16] <qman__> currently has 8 500GB ones
[21:16] <_ruben> 4x1TB here
[21:17] <giovani> 16x1.5TB here :)
[21:17] <_ruben> and one box (out of service) with 6x200G pata .. and antoher (also out of service) with 6x250G sata
[21:17] <giovani> 2 of those are parity drives
[21:17] <qman__> I'm trying to wait as long as I can, for when 2TB disks get reasonably priced and tested out a bit
[21:18] <giovani> there aren't any serious 2TB disks out
[21:18] <qman__> then I'll build a second raid, move the data, and retire the old disks to other machines
[21:18] <_ruben> got 2 boxes at work with 16x1TB drivers .. in 3 raid10 volumes .. rather disapointing performance though .. hardware raid, but sata just doesnt cut it
[21:18] <giovani> WD "Green" drives are awful -- don't use them
[21:18] <user345fgh> qman__, yes. its usually very fast compared to windows xp installation
[21:19] <qman__> I'm a Seagate fan myself
[21:19] <giovani> _ruben: SATA is unlikely to be a bottleneck here -- it's going to be the drive itself
[21:19] <qman__> my bottleneck is the gigabit LAN :)
[21:19] <giovani> well ... IP-based storage protocols are always going to be slow
[21:19] <giovani> ATAoE is your best bet for commodity-cabling
[21:19] <_ruben> giovani: sure, 10K sata disks *might* be better .. wont beat 15K sas tho
[21:19] <qman__> yeah, but this IS just a SOHO network
[21:20] <qman__> that's a bit pricey for this
[21:20] <giovani> _ruben: it's not the SATA interface that's the bottleneck -- 15k SATA drives would work fine, if they were in common production
[21:20] <user345fgh> giovani, may i ask whats saved on that hugh space?
[21:20] <giovani> qman__: what's pricey?
[21:20] <genesimmons> good day everyone....anyone have experience or know of a good howto to install snmp client side on ubuntu server 9.04 cacti server is already running??
[21:20] <giovani> user345fgh: personal data
[21:20] <qman__> SAS and non-IP storage networks
[21:20] <user345fgh> ok
[21:20] <giovani> qman__: ATAoE can be free
[21:20] <giovani> hence commodity
[21:21] <user345fgh> without movies i can barely fill 50gb space
[21:21] <giovani> ATAoE is cheaper, and going to offer better performance than something iSCSI based
[21:21] <_ruben> movies arent even my biggest space eater at the moment i think .. tons of wii games are
[21:21] <giovani> of course, it doesn't directly compete with iSCSI on features -- but if you're just doing local storage ... it's going to be far better
[21:22] <user345fgh> _ruben, the true liberation comes when you learn that you dont need everything at once...took me a long time
[21:22] <qman__> my server was built from the start on a budget, it's a single core s939 athlon in an nforce 6150 board
[21:24] <qman__> just an NCQ SATA controller, no RAID functions, hence the software RAID
[21:24] <_ruben> xp1700+ with promise 4 port sata controllers
[21:25] <qman__> yeah, the TX4s
[21:25] <qman__> good controllers, those
[21:26] <qman__> I've found out that mdraid really is pretty good
[21:27] <qman__> if you can't spend real money on a nice hardware setup, it's not worth bothering with anything else
[21:27] <clusty> hey
[21:27] <clusty> i was wondering when will postgres 8.4 make it into ubuntu?
[21:27] <clusty> now is only in karmic
[21:27] <clusty> will it ever reach jaunty?
[21:44] <giovani> clusty: well it would never reach the main jaunty repository -- as packages are never updated there -- security updates are normal, but major version changes never happen -- it may reach jaunty-backports, but it's unlikely
[21:45] <clusty> giovani, thanks. so basically i will have to either self compile it, or switch to karmic to get PG 8.4
[21:45] <clusty> thanks for answer
[21:45] <giovani> clusty: or attempt to install the karmic package on jaunty
[21:45] <clusty> giovani, is that a good idea?
[21:45] <giovani> it honestly depends
[21:46] <giovani> some packages may require core library updates ... in which case, you could break things
[21:46] <giovani> it's worth testing in a vm
[21:46] <giovani> if you're truly in need of 8.4
[21:46] <clusty> giovani, well just today I wasted 10h to code SQL stuff around features already i 8.4
[21:46] <giovani> there's a request for 8.4 to be backported -- you can voice your support here: https://bugs.launchpad.net/bugs/407822
[21:47] <clusty> giovani, such stuff will add up (time to reinvent the wheel)
[21:47] <giovani> you might also talk to #ubuntu+1
[21:47] <giovani> they might have some info on it
[21:47] <clusty> giovani, i am fine norm ally running anything past alpha4 of new ubuntus. would it be a good idea to switch to karmic?
[21:47] <clusty> this is a developemnt environment
[21:48] <giovani> clusty: I can't make recommendations on what's stable enough for your uses
[21:48] <clusty> not production
[21:48] <clusty> #ubuntu+1 might answer?
[21:48] <giovani> I'd recommend you try both a full karmic install in a vm, and a jaunty install, with the karmic postgresql-8.4 packages installed and see which works out for you
[21:48] <giovani> it also appears
[21:49] <giovani> that there are some unofficial builds of 8.4 available for jaunty
[21:49] <clusty> giovani, i meant more about the fact that non final realeases do send out crap every now and then
[21:49] <clusty> i remember last year some libc bug caused the thing to become unbootable
[21:49] <giovani> right ... only you can judge its current state for your needs
[21:50] <clusty> will talk it over with "the guys" :D
[21:50] <clusty> thanks a lot for info
[21:50] <giovani> check out the PPA
[21:50] <giovani> there are some 8.4 packages for jaunty
[21:50] <giovani> https://launchpad.net/~pitti/+archive/postgresql/
[21:52] <clusty> giovani, awesome thanks. hope it has all conribs and such. will look into it
[21:58] <HellMind> help on my xorg , my log http://pastebin.com/m31bd342c
[22:00] <giovani> HellMind: xorg support isn't relevant in #ubuntu-server
[22:03] <HellMind> im runing #ubuntu-server
[22:03] <HellMind> and I need xorg to use wine to use a gameserver :(
[22:04] <giovani> HellMind: xorg isn't supported here though ... we discourage the use of guis strongly on servers
[22:04] <giovani> HellMind: you can get support in #ubuntu
[22:12] <stefan__> hell'
[22:13] <stefan__> hello
[22:14] <user345fgh> i did choose "start installation" after i connected via ssh to the machine. i did some steps without problems, but now the installer is running "network-console" again - is this supposed to happen?
[22:17] <user345fgh> HellMind, also xorg for wine for gameservers doesnt make sense at all
[22:17] <user345fgh> HellMind, gameservers dont need xorg
[22:24] <andol> cjwatson: Are there any use in matching openssh bugs between LP and Debian BTS, or you do keep track of the overlap?
[22:26] <cjwatson> andol: I keep track somewhat ineffectively. Feel free
[22:26] <cjwatson> my next major todo item is to get openssh packaging out of cvs and into bzr so that I can actually let other people help in a useful way
[22:28] <andol> cjwatson: ok, noted
[22:29] <cjwatson> (basically if I happen to notice as it comes in then I mark it)
[23:07] <kansan> i accidentally shut down mysql down with a kill -9.  as a reward i now cant start mysql and i see:  /usr/bin/mysqladmin: connect to server at 'localhost' fai error: 'Access denied for user 'debian-sys-maint'@'localhost' (using password: YES)'
[23:16] <stefan__> kansan, that is not a major issue
[23:17] <stefan__> that user will just try to do a scan of all tables to check for errors
[23:17] <stefan__> if that is the only issue would should be fine
[23:39] <TimReichhart> could anybody please tell me where I can place faxgetty on startup on 8.04.3 TLS
[23:42] <jmedina> !startup
[23:42] <jmedina> !boot
[23:43] <jmedina> ja
[23:43] <HellMind> I entered ufw disable but it is still forwading some ports
[23:43] <HellMind> its disable or not?
[23:43] <jmedina> try /etc/event.d/
[23:43] <jmedina> HellMind: how did you disabled it?
[23:43] <HellMind> udw disable
[23:43] <jmedina> ufw is not a running process filtering
[23:43] <jmedina> so probably you diable the service to load at boot time
[23:44] <jmedina> try
[23:44] <jmedina> iptables -L  and see
[23:44] <HellMind> but if I do iptables -L i dont see anything
[23:44] <HellMind> but still the ports are forwarded :(
[23:45] <jmedina> probably thery are already in the state table
[23:45] <HellMind> what state table?
[23:45] <jmedina> netfilter stateful table
[23:46] <HellMind> my problem is I forwarded a port, editing some files .rules
[23:46] <HellMind> Now I clean my modification
[23:46] <TimReichhart> could anybody please tell me where I can place faxgetty on startup on 8.04.3 TLS
[23:46] <HellMind> but it seems that  port is being forwarded
[23:46] <HellMind> how can FLUSH that?
[23:46] <jmedina> well I dont know ufw, I know iptables and netfilter....
[23:46] <jmedina> TimReichhart: try /etc/event.d/
[23:47] <TimReichhart> alright but which event.d ?
[23:47] <HellMind> uncomplicated , yeah right
[23:49] <jmedina> gogole ubuntu upstart faxgetty
[23:49] <HellMind> ubuntu server uses ufw :(
[23:49] <HellMind> so anyone from here should know
[23:51] <jmedina> HellMind: forwarding rules are not loaded in filter table default for iptables -L, they are loaded in nat table
[23:51] <jmedina> so try
[23:51] <jmedina> iptables -t nat -L -v -n
[23:52] <HellMind> that will clean all ?
[23:52] <jmedina> TimReichhart: it is documented in official hylafax documentation
[23:52] <HellMind> thats filled
[23:52] <jmedina> http://www.hylafax.org/content/Handbook:Binary_Package_Install
[23:52] <jmedina> there you will find some examples
[23:52] <HellMind> how can I flush that :(
[23:53] <HellMind> iptables -t nat -F?
[23:53] <jmedina> iptables -t nat -F?
[23:53] <TimReichhart> but they took out /etc/inittab in 8.04.3
[23:54] <HellMind> jmedinatell me how can I flush that
[23:54] <jmedina> ¬¬, did you lredy read that page?
[23:54] <HellMind> oh  :D
[23:54] <HellMind> Its flushed: P
[23:54] <HellMind> :P
[23:54] <jmedina> man iptables for more info
[23:56] <HellMind> that page is for me=
[23:59] <Noah0504> Has anyone had experience with jabberd2?