/srv/irclogs.ubuntu.com/2009/08/13/#ubuntu-server.txt

phoenixzHi there, anybody here who has experience with EMC powerpath on ubuntu? Will it actually work?00:05
=== JanC_ is now known as JanC
storrgieI just double clicked a samba share and it mounted, where is it acutally mounted though?02:33
twbstorrgie: ask /proc/mounts.  This channel is for server support, not GUI stuff.02:35
HellMindhey how can I port forward using ufw04:23
twbHellMind: editing /var/lib/whatever, where the raw iptables-restore data lives.04:26
twbThe ufw wrapper pretty much restricts itself to hosts.allow functionality.04:26
HellMindso isnt that easy04:28
HellMindim having problem with udp04:28
HellMindI must touch something extra to forward that?04:29
twbI don't know offhand04:29
jmarsdenHellMind: 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.rules04:30
HellMindI got the rules in the before.rules file04:32
HellMindis that wrong?04:32
XiXaQI 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:41
Sam-I-AmXiXaQ: just remember one disk failure = entire data loss04:51
Sam-I-Ammore disks = more chance of failure04:51
jtajiXiXaQ: sounds like you want lvm04:57
XiXaQjtaji, then I don't need raid?05:00
XiXaQSam-I-Am, without raid 0 too?05:00
Sam-I-Amconcatenating disks has no redundancy05:01
jtajineither does raid005:01
jtajibut whatever, backup05:01
Sam-I-Amjust a warning... if you need lots of space and dont care about the data, raid 0 works fine05:01
jtajiXiXaQ: you can add/remove disks at will with lvm, not sure about raid005:02
XiXaQwith raid0 I don't think you can remove a disk.05:02
jtajiplus there's the nifty snapshot feature with lvm for backing up a consistent disk state05:04
jtajithen there's always lvm on top of raid05:05
XiXaQyes, but as I said, speed is not important at all.05:08
jtajiI would just do lvm then05:08
XiXaQthis isn't important data either. I just want the ability to store more data in the same space.05:08
XiXaQI mean, in the same folders.05:08
XiXaQjtaji, yes, I've read about that snapshot feature. Seems nice.05:14
webereincHello... 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
jtajiXiXaQ: it's very cool, just remember to leave unallocated space, you can always expand partition anytime with lvm05:14
XiXaQjtaji, what does that mean?05:15
XiXaQI've deleted all partitions on both disks.05:16
jtajiXiXaQ: with lvm you'll create a physical volume for lvm (most likely your whole disk), then create logical volumes in that (/, /home, etc...)05:16
jtajiXiXaQ: 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 snapshotting05:17
jtajiat 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 backup05:18
webereincHello... 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:23
XiXaQjtaji, that's unallocated space on each disk I use?05:26
jtajiXiXaQ: oh right..... I wasn't entirely accurate05:29
jtajieach disk will be a physical volume, multiple physical volumes are combined to one volume group05:29
jtajiit's the volume group in which you create logical volumes and leave some unallocated space05:30
XiXaQah, I see.05:32
XiXaQjtaji, I'm following the server guide from help.ubuntu.com. It seems to suggest I should keep / and such outside lvm?05:37
XiXaQI 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:42
jtajiXiXaQ: ah yes, another good point :p05:43
jtajiXiXaQ: I just keep /boot outside05:43
jtajiand only ~200 MB05:43
XiXaQis it necessary?05:43
jtajiyeah05:43
jtajiso I'd make the /boot on the first disk, then the rest of that disk for LVM physical volume05:44
XiXaQand /boot is primary and the rest is logical?05:44
jtajidoesn't matter, but since you only have one or two partitions on each disk, I just use primary05:45
XiXaQhow do I undo the kvm setup?05:46
jtajiwithout lvm, I use all logical typically05:46
jtajikvm?05:46
XiXaQlvm05:46
XiXaQI 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:47
jtajiremove the / logical volume, then remove the volume group, then delete the physical volume05:48
XiXaQhow do I remove it?05:48
XiXaQ"delete all data on this partition"?05:49
XiXaQoh, this is going to take a long time. :(05:50
jtajiin the installer? can't remember, should be pretty obvious05:51
jtajion the command line you'd use lvm lvremove, lvm vgremove, lvm pvremove......05:51
XiXaQI'll take a few hours to delete the / partition?05:52
jtajishould take seconds05:52
XiXaQit's been running for ten minutes and it's at 2%05:53
jtajiI can't think of why that would be05:54
XiXaQoh, I found it.05:54
XiXaQok, 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:57
jtajiyes05:58
XiXaQI'm not allowed to do that. I must provide a / filesystem.05:59
jtajidunno, I've done it several times... but I'm afraid now I must go to sleep06:02
jtajigood luck ;)06:02
XiXaQthanks.06:02
error404notfoundi 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:52
XiXaQuse sudo?06:57
XiXaQoh, sorry. I didn't read properly :)06:58
XiXaQadding your user to the root group seems best.06:59
twberror404notfound: all of those techniques are sucky.07:02
twberror404notfound: 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
error404notfoundtwb, 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 media07:03
error404notfoundtwb, 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
twberror404notfound: I'm assuming you already use AllowedUsers to restrict ssh access as root07:04
twbhttp://linuxmafia.com/faq/Security/ssh-publickey-process.html07:04
error404notfoundtwb, i have used AllowedGroups with canssh07:04
twberror404notfound: AllowedUsers root@192.168.1.*, for example07:05
twbI would not bother pissing about with xinetd.07:05
error404notfoundtwb, yes, that i can do in my sshd_conf like root@localhost07:05
error404notfoundtwb, hmm07:05
error404notfoundtwb, AllowedUsers take preferences over group? if yes, may be root should be in canssh group as well07:06
twberror404notfound: I don't know.07:06
twbMy impression is that it takes a set union (∩)07:06
twbMy impression is that it takes a set union (∪), rather07:07
error404notfoundtwb, okay, thanks, i am gonna try it..07:08
error404notfoundi addedthe AllowUsers line in sshd, restarted sshd, and now when i try to ssh into the server, i get: http://pastie.org/58232107:19
twb"Too many authentication failures" sounds like you are using something like fail2ban07:44
twbThe ssh client should not report that much information about why a connection was rejected.07:45
=== mdz_ is now known as mdz
error404notfoundanyone here uses duplicity?09:27
error404notfoundi am getting http://pastebin.com/m730f508a09:27
error404notfoundtwb, any ideas form your side?09:28
error404notfoundhttp://pastebin.com/m7aafbbe209:30
twberror404notfound: sorry, I'm busy09:35
error404notfoundtwb, no problem :D09:35
error404notfoundtwb, i fixed it :P there was one extra --include09:40
acalvohi, i'm trying to create a mail server with a LDAP server as a auth backend.09:40
acalvothe 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
_rubenacalvo: virtual users09:41
twbacalvo: with a network filesystem09:41
acalvommm09:41
acalvonetwork filesystem?09:41
twbacalvo: such as NFS, CIFS or AFS09:42
acalvoyes09:42
acalvobut i don't want to have the mail in the same filesystem as the user data09:42
acalvo_ruben: virtual users? what do you mean?09:42
twbacalvo: then you just make sure pam_ldap is in pam.d/dovecot instead of pam.d/common-*, I guess09:42
_rubenacalvo: most MTAs support both local users (system accounts) and virtual users09:42
acalvotwb: why? pam only takes care of authentification, it won't redirect to new storage tree09:43
twbI don't see what the problem is09:44
twbIf 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 user09:44
acalvotwb: and how to control where to store mail?09:44
acalvoit won't be a /home/$user$09:45
_rubenacalvo: http://www.postfix.org/VIRTUAL_README.html#virtual_mailbox09:45
twbacalvo: nsswitch.conf handles that.09:45
twbSo I suppose the accounts would exist on the mail server, but wouldn't allow logins09:45
twbDoing it the way I propose, that is.  I daresay _ruben has a better approach09:45
_rubenacalvo: 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 location09:46
acalvotwb: thanks, you're approach also seems right -- but I don't really understand how nsswitch can control storage systems09:46
acalvo_ruben: I think I've get your point!09:46
acalvothank you both!09:47
twbacalvo: "getent passwd fred" will tell the system fred's home dir09:47
acalvotwb: acalvo:x:1004:512:System User:/home/acalvo:/bin/bash09:47
acalvoit's true09:47
acalvobut there is no "/home/acalvo" in the mail server09:47
twbSo what?09:47
acalvoso, default config redirect to /home/user/Maildir09:48
acalvoif there is no /home/user, it will fail09:48
acalvoI suppose09:48
twbYou tell the mail system to make directories that don't exist09:49
acalvoseems fair09:49
acalvoI'll try to mix up both suggestions09:49
_rubendovecot creates mailboxes automatically on first mail/login09:49
acalvothat's what I've guessed09:50
acalvoI'll try what you said, using postfix+dovecot against LDAP09:50
CppIsWeirdhas anyone here used an IBM LCM?10:35
twbThe candy bars?10:36
RichieHi, 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.10:50
twbRichie: have you read the Ubuntu admin guide?11:00
Richietwb: 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:10
Richiethe 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:19
twbIf your MTA does not have a fixed IP, it will not work very well11:36
twbLots 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
twbIf you're a SOHO, I suggest you just relay all outbound mail through your ISP's smarthost.11:37
Richiethe 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 200311:40
Richiecurrently if people mail each other it goes to the isp, then the next person downloads from the isp when its for internal mail11:41
ulteriorhaving an issue setting up postfix11:50
ulteriorcant get it to sign my emails11:51
ulteriorhttp://pastebin.com/mffe232211:51
ulteriortried just about everything to fix the problem cant put my finger on it11:51
ulteriorany help would be greatly appreciated11:51
psteynHi guys12:30
psteynhow can I debug something like this:12:30
psteynAug 13 00:04:01 www kernel: [515697.941360] php[20786]: segfault at 7f9420f75f30 ip 00007f9420f75f30 sp 00007f941f2820f8 error 1412:30
psteynI mean, I have no idea which specific php script caused that error so I don't know how to reproduce in order to debug12:31
psteynhow can I get more info?12:31
acalvo_ruben: still here?12:36
RoyKpsteyn: 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 app12:40
_rubenacalvo: somewhat12:44
_ruben$dayjob keeping me busy12:44
psteynyeah, and I don't know which specific app it is.  it's a live site with thousands of php files12:44
psteynsigh12:44
_rubenpsteyn: 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
_rubenare adding a wrapper script .. which writes sript name and pid to a file, which can then be matched against the crash details12:45
psteynyeah, but that would be too easy ofcourse...sigh.  it's random, and hours apart, and I don't know which specific code it is12:46
_rubenacalvo: by default dovecot creates mailboxes either on first mail or on first imap/pop3 login12:46
acalvoI'm having this error12:46
psteynwhat 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
_rubenpsteyn: a systemwide wrapper would catch it12:46
acalvoAug 13 13:42:38 jupiter dovecot: imap-login: Login: user=<acalvo>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured12:46
acalvoAug 13 13:42:38 jupiter dovecot: IMAP(acalvo): mail_location not set and autodetection failed: Mail storage autodetection failed with home=/home/acalvo12:46
acalvoAug 13 13:42:38 jupiter dovecot: Fatal: IMAP(acalvo): Namespace initialization failed12:46
_rubenacalvo: set mail_location? :)12:47
acalvo_ruben: but, where?12:47
_rubendovecot config12:47
acalvook... touché, but it is getting home/acalvo as a mail_location, right?12:48
_rubenthis what i use on one system: mail_location =  maildir:/var/spool/dovecot/%1d/%d/%1n/%n/Maildir12:48
_rubenit stores mail for user@domain in /var/spool/dovecot/d/domain/u/user/Maildir/12:49
acalvo_ruben: you were right, gracias!12:49
Davieynijaba: I have introduced translations and a stand alone shell script.. just throwing it in the PPA now.13:06
DavieyGot someone else to do de translations, just writing a call for help blog post now.13:06
nijabaDaviey: great.  let me know when the ppa is up to date :)13:07
Davieynijaba: now :)13:11
Davieynijaba: There is a script bundled called ubuntu-server-tip for retrieving the correct language, that presumably update-motd can use13:12
error404notfoundi 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:24
error404notfoundbum!13:29
error404notfoundbump*13:29
DavieyNeed some server tips - http://blog.daviey.com/ thanks :)13:50
corporate_cookieIs anyone running Informix IDS 11.5 on Ubuntu Server LTS ?13:51
nijabaDaviey: for some reason, the translated string have an empty newline appended and accentuated character are not displayed properly :(14:04
Davieyhmm14:04
Davieyi noticed the accentuated issue, but assumed that was a UTF-8 issue on my box.14:05
nijabaDaviey: looks like it is NOT using the utf8 version...14:05
Davieyempty new line.. hmm.. wonder what has introduced that.14:05
Davieynijaba: ah!  I hope fortune supports accentuated chars.14:06
nijabaDaviey: it does... example: Personnellement, je suis toujours prêt a apprendre, bien que je n'aime14:07
nijabapas toujours que l'on me donne des leçons.14:07
nijaba-+- Winston Churchill -+-14:07
Davieyhmm14:08
nijabaDaviey: in german it is even worse...  they use a lot of special chars14:09
Davieyipp für Ubuntu server: Mit 'etckeeper' können Sie Änderungen in /etc/ in14:12
Davieyeinem Bazaar-Repository aufzeichnen. Nützlich, um Änderungen zu verfolgen14:12
Davieyund rückgängig zu machen. http://tinyurl.com/etckeeper14:12
DavieyGerman looks ok to me :/14:12
nijabaweird14:14
Davieyahhh.. working it out.14:14
Davieynijaba: does "$ fortune fr/ubuntu-server-tips" work as you would expect?14:14
Davieyexcept the blank line14:15
nijabaDaviey: nope14:15
Davieyhmm14:15
Davieyi'm using a locally create package, not the one from the PPA14:15
nijabaDaviey: nor does: fortune fr/philosophie14:15
* Daviey upgrades14:15
nijabaDaviey: must be a pb on my system!14:16
Davieynijaba: well oddly i'm seeing the same issue if i "$ LANG="fr" ubuntu-server-tip"14:17
CopyWriterhello guys14:35
CopyWritermy question today is, i have a dhcp server, so do i disable the dhcp server settings on my wireless router14:35
CopyWritercuz 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 random14:38
pmatulisCopyWriter: typically a subnet has a single dhcp server serving it14:39
corporate_cookiewhy is bzr 1.3.1 the default in Ubuntu Server 8.04 LTS ? ...is there a more recent supported bzr package14:39
CopyWriterthanks pmatulis14:40
CopyWriteri'm going to try assigning static ip addresses to the clients14:40
pmatuliscorporate_cookie: why?  b/c that's what 8.04 shipped with14:41
sgsaxwho was it that was looking for help setting up a jabber server?14:44
sgsaxarticle in Linux Journal this month about Openfire (http://www.igniterealtime.org/projects/openfire/index.jsp)14:45
sgsaxlooked pretty easy to setup14:45
ewookCopyWriter: One dhcp is enough. but is it not easier to make friends with your tech?14:54
Davieynijaba: 21 suggestions raised so far! :)15:10
nijabaDaviey: yeah!!15:10
Davieyontop of the current ones.15:10
nijabaDaviey: as bugs? I do not see any?15:11
nijabaDaviey: uh... now I do...15:13
Davieynijaba: Had a brief look at some of them.. mostly look good.. will need to make some of them more concise i think.15:16
nijabaDaviey: agreed15:17
laga# Appears as MAYNARD15:31
laga(#G010E110M1T\sh) ÖйúÈ˶àô15:32
laga(#GI8:E=88RM1Tkees) hi15:33
bitprophethuh. 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:44
sgsaxperhaps it's due to the fact that harddrives are bigger and cheaper than ever15:45
sgsaxso people are buying more and bigger drives than before15:45
sgsaxlots of big drives means a potential need for large volume management15:46
sgsaxbut I'm just guessing15:46
sgsaxSolaris uses zfs my default these days, iirc, so it could be a response to that15:46
sgsaxs/my/by/15:46
Steve[mbp]morning everyone!15:49
bitprophetsgsax: yea, that sounds like a good guess.15:51
bitprophetsuppose 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
sgsaxall my servers are 8.0415:52
RoyKsgsax: zfs rocks15:53
bitprophetsgsax: 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 bit15:54
sgsaxRoyK: so I hear, I'm not a big sol guy, so I haven't played with it at all15:54
sgsaxbitprophet: makes sense, you could also roll your own package15:54
RoyKsgsax: I'm a linux guy, really, but not really _only_ linux15:55
RoyKi've just worked with solaris a few months, and it rocks15:55
bitprophetsgsax: this is true. I actually used to do that back when I was on debian proper and 2.3 was the default (and outdated) python15:55
bitprophetI kinda wanted to see what 9.04 was like anyway.15:55
sgsaxI don't use sol enough to be fluent with it, only have one box that runs my sunray thin clients15:55
sgsaxbitprophet: sure, I love it on the desktop15:55
sgsaxand I'm sure it's fine on servers, I just get a more warm, fuzzy, enterprisey feeling running LTS15:56
bitprophethaha, ditto.15:56
bitprophetplus I can't really justify upgrading for each release, but every ~2 years is acceptable15:57
RoyKwe have a few boxes with 9.04 here, mostly doing number crunching with some antique fortran stuff :)15:57
bitprophetoh my.15:57
sgsaxRoyK: you must be doing clustering15:57
RoyKthe researchers - at least some - still use fortran15:57
bitprophetdoes fortran even run on anything manufactured after 1985?15:57
* bitprophet kids15:57
sgsaxour big cluster (1024 nodes) runs on gentoo and has any number of bizarre modeling libs15:58
RoyKlast language update of fortran was in 2003 :)15:58
sgsaxsome barely-usable15:58
RoyKbut - gotta go...15:58
sgsaxfortran continues to be used and updated15:58
sgsaxmostly because scientists/researchers are *not* programmers15:59
Psi-Jack_Heh15:59
maswansgsax: 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:00
bitprophetI don't think *any* init scripts monitor daemons after bringing them up16:01
sgsaxPsi-Jack_: I would guess that very few initscripts will do that16:01
maswansgsax: 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? heh16:01
sgsaxmaswan: yay for new toys :)16:01
bitprophetunless you're using Upstart, which (at least as of 8.04) was only for a small number of things by default16:01
bitprophetiirc16:01
bitprophetPsi-Jack_: but, that's your answer, use Upstart or something similar like daemontools/runit16:01
sgsaxcfengine can also monitor services16:02
Psi-Jack_Ahhh. Upstart? Hmmm.16:02
bitprophetPsi-Jack_: it's an Ubuntu specific initiative, I think upstart.ubuntu.com? google should find it easy16: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_Ahhhhhh16:03
Psi-Jack_I remember hearing some about upstart, event-based init system.16:03
Psi-Jack_upstart /sounds/ like it could be a good idea.16:04
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
bitprophetdepends. in my experience most daemons are quite stable and don't need watchdogging16:05
Psi-Jack_Besides just /etc/init.d/service16:05
bitprophethowever 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
bitprophetPsi-Jack_: update-rc.d I think16:06
bitprophetyes, it definitely depends on your needs.16:06
maswanbitprophet: update-rc.d creates links in rc?.d to init.d16:06
bitprophetand that's why upstart/runit exist16:06
maswanit doesn't start/stop services itself16:06
Psi-Jack_Hmmm, what a horrible name, update-rc.d?16:06
bitprophetoh, sorry, I misread what he said16:06
Psi-Jack_heh16:06
bitprophetNo idea, I always just do sudo /etc/init.d/<foo> <whatever>16:07
sgsaxthere are several update-* scripts from debian16:07
sgsaxall for managing various things16:07
sgsaxupdate-rc.d manages stuff in the rc.d dirs16:07
Psi-Jack_Yeah, I usually avoid using sudo direct-commands.16:07
sgsaxso it makes sense, but agreeably, it's a bit unweildy16:07
Psi-Jack_I usually sudo su - first, then run them then exit16:07
sgsaxyou can also use sudo -i16:08
Psi-Jack_-i works too, long as it's the full login, so env gets proper.16:09
pmatulisPsi-Jack_: you can try the chkconfig package (not sure it works very well)16:09
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/service16: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 shell16:10
pmatulisPsi-Jack_: use the 'service' command then16:11
Psi-Jack_Aha!16:11
sgsaxpmatulis: I always thought that was a rh-specific thing16:11
pmatulissgsax: yeah, i guess you can call it a port from red hat16:11
Psi-Jack_Heh16:11
sgsaxnot 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, ufw16:12
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:13
Psi-Jack_Anwyay..16:15
Psi-Jack_So, ufw. So far, I'm not liking it, but I'm giving it a fair looksie.16:16
jdstrandPsi-Jack_: re 'service --status-all', though I haven't looked at it, it is likely because service isn't smart enough to handle lsb output16: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
jdstrandPsi-Jack_: you can either specify the destination ip of the interface you want to listen on, or in karmic specify the interface directly16:17
jdstrandPsi-Jack_: see 'man ufw' for details16:18
Psi-Jack_karmic?16:18
jdstrandPsi-Jack_: Ubuntu 9.10 (as yet to be released)16:18
Psi-Jack_Oh16:18
Psi-Jack_heh16:18
* Psi-Jack_ hates named versions.16:19
bitprophetyea that's one thing that gets me about ubuntu16:19
Psi-Jack_And Debian. :p16:19
bitprophetyea16:19
bitprophetat 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
bitprophetI used to constantly get hardy and gutsy mixed up for some reason16:20
jdstrandI apologize for the jargon16:20
Psi-Jack_Oh, no problem, really.16:20
bitprophetPsi-Jack_: the "trick" is that they go alphabetically (at least nowadays) but I guess I'm mentally challenged because that never helps me16:20
Psi-Jack_heh16:20
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 it16:21
sgsaxufw doesn't run as a service, does it?16:22
Psi-Jack_Not technically, no.16:22
jdstrandPsi-Jack_: ufw currently targets single-homed bastion hosts. it's cli interface is quite helpful with that16:22
sgsaxit just configures netfilter, right?16:22
jdstrandPsi-Jack_: a multi-homed host with routing is by definition complicated16:23
Psi-Jack_yeah.16:23
Psi-Jack_Which is why I'm not liking it. It's complicating. :p16:23
jdstrandPsi-Jack_: ufw can help quite a bit there too16:23
Psi-Jack_Especially when people are saying to use ufw just to enable ipmasq, like everywhere.16:23
jdstrandufw allow to <ip address of eth0> oprt 22 proto tcp16:23
Psi-Jack_That'll work in 9.04?16:24
jdstrandPsi-Jack_: yes16:24
jdstrandsans typos16:24
jdstrandsudo ufw allow to <ip address of eth0> port 22 proto tcp16:24
jdstrandor with application integration16:25
jdstrandsudo ufw allow to <ip address of eth0> app OpenSSH16:25
jdstrandPsi-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 it16:27
jdstrandPsi-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
Davieynijaba: I think i have resolved the language issue.16:28
nijabaDaviey: 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
jdstrandre 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 initscripts16:29
sammytrying 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
jdstrandbut I haven't looked at the issue with 'service'-- it is speculation16:30
Davieynijaba: try, "$ fortune -u fr/ubuntu-server-tips"  I haven't commited it yet, but seems to solve it here.16:30
sammyI'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 typo16: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
nijabaDaviey: yes it does16:31
Daviey\o/16:31
jdstrandPsi-Jack_: ufw doesn't 'do' handling port forwarding per se. it allows you to do it if you already know iptables16:31
nijabaDaviey: "-u     Don't translate UTF-8 fortunes to the locale when searching or translating" what the heck!16:32
Psi-Jack_Aha..16:32
jdstrandPsi-Jack_: ufw focuses on 'host-based' firewalling16:32
Davieynijaba: odd eh?16:32
Psi-Jack_Yeaah, So I'm noticing.16:32
nijabaDaviey: very16:32
jdstrandPsi-Jack_: so there is nothing in it to particularly help with port forwarding16:32
Psi-Jack_jdstrand, Is there one you would better recommend for a server? single to multiple ip handling?16:32
jdstrandPsi-Jack_: I'm not the right person to ask, tbh. I like ufw.16:33
Psi-Jack_Yeah, well, this is #ubuntu-server. ;)16:33
Psi-Jack_And sadly, THIS is the channel I was told, ufw is the "recommended" way to handle firewalls in Ubuntu.16:34
jdstrandPsi-Jack_: ufw can do port forwarding just fine16:34
jdstrandPsi-Jack_: you just add the appropriate rules to /etc/ufw/before.rules16:35
Psi-Jack_Yeah, iptables-save-style rules.16:35
* jdstrand nods16:35
Psi-Jack_Which writing those kind of rules by hand is painful enough.16:35
jdstrandPsi-Jack_: any iptables guide on port forwarding will work16:35
pmatulisheh, jdstrand likes ufw16:35
pmatulis;)16:36
jdstrandPsi-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 different16:36
jdstrandpmatulis: ;)16:36
Psi-Jack_Yeah, shorewall is one I tried, and it totally went fubar.16:36
Psi-Jack_I might try that fireflier though16:37
sgsaxmeh, keep your unnecessary ports closed and your service apps patched, just like momma always said16:37
sgsaxforget about firewalls :)16:37
jdstrandPsi-Jack_: I would recommend you read http://www.netfilter.org/documentation/HOWTO/packet-filtering-HOWTO.html (also referenced in that guide)16:37
Skaaghow come I uninstall pure-ftpd with --purge and the /etc/pure-ftpd directory is not removed?16:37
Skaagis there another switch to completely wipe out any remains?16:38
jdstrandPsi-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 use16:38
Psi-Jack_jdstrand, I know iptables, like the back of my hand,16:38
jdstrandPsi-Jack_: then adding your handful of rules to /etc/ufw/before.rules shouldn't be too difficult... *shrug*16:38
jdstrandanyhoo... back to work16:39
sgsaxSkaag: that should do it, unless you created your own files in that dir16:39
sgsaxare there any files left in there?16:39
SkaagI tried deleting all files from it16:39
Skaageven then it would not remove the empty /etc/pure-ftpd16:40
sgsaxso just the dir is left?16:40
sgsaxyou used ls -la to make sure there are no hidden dotfiles lieft in there?16:41
Skaagyes just the dir... no hiddens16:42
Skaagkinda annoying :-(16:42
Skaagbecause then when I try to install it again, it complains the directory is empty16:42
=== JanC__ is now known as JanC
Skaagok I found out the problem16:44
SkaagI needed to purge also pure-ftpd-common16:44
Skaagsomehow the purge was not affecting that package, but when I specifically purged it by name it worked16:44
=== funkyHat is now known as hunkyFat
sgsaxSkaag: good find16:57
=== hunkyFat is now known as funkyHat
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:04
Psi-Jack_main: TLS init def ctx failed: -118:05
Psi-Jack_Permissions I made for testing, publically world readable.18:05
Psi-Jack_The certs, that is.18:05
sven_oostenbrinkHi there, anybody here who has experience with EMC powerpath on ubuntu? Will it actually work?18:26
giovanisven_oostenbrink: I doubt anybody's familiar with the product here -- did you ask EMC? or just try it?18:35
sven_oostenbrinkwell, try it.. it has a 5000 dollar license without trial.. :)18:35
sven_oostenbrinkAnd in the end, its just a friggin driver..18:36
giovanisven_oostenbrink: well if you haven't already purchased it, then this is a question for EMC sales18:36
sven_oostenbrinkmust be a pretty sweet driver if you ask me..18:36
sven_oostenbrinkgiovani: I suppose.. I was just curious if anybody her has any experience with it18:36
giovanisven_oostenbrink: understood, it's just not common at all -- I highly doubt anyone here has used it18:36
giovaniso best to talk directly to the source18:36
Psi-Jack_$5,000 for an fscking DRIVER?18:37
Psi-Jack_That's like choking the chicken without any post-satisfaction!18:37
giovaniPsi-Jack_: compared to EMC's storage solutions ... it's a drop in the bucket18:39
Psi-Jack_I'd be finding a hell of a lot better storage 'solution' then, period.18:40
giovanisven_oostenbrink: it might be worth looking into the open source alternative though -- multipath-tools18:40
giovaniPsi-Jack_: honestly, EMC makes high-quality products18:41
sven_oostenbrinkgiovani: ahah... now you're talking18:41
Psi-Jack_giovani, Not if they charge $5,000 for just a driver,18:41
giovaniheh18:41
giovanithat amount of money is negligable if it costs thousands of dollars to set up and maintain an alernative (in salary)18:41
sven_oostenbrinkgiovani: in all honesty.. I find most "enterprise" product to give me loads of crap with just a small core of real functionality.18:42
giovaniyou have to realize how large businesses have to think18:42
giovanisven_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 maintain18:42
sven_oostenbrinkunderstood, but AFAIK, basically all powerpath does is bundle 4 fibrechannels into one...18:42
giovaniwe're running into this at work right now, as we move away from home-grown NFS filers with various backends to NetApp18:43
corporate_cookiedose anyone know where I can find some info on installing Informix IDS in ubuntu ?18:43
giovanisven_oostenbrink: right, it becomes your storage driver -- that's a critical piece of the puzzle if it fails18:43
corporate_cookieI do not seam to be able to find any relevant documentation18:43
giovanicorporate_cookie: talk to IBM?18:44
corporate_cookiehave you ever talked to IBM : )18:44
giovaninope ... but it's not an ubuntu package18:44
corporate_cookiethanks though ..i appreciate it : )18:44
corporate_cookietrue that18:44
giovanihttp://www.informix-zone.com/node/53218:44
giovaniwow, 2nd google hit18:44
giovanithat was fast :)18:45
sven_oostenbrinkgiovani: 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
giovaniplease use google next time18:45
giovanisven_oostenbrink: then feel free to look into the open-source offering I mentioned18:45
giovanihttp://www.ubuntu.com/register/informix18:46
giovaniseems I was wrong about ubuntu and informix18:46
giovaniit seems to be officially supported18:46
giovaniyou must not've googled at all18:46
giovaninor 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=ct630db218:46
corporate_cookiegiovani: i have googeled ....im looking for a good install guide ..IBM's documentation is rather generic18:48
corporate_cookiethanks though18:48
giovaniit'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:48
uvirtbotNew bug: #413201 in ubuntu "[Sync Request] libmixlib-config-ruby" [Undecided,New] https://launchpad.net/bugs/41320118:56
sven_oostenbrinkgiovani: I'll take a look at the open source version yeah, thanks!18:57
Nafallogiovani: gdebi is the new hotness for deb installs, and not that new :-)18:58
Nafalloresolves dependencies and such.18:58
giovaniNafallo: good to know, thanks19:03
clustyhey19:24
clustyhow can I read CPU temp sensor value19:24
clustyfrom a console19:24
clustyis there some place in /proc ?19:24
leonel /proc/acpi/thermal_zone/19:25
clustythanks19:25
clustyleonel, nothing?19:26
clustyleonel, ...weird. it's a core i7 and I can sweat I had temp sesors.19:26
Psi-Jack_Hmm.. I don't got anything in that. heh. I have to use lm_sensors19:30
sgsaxPsi-Jack_: it's chipset dependant19:34
Psi-Jack_Yeah. One of my othr systems had it. heh19:35
Psi-Jack_Both HP's so kinda odd. :)19:35
sgsaxdifferent kernels?19:35
Psi-Jack_Nope.19:35
sgsaxor different mobos?19:35
Psi-Jack_Different model HPs19:36
sgsaxsunspots? :)19:36
sgsaxthat would do it19:36
Psi-Jack_Yeah. heh. I have a server farm at home. 6, going on 7 computers.19:36
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:41
sgsaxah, the old "Keyboard not found.  Press F1 to continue..." one of my alltime favs19:52
_rubenits a keeper indeed19:53
thejudgeHi19:56
thejudgei need help19:56
_ruben!help19:57
ubottuPlease don't ask to ask a question, simply ask the question (all on ONE line, so others can read and follow it easily). If anyone knows the answer they will most likely reply. :-)19:58
thejudgei want to know how to creat a box for Shell, BNC... Sous Ubuntu19:58
_rubenget a pc .. install ubuntu on it .. hook it up to a permanent internet connection .. install bnc software .. done19:59
thejudgei'm under Ubuntu right now20:01
thejudgebut i'm looking for the way20:01
thejudgeto install a box20:01
jmedinawhat is that BNC... Sous?20:02
qman__I'm not sure what you mean by "install a box"20:03
sgsaxthejudge: do you mean just install ubuntu on a new computer or server?20:06
uvirtbotNew bug: #336554 in awstats (main) "Use of uninitialized value $_[0] in pattern match (m//) at /usr/share/perl5/Geo/IPfree.pm line 80." [Low,Fix committed] https://launchpad.net/bugs/33655420:07
thejudgesgsax:  no i have already ubuntu20:07
thejudgei want irc box20:08
_rubenyou already have ubuntu, you already are on irc .. what more do you need?20:08
jmedinathejudge: you want to install a irc server?20:10
qman__the term "box" is generally used to refer to a PC, the actual hardware20:10
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
accolcan 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
_rubenaccol: need to be a bit more specific20:11
qman__ssh, http, file sharing?20:12
accolsorry lol20:12
accolssh20:12
_rubenaccol: 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 computers20:12
_rubenor 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 configuration20:12
accoljesus...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 out20:13
_rubenwhat's the ip ?20:13
qman__is the IP address something like 192.168.1.1020:13
jmedinathat is a routing problem20:13
accolyeah20:13
qman__if so, that will not work from the internet20:13
qman__that's a private use address only20:13
accoldamn20:13
qman__you need to configure your router to forward port 22 to that address20:14
qman__and find out what your internet IP address is20:14
qman__go to a site like http://whatismyip.com/20:14
accoli know the comps ip address (the server one, not the one im on right now)20:14
accolits 192.168....20:14
qman__yes, but you also need to know what your internet IP address is20:14
qman__the one that is shared between all your PCs20:15
accolah ok20:15
accolok, once i find that where can i foward port 22?20:15
accolthanks btw20:15
qman__you have to go to your router's configuration20:15
qman__usually, for stuff like a linksys, you browse to 192.168.1.1 in a web browser20:15
accolah awesome20:16
qman__go to the port forwarding section, and forward 22 TCP to your server's IP, the 192.168...20:16
qman__then, from elsewhere, you connect to your internet IP, that the site I linked shows20:17
qman__and it should go through to your server20:17
accoldude awesome20:17
accolthanks so much20:17
qman__keep in mind that your internet IP may change20:17
qman__home connections tend to be dynamic20:17
blistov1anyone know how to do a headless/serial install of ubuntu server/20:17
blistov1?20:17
accoloh wow20:18
accolthat sucks20:18
sgsaxaccol: not really, you just need to sign up with a dyndns service20:18
qman__you can use a service like afraid.org or dyndns.org to get a free subdomain, which will always point to your IP20:18
sgsaxlike no-ip.org20:18
accoloh it....so those programs will always foward you to the ip despite a change?20:18
accolgot it20:18
sgsaxyou sign up for the service20:19
qman__you configure a script on your server which updates the DNS information periodically20:19
qman__so when your IP changes, shortly after, it gets updated in DNS20:19
accolthanks alot20:20
Psi-Jack_namecheap is nice, too, for if you get your own domain.20:24
_rubenluckily with ipv6 there's no need for isps to assign dynamic ip addresses anymore .. now lets fastforward a couple of years into the future ... :P20:26
Psi-Jack_Bleh TCP/IP is a dead concept anyway. :p20:26
CppIsWeirdwhen 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:35
_rubenthe other 64bit architectures arent very common (and not supported afaik)20:37
_rubenso in 99% of the cases 64bit equals amd6420:37
CppIsWeird_ruben, do you know the reasons for this?20:39
_rubenreason for what? not supported ia64 and stuff like that ? because its highly uncommon20:39
CppIsWeirdinteresting.20:40
_ruben99% of all 64bit mainstream cpus are amd64 anyways20:41
Nafalloit should be named x86_6420:42
* Nafallo mumbles20:42
_rubenNafallo: make it so! ;)20:43
Nafallo_ruben: do I look like a damn jedi or something? ;-)20:45
* _ruben googles for a picture of Nafallo 20:45
Nafallolol20:46
CppIsWeirdjust 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:49
_rubenCppIsWeird: no.. im saying that mainline servers dont use architectures like ia6420:50
_rubenmost (all?) intel xeons are amd64/x86_6420:50
jtimbermanhttp://en.wikipedia.org/wiki/X86-6420:50
CppIsWeirdi never mentioned anything about ia6420:50
_rubenthe 64bit xeons that is20:51
CppIsWeirdi 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 version20:51
CppIsWeirdi can find no other version of 64bit ubuntu-server.20:51
_ruben2G xeon could very well be 32bits20:51
CppIsWeirdoh.20:51
_rubenneed to find out its exact type20:52
CppIsWeirdim having a hard time doing that. best i can find on the ibm site is that it has 512kb cache and is a 2ghz xeon20:52
_rubencould check the bios of the server .. most servers tend to show the bussize somewhere20:54
CppIsWeird_ruben, ok, one sec20:58
HellMindhow can I install the minimun xorg for wine21:00
uvirtbotNew bug: #386246 in awstats (main) "/etc/cron.d/awstats is preconfigured for apache1 not apache2" [Low,Confirmed] https://launchpad.net/bugs/38624621:01
_rubenwine is not something i'd want on a server21:01
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
user345fghhi21:02
user345fghive seen "install over ssh" in the advanced install options. is it possible to configure/start ssh and then continue a normal installation?21:03
_rubenuser345fgh: if the network-console module is loaded, you can jump in using ssh any time21:05
user345fghthe normal installation is currently running. i just selected the disk to use21:06
user345fghis there a way to load the network console after the installer did partition the disks?21:06
qman__CppIsWeird, amd64 is the common, modern 64-bit architecture -- modern xeons and core 2s and i7s use the amd64 architecture21:07
HellMindXorg :(21:07
qman__despite being intel processors21:07
qman__intel has incorporated it in one form or another in almost all of its processors since the Pentium 4 extreme edition21:08
qman__under the moniker EM64T21:08
_rubenuser345fgh: not that i know of21:08
user345fgh_ruben, so advanced, do everyting till network-console and then connect to the box via ssh?21:09
user345fghis 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:09
_rubenuser345fgh: when network console is loaded, you get a prompt for ssh password to enter and an OK dialog, just before the disk part start21:10
_rubenuser345fgh: when connecting with ssh you get 2 options : start installer (at the point where it currently is), or start shell21:10
user345fghah nice21:10
_rubendunno if it's screen'ed or anything21:10
user345fghi guess i will try that, just out of curiosity21:10
qman__I never did see much point in it myself21:11
qman__I've never taken more than ten minutes to install ubuntu server21:11
_rubencomplex disk layouts can take a while .. which is done "easier" from your comfy desk than noisy serverrom21:12
_rubenroom21:12
qman__true21:13
qman__if you did a massive multi TB RAID setup straight away, that would take a while21:13
qman__I did that after the base install on my server, though21:13
_rubenor just say software raid over 4 disks with lvm and say 10 lvs/partitions :)21:13
_rubenor worse .. software raid over 4 disks and 10 partitions without lvm :)21:14
qman__hehe21:14
qman__that would be a bit nasty21:14
qman__I recently added two disks to my RAID 521:14
_rubenespecially with the classic software raid ... the non-partitionable one :)21:14
qman__took about four hours to sync21:14
qman__and that was with that kernel tweak21:15
_rubenresizing raid scares the shit out of me :)21:15
qman__without it, it was going to take 3 days21:15
_rubeni think i had a resize going on for 30hrs or so :p21:15
_rubenwas ages ago tho21:15
qman__sad thing is, it's almost full again21:16
qman__going to have to go with bigger disks this time though21:16
_rubeni wont resize my current fileserver's raid .. i'd just add a raidgroup to my lvm21:16
qman__currently has 8 500GB ones21:16
_ruben4x1TB here21:16
giovani16x1.5TB here :)21:17
_rubenand one box (out of service) with 6x200G pata .. and antoher (also out of service) with 6x250G sata21:17
giovani2 of those are parity drives21:17
qman__I'm trying to wait as long as I can, for when 2TB disks get reasonably priced and tested out a bit21:17
giovanithere aren't any serious 2TB disks out21:18
qman__then I'll build a second raid, move the data, and retire the old disks to other machines21:18
_rubengot 2 boxes at work with 16x1TB drivers .. in 3 raid10 volumes .. rather disapointing performance though .. hardware raid, but sata just doesnt cut it21:18
giovaniWD "Green" drives are awful -- don't use them21:18
user345fghqman__, yes. its usually very fast compared to windows xp installation21:18
qman__I'm a Seagate fan myself21:19
giovani_ruben: SATA is unlikely to be a bottleneck here -- it's going to be the drive itself21:19
qman__my bottleneck is the gigabit LAN :)21:19
giovaniwell ... IP-based storage protocols are always going to be slow21:19
giovaniATAoE is your best bet for commodity-cabling21:19
_rubengiovani: sure, 10K sata disks *might* be better .. wont beat 15K sas tho21:19
qman__yeah, but this IS just a SOHO network21:19
qman__that's a bit pricey for this21:20
giovani_ruben: it's not the SATA interface that's the bottleneck -- 15k SATA drives would work fine, if they were in common production21:20
user345fghgiovani, may i ask whats saved on that hugh space?21:20
giovaniqman__: what's pricey?21:20
genesimmonsgood 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
giovaniuser345fgh: personal data21:20
qman__SAS and non-IP storage networks21:20
user345fghok21:20
giovaniqman__: ATAoE can be free21:20
giovanihence commodity21:20
user345fghwithout movies i can barely fill 50gb space21:21
giovaniATAoE is cheaper, and going to offer better performance than something iSCSI based21:21
_rubenmovies arent even my biggest space eater at the moment i think .. tons of wii games are21:21
giovaniof course, it doesn't directly compete with iSCSI on features -- but if you're just doing local storage ... it's going to be far better21:21
user345fgh_ruben, the true liberation comes when you learn that you dont need everything at once...took me a long time21:22
qman__my server was built from the start on a budget, it's a single core s939 athlon in an nforce 6150 board21:22
qman__just an NCQ SATA controller, no RAID functions, hence the software RAID21:24
_rubenxp1700+ with promise 4 port sata controllers21:24
qman__yeah, the TX4s21:25
qman__good controllers, those21:25
qman__I've found out that mdraid really is pretty good21:26
qman__if you can't spend real money on a nice hardware setup, it's not worth bothering with anything else21:27
clustyhey21:27
clustyi was wondering when will postgres 8.4 make it into ubuntu?21:27
clustynow is only in karmic21:27
clustywill it ever reach jaunty?21:27
giovaniclusty: 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 unlikely21:44
clustygiovani, thanks. so basically i will have to either self compile it, or switch to karmic to get PG 8.421:45
clustythanks for answer21:45
giovaniclusty: or attempt to install the karmic package on jaunty21:45
clustygiovani, is that a good idea?21:45
giovaniit honestly depends21:45
giovanisome packages may require core library updates ... in which case, you could break things21:46
giovaniit's worth testing in a vm21:46
giovaniif you're truly in need of 8.421:46
uvirtbotNew bug: #248213 in awstats (main) "awstats.pl cronjob spawns too many instances resulting in very high load average" [Undecided,Confirmed] https://launchpad.net/bugs/24821321:46
clustygiovani, well just today I wasted 10h to code SQL stuff around features already i 8.421:46
giovanithere's a request for 8.4 to be backported -- you can voice your support here: https://bugs.launchpad.net/bugs/40782221:46
uvirtbotLaunchpad bug 407822 in jaunty-backports "backport postgresql-8.4" [Undecided,New]21:47
clustygiovani, such stuff will add up (time to reinvent the wheel)21:47
giovaniyou might also talk to #ubuntu+121:47
giovanithey might have some info on it21:47
clustygiovani, i am fine norm ally running anything past alpha4 of new ubuntus. would it be a good idea to switch to karmic?21:47
clustythis is a developemnt environment21:47
giovaniclusty: I can't make recommendations on what's stable enough for your uses21:48
clustynot production21:48
clusty#ubuntu+1 might answer?21:48
giovaniI'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 you21:48
giovaniit also appears21:48
giovanithat there are some unofficial builds of 8.4 available for jaunty21:49
clustygiovani, i meant more about the fact that non final realeases do send out crap every now and then21:49
clustyi remember last year some libc bug caused the thing to become unbootable21:49
giovaniright ... only you can judge its current state for your needs21:49
clustywill talk it over with "the guys" :D21:50
clustythanks a lot for info21:50
giovanicheck out the PPA21:50
giovanithere are some 8.4 packages for jaunty21:50
giovanihttps://launchpad.net/~pitti/+archive/postgresql/21:50
clustygiovani, awesome thanks. hope it has all conribs and such. will look into it21:52
HellMindhelp on my xorg , my log http://pastebin.com/m31bd342c21:58
giovaniHellMind: xorg support isn't relevant in #ubuntu-server22:00
HellMindim runing #ubuntu-server22:03
HellMindand I need xorg to use wine to use a gameserver :(22:03
giovaniHellMind: xorg isn't supported here though ... we discourage the use of guis strongly on servers22:04
giovaniHellMind: you can get support in #ubuntu22:04
stefan__hell'22:12
stefan__hello22:13
user345fghi 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:14
user345fghHellMind, also xorg for wine for gameservers doesnt make sense at all22:17
user345fghHellMind, gameservers dont need xorg22:17
andolcjwatson: Are there any use in matching openssh bugs between LP and Debian BTS, or you do keep track of the overlap?22:24
cjwatsonandol: I keep track somewhat ineffectively. Feel free22:26
cjwatsonmy 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 way22:26
andolcjwatson: ok, noted22:28
cjwatson(basically if I happen to notice as it comes in then I mark it)22:29
uvirtbotNew bug: #412533 in openssh "Add patch from ssh bug #69 for non-X askpass support" [Wishlist,New] https://launchpad.net/bugs/41253322:32
kansani 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:07
stefan__kansan, that is not a major issue23:16
stefan__that user will just try to do a scan of all tables to check for errors23:17
stefan__if that is the only issue would should be fine23:17
TimReichhartcould anybody please tell me where I can place faxgetty on startup on 8.04.3 TLS23:39
jmedina!startup23:42
ubottuTo add programs to start up when you log into your Gnome session go to System>Preferences>Sessions and use the Startup Programs tab. For more information, see https://help.ubuntu.com/community/AddingProgramToSessionStartup - See !boot for starting non-interactive programs at boot23:42
jmedina!boot23:42
ubottuBoot options: https://help.ubuntu.com/community/BootOptions - To add/remove startup services, you can use the package 'bum', or update-rc.d - To add your own startup scripts, use /etc/rc.local - See also !grub and !dualboot - Making a boot floppy: https://help.ubuntu.com/community/GrubHowto/BootFloppy - Also see https://help.ubuntu.com/community/SmartBootManagerHowto23:42
jmedinaja23:43
HellMindI entered ufw disable but it is still forwading some ports23:43
HellMindits disable or not?23:43
jmedinatry /etc/event.d/23:43
jmedinaHellMind: how did you disabled it?23:43
HellMindudw disable23:43
jmedinaufw is not a running process filtering23:43
jmedinaso probably you diable the service to load at boot time23:43
jmedinatry23:44
jmedinaiptables -L  and see23:44
HellMindbut if I do iptables -L i dont see anything23:44
HellMindbut still the ports are forwarded :(23:44
jmedinaprobably thery are already in the state table23:45
HellMindwhat state table?23:45
jmedinanetfilter stateful table23:45
HellMindmy problem is I forwarded a port, editing some files .rules23:46
HellMindNow I clean my modification23:46
TimReichhartcould anybody please tell me where I can place faxgetty on startup on 8.04.3 TLS23:46
HellMindbut it seems that  port is being forwarded23:46
HellMindhow can FLUSH that?23:46
jmedinawell I dont know ufw, I know iptables and netfilter....23:46
jmedinaTimReichhart: try /etc/event.d/23:46
TimReichhartalright but which event.d ?23:47
HellMinduncomplicated , yeah right23:47
jmedinagogole ubuntu upstart faxgetty23:49
HellMindubuntu server uses ufw :(23:49
HellMindso anyone from here should know23:49
jmedinaHellMind: forwarding rules are not loaded in filter table default for iptables -L, they are loaded in nat table23:51
jmedinaso try23:51
jmedinaiptables -t nat -L -v -n23:51
HellMindthat will clean all ?23:52
jmedinaTimReichhart: it is documented in official hylafax documentation23:52
HellMindthats filled23:52
jmedinahttp://www.hylafax.org/content/Handbook:Binary_Package_Install23:52
jmedinathere you will find some examples23:52
HellMindhow can I flush that :(23:52
HellMindiptables -t nat -F?23:53
jmedinaiptables -t nat -F?23:53
TimReichhartbut they took out /etc/inittab in 8.04.323:53
HellMindjmedinatell me how can I flush that23:54
jmedina¬¬, did you lredy read that page?23:54
HellMindoh  :D23:54
HellMindIts flushed: P23:54
HellMind:P23:54
jmedinaman iptables for more info23:54
HellMindthat page is for me=23:56
Noah0504Has anyone had experience with jabberd2?23:59

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!