/srv/irclogs.ubuntu.com/2009/05/11/#ubuntu-server.txt

ssd7hey all00:05
wizardslovakheyy00:31
ssd7wizardslovak: What's up?00:34
tonyyarussoHas anyone here taken an LPI certification test recently?00:36
wizardslovakssd7: not much , sup with you?00:44
ssd7nm00:46
wizardslovakis  here anyone who can help me settup email server?01:13
FFForeverwizardslovak, gl, mail is EVIL!!!01:16
FFForeverandol, u still around?01:16
wizardslovaki already heard it somewhere01:17
FFForeverheard what?01:17
FFForevermail is a pita?01:18
zoopsterwizardslovak: what kind of help do you need01:28
FFForeverhow do i change this?, mailed-bychr1831.xen.....com i wanna make it just my domain name01:37
wizardslovakzoopster: well someone who can guide me true installation01:40
foxbuntuFFForever, it depends on which smtp mailer you are using, but its called a mail server banner, you can google the smtp dameon you are using along with smtp banner to figure out how to change it01:41
FFForeverthanks, i am using sendmail-bin01:41
wizardslovaklike what mx priority should i set in my domain name ?01:41
foxbuntuFFForever, sorry, laptop battery going to die...gl with it01:42
FFForeverthanks01:42
twbfoxbuntu: do you just mean the foo in HELO foo?01:42
wizardslovakzoopster: when i set up in my domain name register site , i have record type "mx"mx priority "10"host name "@" and my ip01:43
wizardslovakzoopster: but  i am getting error"    *  Forward Address is not RFC compliant."01:43
FFForeverif i have a mta can anyone from the world wide web use my send mail to send messages?01:45
FFForever(i should only have the sendmail-bin and sendmail-cf installed)01:45
twbFFForever: that depends on how it is configured.01:47
FFForevertwb, default configuration?01:47
twbI do not use sendmail, and I recommend you don't, either.01:48
FFForevertwb, when i telnet ip 25 i get connection refused so i should be fine right?01:48
twbFFForever: that depends on how the connection is refused.01:48
FFForevertwb, php uses send mail for sending emails01:48
twbNo, PHP uses sendmail(8).  This is a CLI provided by all MTAs.01:48
FFForeversendmail(8)?01:48
twbThe sendmail binary documented in section 8 of the manual.01:49
FFForeverahhh well as long as i only have the binary's i should be fine no?01:49
twbI cannot answer that question.01:49
FFForeverahhh well sendmail is a service/mta =\01:49
BlackMinnowCan anyone recommend a good Nobish Ubuntu spin off that will fly on an old AMD64?02:03
BlackMinnowNoobish*02:03
=== ssd7_ is now known as ssd7
twbBlackMinnow: this channel is about Ubuntu Server, not about Ubuntu derivatives.02:09
twbFor some roles, a Pentium III would be more than adequate to run Ubuntu Server, let alone anything supporting the AMD64 architecture.02:11
wizardslovakso i am folowinf this https://help.ubuntu.com/community/PostfixBasicSetupHowto02:12
wizardslovaki settup everything like this02:13
wizardslovakbut still when i do test it doesnt work02:13
wizardslovakhmmm02:24
storrgie1anyone familiar with this "SCGIMount /RPC2 127.0.0.1:5000 " in regards to an apache config02:42
tonyyarussowizardslovak: What are you trying to get it to do?03:12
wizardslovakwell i want to make it work for my website03:18
wizardslovakso my email will be xxx@web.us03:18
tonyyarussookay03:20
tonyyarussosymptom & config?03:20
tonyyarussoWhere did the 'netselect' tool go?04:07
tonyyarussoIt seems to only exist in dapper and hardy04:08
twbtonyyarusso: what does netselect do?04:11
tonyyarussotwb: Chooses the fastest server from a list, eg for selecting apt mirrors or irc servers.04:11
twbtonyyarusso: oh, like apt-spy04:12
twbI've never seen one that works on Ubuntu, only Debian.04:12
tonyyarussonever heard of apt-spy04:12
twbIt's not in Ubuntu04:12
twbhttp://packages.debian.org/apt-spy04:13
tonyyarussoyeah, similar to that04:14
jmarsdentonyyarusso: See http://www.mail-archive.com/ubuntu-devel-discuss@lists.ubuntu.com/msg05990.html -- looks like it never really worked on Ubuntu.04:14
tonyyarussoHuh, I wonder what sort of bugginess it had.04:15
jmarsdenhttps://answers.launchpad.net/ubuntu/+source/netselect/+question/65575  suggests others are interested too.  You cabn always grab the source package, build it in Jaunty and see what happens when you use it :)04:23
ssd7twb: It's wierd that you mentioned that, I've actually been looking at the same thing04:25
ssd7I think it would be pretty easy to write an even better tool than netselect-apt by reusing a lot of code that is in software-sources-gtk04:26
ssd7I've actually spent the last few minutes writing something up and I have something built around netselect that isn't near finished yet04:27
ssd7but once I figure out a good way to determine whether a sources.list entry is one of the official mirrors, it should be pretty easy to finish04:27
tonyyarussoThere's a list of mirrors on Launchpad that you could parse.04:28
twbssd7: what apt-spy does is use a list of official mirrors04:28
twbThat list includes the mirror's URL, and what architectures and categories are supported by that mirror.04:28
ssd7yeah, I have a similar list that I stole from /usr/share/update-manager/04:28
twbapt-spy then finds the fastest one (or few?) and writes them to /etc/apt/sources.list.d/apt-spy04:28
twbYou could probably just make apt-spy an Ubuntu package by changing where it looks for the list04:29
ssd7well, right now I have a python script that will replace any entry in your sources.list that matches one of the mirrors in the file I have with either (a) a mirror you provide or (b) the fastest mirror from the list I have04:49
wizardslovakis there way i can check what software is installed on server?04:50
tonyyarussodpkg -L, dpkg --get-selections04:52
twbaptitude search '~i!~M'04:55
twbThe !~M part suppresses automatically installed package, which you don't normally care about when building additional boxes.04:56
tonyyarussofind / piped to apt-file search!04:56
tonyyarussohuh.  That seems to be an aptitude-only functionality.05:06
FFForeverany idea how much ram a hl engine uses?05:22
FFForeverhl server*05:31
tonyyarussoWhat's HL?05:40
jmarsdentonyyarusso: I'm guessing half life ?05:43
tonyyarussoah, that could be.05:43
* tonyyarusso is such a non-gamer he doesn't even think of such things05:43
tonyyarussowith the exceptions of m-b, sol, and pp-r05:43
tonyyarusso:P05:43
jmarsdenI'm a non-gamer too, but I recognize some of the abbreviations, mostly from seeing reviews of video cards that test with the various games :)05:44
cgkades_to install or not to install... that is the question06:01
=== cgkades_ is now known as cgkades
jmarsdencgkades: To install what when on which machine for whom, and why ... that is the *real* question :)06:03
cgkadeslol06:08
cgkadesjmarsden: i just need a decient secure, robust server.06:09
cgkadesinstalled on a p406:09
cgkadesi'm trying freeBSD right now, but i've been a fan and user of ubuntu desktop since 606:09
cgkadessolaris completly failed06:09
jmarsdenWhat are you already comfortable with and knowledgeable about securing... if you are used to hardening Ubuntu, run Ubuntu server.  If you already know *BSD security, try OpenBSD which claims more security than most...06:10
cgkadesi'm used to ubuntu06:10
cgkadesnot used to hardening anything yet06:11
cgkadesi have alot of books though :)06:11
cgkadesi have worked with mac os x, wich is bsd... but not as much06:11
cgkadesi kind of wanted a challenge, but i also want somethign that is secure06:12
jmarsdenThen it comes down to who you know... if you have security expert friends who know one but not the other, let that guide your choice, maybe.  Failing that... run Ubuntu Server and ask your questions about it here :)06:12
cgkadesyeah i dont know anyone, so i'm here in the channels learning what i can06:12
cgkadesthe guys over in ##freebsd are too 31337 for me06:13
cgkadesi like the ubuntu comunity more, so perhaps i'll try that if i cant figure out bsd06:13
jmarsdenIt's a gross oversimplification, but IMO Ubuntu people are often friendlier than *BSD people :)06:13
* cgkades agrees06:14
cgkadesjust wondering how secure ubuntu-server is06:14
cgkadesi know there was a problem with openssh port for debian06:14
tonyyarussoWhich was fixed.06:17
tonyyarusso(Ubuntu (all versions) has zero unpatched vulnerabilities, as reported by Secunia.)06:18
twb*known* vulnerabilities06:20
twbcgkades: assuming you're referring to the entropy of ssh-keygen, that issue was fixed prior to the last Debian stable release.  It also affected Ubuntu, and was fixed there, too.06:20
andoltonyyarusso: What about CVE-2009-1337? Haven't seen any USN mentioning it yet?06:22
uvirtbotandol: The exit_notify function in kernel/exit.c in the Linux kernel before 2.6.30-rc1 does not restrict exit signals when the CAP_KILL capability is held, which allows local users to send an arbitrary signal to a process by running a program that modifies the exit_signal field and then uses an exec system call to launch a setuid application. (http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-1337)06:22
tonyyarussoandol: link?06:23
andoltonyyarusso: I belive uvirtbot just supplied it :)06:23
tonyyarussofine, I'll read...06:23
twb2.6.30 isn't in Ubuntu yet, is it?06:27
twbOh, "before"06:27
tonyyarussoI wonder if it depends on configuration options or anything06:28
tonyyarussoOtherwise why is the Secunia link just for Red Hat's RT kernel?06:28
andoltonyyarusso: Yeah, could be. But I don't think it is Red hat specific, concidering there is also a new Debian kernel which fixes it, among other CVEs.06:29
ScottKThe development release doesn't have security support.06:29
ScottKJaunty has 2.6.2906:29
ScottKerr 806:30
tonyyarusso2.6.28.11 no less, which isn't listed in the affected versions on the NVD site.06:30
tonyyarusso(that list stops at .9)06:30
ScottKSo it's no suprise there's no USN.06:31
andolScottK: What about supported Ubuntu versions not being 9.04?06:34
andolScottK: By the way, I'm not really saying this is a critical problems, I simply jumped at the number zero mentioned earlier.06:35
ScottKSupported is 6.06, 8.04, 8.10. and 9.0406:35
ScottKSo an issue that only affects 2.6.29 or 30 isn't one that gets a security fix.06:36
andolScottK: What makes you say that this CVE only effect .29 and .30?06:37
ScottKI thought that's what was said earlier in this discussion.06:38
ScottKThe CVE itself only lists 2.6.3006:38
ScottKGenerally CVEs list all affected versions.06:39
andolScottK: Are we taling about the same CVE-2009-1337? From what I can see it goes up until .30-rc1.06:39
uvirtbotandol: The exit_notify function in kernel/exit.c in the Linux kernel before 2.6.30-rc1 does not restrict exit signals when the CAP_KILL capability is held, which allows local users to send an arbitrary signal to a process by running a program that modifies the exit_signal field and then uses an exec system call to launch a setuid application. (http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-1337)06:39
ScottKandol: I misread.  Sorry.06:39
ScottKI missed the word before when I read it.06:40
andolOhh well, I'm off for work...06:42
moparisthebesti need any way to drop packets based on tcp window size, is this possible?07:07
ScottKPeople sometimes do it by accident by adujusting MTU to be too large.07:08
moparisthebestwell, my server is being attacked by a large SYN flood07:10
moparisthebestand from a sniff the packets have a tcp window size of 65535 (the max), and a tcp sequence number of 007:11
moparisthebestso i need a way to drop them based on that07:11
moparisthebestbecause that is obviously a forged packet07:11
jmarsdenmoparisthebest: Does turning on syncookies  (with   sysctl net.ipv4.tcp_syncookies=1 ) not deal with the problem?07:13
moparisthebestno07:13
moparisthebesti also set the syn timeouts as low as possible07:14
jmarsdenIt might be easier to check for sequence number of zero rather than for window size... tcpdump filter syntax should be able to do that...07:18
* jmarsden reaches for "TCP/IP Illustrated Volume 1" ...07:18
fbc-mxHow do you make server search for the fastest mirror and use it?07:22
jmarsdenfbc-mx: The tools for doing that are Debian-specific and have not been ported successfully to Ubuntu yet.  Look at apt-spy and netselect if you are interested... but they do not work in Ubuntu at the moment, as far as I know.07:24
fbc-mxjmarsden,  hehe... thanks. that's the best one I've heard yet.07:26
jmarsdenIt was being discussed here (or was it on #ubuntu-motu) earlier today...07:27
jmarsdenIt was here, about 3 hours ago...07:27
jmarsdenmoparisthebest: I think a rcpdump filter of the form   tcp and tcp[4:4] = 0    might match all TCP packets with sequence number zero.07:30
jmarsdens/rcpdump/tcpdump/07:31
moparisthebestwhat about the window size though? it's the combo of the two that makes it a fake packet07:33
fbc-mxI would like to turn my server into a torrent client that I can control remotely either with a web-gui or gtk-gui. Is there such an animal? Some have mentioned deluge, but I'm still looking for documention for such a function.07:35
moparisthebestfbc-mx, torrentflux :)07:36
fbc-mxmoparisthebest, thanks.. by the way, I have fond memories of a 440 with a six pack carb.07:37
moparisthebesttorrentflux is awesome, but not as awesome as that setup :)07:38
jmarsdenmoparisthebest: If the window size option is always at the same offset into the TCP header then you can check for it in a similar way.07:39
moparisthebesthmm, alright07:39
moparisthebestwait, actually i don't think that helps07:39
moparisthebestsince i can't actually drop them with tcpdump right?07:40
jmarsdenWell, you can use something that uses tcpdump filter syntax to drop them... snort maybe?07:40
jmarsdenWould the iptables tcpmss help??07:43
jmarsdenHmmm, there is an iptables u32 thing that should get you the same kind of testing... but I've never used that...07:44
moparisthebesti'll look into it07:55
owhIn a screen session, how do you scroll-back?10:41
_rubeni usually do ctrl+a esc .. then use arrow keys/pgup/pgdn/etc10:42
_rubenthere are probably better/easier ways10:42
owhAnd ctrl-a esc to get out again too?10:43
_rubenjust esc i think10:44
owhThanks!10:45
_rubenits abusing the 'copy mode' .. you can copy/paste data in that mode, which i never used really ;) .. so there's likely to be a 'cleaner' way as well ;)10:49
owhCool, didn't know that. At least I got what I needed, a view of the scroll-back buffer. Next when I have some spare time I'll see if there is a "real" way :) Thanks again.10:57
owhngrep is a wonderful tool :)10:58
owhHmm, just realised, I could just pipe that to more :)10:58
_rubenhehe10:59
owhOne of those doh! moments :)10:59
owhLater all.11:00
Sangrialhow do I get gnome for Ubuntu server11:48
_rubenyou'd install the desktop edition ;)11:49
Sangrialwhats the difference in ubuntu server and desktop aside no GUI?11:50
_rubenslightly different set of standard packages that are installed .. slightly different kernel11:50
Sangrialbecause Im trying to set up a webserver and xp and vista are resource hogs so...linux is the best option11:51
uvirtbotNew bug: #374819 in krb5 (main) "Missing dependency on update-inetd and other issues" [Undecided,New] https://launchpad.net/bugs/37481911:51
Sangrialwasnt sure if desktop wouldnt have the stuff I needed or not11:52
_rubenthe webserver packages are optional for both server and desktop11:52
Sangrialsweet11:52
Sangrialthanks for the info ruben11:53
_ruben(they're actually the same packages as well, server and desktop share everything except the base install)11:53
Sangrialah ok11:54
Sangrialonly difference is server has more stuff compared to the desktop size wise11:54
Sangrialrest you have to download on desktop right?11:54
_rubenthe server install is actually smaller than the desktop install (the gui takes up a fair bit of packages/space)12:01
leOnhello12:11
leOni'm using virt-manager to deploy and manage kvm virtual machines. I'm using bridged networking and all seems fine, but i need to do a port forward. In kvm's documentation i saw the -redir parameter, but i can't seem to find a way to pass that parameter to virt-manager  .. is there any way to do that?12:13
_rubenwith bridged networking the vm is just like another machine on your network, so portforwarding would be done on your router, not the kvm host12:22
=== rgreening_ is now known as rgreening
W8TAHis there a tutorial/cookbook etc for some sort of a basic storage area network using ubuntu server (ive been trying so far without luck to find it)?13:40
DoonzHey guys is anyone around that can help me recover from a failed grow operation on a raid 5 array on ubuntu 8.0413:41
DoonzHey guys is anyone around that can help me recover from a failed grow operation on a raid 5 array on ubuntu 8.0413:54
HecateDoonz, what's the matter? i MIGHT be able to help.13:56
DoonzHehe13:56
Doonzwell where to start13:56
Doonz basically i was growing a raid 5 array when i lost power to my server13:56
Doonzhttp://pastebin.com/m523cddcb13:56
Doonzthats an output of my drives13:57
Doonzim trying to figure out if is there a way to downgrade my mdadm whithout having to reboot the server13:57
Doonz@Ubuntu-Server:~$ mdadm --version13:57
Doonzmdadm - v2.6.7 - 6th June 200813:57
Doonzand apparently this problem isnt in 2.6.413:57
Hecatei just skimmed the output, but it looks alright. what's your issue? any reason for downgrading?13:58
Doonzhttp://ubuntuforums.org/showthread.php?t=833191&highlight=failure+growing+raid+array&page=313:59
Doonzthis forum13:59
Doonzthie thread*13:59
Doonzim just struggling really im still very new to linux13:59
Doonzheres when i try assebling with a force14:00
Doonz@Ubuntu-Server:~$ sudo mdadm --assemble --verbose /dev/md2 /dev/sdb1 /dev/sdc1 /dev/sdd1 /dev/sde114:00
Doonzmdadm: looking for devices for /dev/md214:00
DoonzSegmentation fault14:00
Hecatedowngrading mdadm while running the system shouldn't be an issue. mdadm is just a program for administrating a sw-raid (afaik). the actual work is done by the sw-raid kernel modules, which are impossible to up-/downgrade while the system is running (all the sw-raids would have to be unmounted, which is impossible if your system partition is on the raid).14:00
Doonzcan you walk me through this process? my system partition is on a hardware raid controller this raid array is purely for data storage and can be unmounted and remount at will without any impact14:02
Hecatehonestly: i've never played with any in-depth operations of sw-raids/mdadm.14:02
Doonzoh14:03
Doonzok14:03
Hecateim just running a cheap sw raid1 on my dedicated box.14:03
Doonzhehe14:03
Hecateso i got a little experience.14:03
Doonzwell this is a home media server14:03
Hecateare you sure the downgrading will help?14:03
Doonzno14:03
Doonzim just looking at that thread on the forum14:04
Doonzif you look at post 3 in that thread it says he patched his version of mdadm14:05
Doonzany ideas?14:08
Hecateok, it appears mdadm suxx14:09
Hecatethat's what you need to fix14:10
Hecatehigh risk, if-it-fucks-up-everything-it's-your-fault solution: install the corresponding package from a newer ubuntu version. might work, might not. if you're unlucky, hardy wont fulfill some dependencies.14:11
Doonzhmm14:14
=== asac_ is now known as asac
HecateDoonz, got another idea: boot the server from a live medium (preferably with jaunty), fix the raid and reboot from your hardy install. might work, might not.14:30
Hecatesorry, i'm hardly a help ...14:30
Doonzno problem14:32
Doonzi just noticed something14:32
Doonz09:35 <+Doonz> DEVICE /dev/sdc1 /dev/sdd1 /dev/sde114:32
Doonz09:35 <+Doonz> ARRAY /dev/md2 level=raid5 devices=/dev/sdc1,/dev/sdd1,/dev/sde1,/dev/sdb114:32
Doonznotice how under devices it only list 3 hdd's14:33
Doonzand the array has the 4 listed14:33
Doonzcould that be a a problem14:33
Hecatemight be what causes the segfault, but that's only a guess.14:55
psteynumm, i restarted a machine with fsck option set on reboot, so it booted up and is responding to pings now but no services are being started15:12
psteyncould it be that it's brought up the network and is doing the fcsk now?  and will only start services later on?  (after an additional reboot)15:13
psteynseems weird for it to do that if thats the case15:13
DoonzI was running a raid 5 grow operation when the power went out. It looks like my disk are fine but i cant reassemble the array. i get a segmentation fault. There is very little information on the site to help with this problem15:16
_rubenDoonz: chances are big that you lost you're data .. during the grow operation, the array is in an incosistent state most of the time15:18
W8TAHis there a tutorial/cookbook etc for some sort of a basic storage area network using ubuntu server (ive been trying so far without luck to find it)?15:19
_rubens/you're/your/15:19
Doonz_ruben: http://pastebin.com/m523cddcb15:19
Doonzthats the output of my examine15:19
simplexiopsteyn: fsck on root ? , you need to be able to write root to log in.. ( not 100% about it ) and normally its mounted read only during fsck15:21
simplexiopsteyn: not sure which partition needs to be rw, was it var home or /15:21
psteynroot15:21
_rubenDoonz: that does look rather sane15:21
_rubenDoonz: segfault's strange though, could be a bug15:22
Doonzyeah15:22
Doonzthe forums dont give a noobie like me an easy way of understanding howto fix15:22
simplexiowbi havent seen one. but keywords: samba, nis , nfs, openafs, kerberos may help you to create big picture about options what you have15:23
simplexioW8TAH: read above15:23
_rubeni only resized a software raid5 once .. which went without a hitch, luckily15:23
Doonzhehe15:24
W8TAHsimplexio: thank you -- im already using samba -- and have about an zillion lil servers scattered around -- id like to consolidate them into some sort of a centralized group so that i can access them all as one volume15:36
edgeOk i have this script. its a bash script it checks some condictions and then execuses a bin in the same folder so the path ./binfile is vaild, but in this case it wont work? whats wrong with the system?15:53
edgeI run this script on all sorts of systems15:53
edgeIs this a path issue? that ./ doesn't means same folder? or is it making the other script run some where else so that it doesn't have access to that bin?15:54
edgey15:54
edgeseems i can't even launch it without the path. Could there be something missing from the system that would cause it not to be able to execute bin?15:57
uvirtbotNew bug: #374447 in samba4 (universe) "Jaunty: Samba permission problems" [Undecided,New] https://launchpad.net/bugs/37444716:06
Doonzcan someone point me to a how-to to downgrade my version of mdadm16:12
simplexioW8TAH: if you want to keep samba around, you should read stuff about openldpa, kerberos, AD16:15
uvirtbotNew bug: #374925 in php5 (main) "PHP5-MSSQL package needed (dup-of: 87063)" [Undecided,New] https://launchpad.net/bugs/37492516:16
DoonzSoo nobody16:17
HecateDoonz, downgrading won't help you. it's rather upgrading you need to do.16:34
Hecateas i said before: give the live cd a shot.16:34
Doonzthey said it still is in jaunty16:35
Hecatewell. then you still need to upgrade to a fixed version. did the guy who wrote the third post publish a patch?16:36
Hecatewell ... im off.16:39
ivoksRoAkSoAx: hi there16:43
* mathiaz waves at ivoks 16:45
ivoksmathiaz: hi16:46
=== ecanto is now known as edson
W8TAHsimplexio: thanks16:49
ruben23hi anyone have idea on this error installing zaptel 1.4 http://pastebin.com/m126b3216  my distro si ubuntu server...17:06
RoAkSoAxivoks, heya master, how's it going?17:13
ivoksyou are missing headers17:13
ivoksinstall linux-headers-server package17:13
ivoksRoAkSoAx: fine, and you?17:14
RoAkSoAxivoks, been better :) I'm still hang over since yesterday17:14
RoAkSoAxhaha17:14
ruben23ivoks:how..?17:15
RoAkSoAxruben23, sudo apt-get install linux-headers-server17:15
ivoksruben23: how to install oackagte?17:15
ivokspackage17:15
ub_What kind of fileformat should i format my harddrive into if i like to transfer huge files between Ubuntu and Mac OS X?17:16
ub_files > 4 gb17:16
ivoksext217:17
ruben23RoAkSoAx: THANKS17:17
ub_ivoks " mac deos`nt support it17:18
ivoksub_: it does17:18
ub_ivoks: how?17:18
ivoksmount_ext2 -o rdonly -x /dev/diskXsY /Volumes/Linux17:18
ruben23RoAkSoAx:i already installed the packages get the same error..17:19
ivoksruben23: then Makefile doesn't look for headers in right place17:19
RoAkSoAxivoks, sensors-applet. In the last ubuntu version, hardy, theyprovided a patch that is now included upstream, that's why i put that changelog entry17:23
ivoksRoAkSoAx: then put 'name/of/the/patch dropped; included upstream'17:24
ivoksRoAkSoAx: or don't add anything17:24
ivoksRoAkSoAx: since that's a change that isn't preserved in this version17:25
RoAkSoAxivoks, ok I'll erase it then17:25
ub_does it matter what kind of torrentsoftware you use in? I thinking about the speed.17:26
RoAkSoAxivoks, and about gnome-doc-utils (>= 0.3.2), in the previous ubuntu version they seem to have added that dependency but there was no changelog entry for it. that's why i didn't put it...17:26
ivoksRoAkSoAx: add it17:27
RoAkSoAxivoks, btw.. qemu has been successfully built so i'm removing it from the FTBFS list, i think it was a problem with libc-* package17:28
ivokscould be17:29
ivokshttps://edge.launchpad.net/ubuntu/karmic/+source/qemu/0.10.3-1ubuntu117:30
ivoksyep, looks ok17:30
RoAkSoAxivoks, yep there was a bug about linux-libc-dev that didn't contain a file and that was why it wouldn't built17:31
ivoksbbl17:33
ivokstake care17:33
oruworkhi, can someone recommend a ticket support system ?17:36
oruworkor tech support system17:36
fbc-mxHow can I make a service startup automatically when the server boots? I have to keep logging in to start deluged everytime we lose power or somethign of the sort.17:38
fbc-mxCan I put it into rc.local?17:41
sommeroruwork: I like request-tracker17:44
RoAkSoAxfbc-mx, is it a service provided there or have you made a custom script?17:44
sommerfbc-mx: do sudo update-rc.d servicename default17:44
sommerfbc-mx: that is if you have an init script in /etc/init.d17:44
fbc-mxsommer, RoAkSoAx , what I tried was putting 'exec /usr/bin/deluged' before the 'exit 0' in the rc.local file17:45
fbc-mxsommer, RoAkSoAx , you guys think that would work?17:46
sommerfbc-mx: yep that should work as well17:46
fbc-mxsommer,  great! no more grief of getting home expecting to watch something that isn't there. :-)17:48
fbc-mxsommer, My computers bios allows me to power it back on in case of an outage, so I think I'm pretty much covered.17:49
fbc-mxsommer, as long as I do not have to login for rc.local to execute, I'm ok.17:50
fbc-mxsommer, but, I'm assuming I don't as a couple of the examples on line show it being used to detect the installed gdm and load it, and that usually happens before a user logs in, at least as far as I'm aware of.17:52
sommerfbc-mx: ya basically rc.local is the last init script to be executed, so it should work as you expect18:10
oruworksommer-> url please ?18:25
sommeroruwork: http://bestpractical.com/rt/18:27
sommeroruwork: there's packages in universe as well18:27
oruworkok was just looking at that18:27
oruworksommer-> how do you spell the package ?18:33
sommeroruwork: there's multiple ones depending on your backed db etc: apt-cache search request-tracker18:38
oruworksommer-> i get this in return http://pastebin.com/m1406b0cc18:39
sommeroruwork: right so you'll need request-tracker3.6, probably rt3.6-apache2, and whichever database you'd like to use just install the appropriate package18:41
khaije1jaunty's ocfs2 is older than sid :(18:54
RoAkSoAxkhaije1, yes, we'll  merge ocfs2-tools for karmic18:57
khaije1im going to try to import sid's deb, any reports on this working so far?18:58
fevelhi19:11
fevelhow do I enable ping... when I ing I get a message saying: ping: sendmsg: Operation not permitted19:12
maxbAre you trying to do some special kind of ping?19:18
Pres-Gasfevel, are you doing this as a regular user or have you tried "sudo ping"?19:18
fevelim doing it as root19:18
fevelmaybe ufw is blocking19:18
fevelufw allow icmp isnt working19:18
feveldoes anyone know the ping port... cant remember19:19
fevelmaxb: nope... normall ping19:19
jdstrandunless you changed /etc/ufw/before.rules, ufw allow outgoing ping requests and incoming ping responses19:19
maxbThere's no such thing as a ping port!19:19
jdstrandif unsure, 'ufw disable' and try again19:20
feveljdstrand: yes I made it restrictive by default19:20
feveljdstrand: cant disable it because of the masquerade dependant users19:20
jdstrandfevel: you can look in /usr/share/ufw/before.rules for what you deleted from /etc/ufw/before.rules19:21
fevelwhere should I insert established related rules19:21
fevelok19:21
jdstrandspecifically:19:21
jdstrand-A ufw-before-input -p icmp --icmp-type echo-request -j ACCEPT19:21
fevelok thanks19:21
fevelwas wondering where i could insert hand crafted rules19:22
jdstrandthat is what /etc/ufw/*rules is for19:22
fevelok19:22
jdstrandsee 'man ufw' and /usr/share/doc/ufw/README.gz for details19:22
jdstrand(and I meant to say before, incoming and outgoing requests)19:23
fevelthanks for the help19:24
fevelgot it working19:24
jdstrandnp19:25
hagedornhey, how do i mesure response time in my apache2 server ? not externaly, but internal without logfile things like %t %d , but in realtime ?#19:51
sorenAnyone feeling particularly bored? I'd really like apache's mod_status to maintain stats per vhost.20:43
soren...and it doesn't at the moment. I've been looking at the code a bit, and I can point out where to add it, "all you need to do" is implement a hash table mapping vhost to a stats structure of some sort.20:44
soren..and present it in the server-status page.20:45
mathiazsoren: why not blog about it?20:50
mathiazsoren: you'd reach a broader audience20:50
sorenmathiaz: Point.20:50
sorenI'll probably write a spec.20:50
soren...and then blog.20:50
uvirtbotNew bug: #312261 in samba (main) "unable to remove/delete .folder (hidden) from share" [Low,Invalid] https://launchpad.net/bugs/31226121:02
uvirtbotNew bug: #375092 in dovecot (main) "package dovecot-common 1:1.1.4-0ubuntu1.2 failed to install/upgrade: " [Undecided,New] https://launchpad.net/bugs/37509221:05
sommerif I password protect the recovery entry in grub's menu.1st and I forget the password, is there a way to recover?21:08
sommererr... I guess you could boot from cd and change the file :)21:09
Doctor_NickHi, I'm running Ubuntu Hardy Server (64bit), and every time I try to do a "shutdown now", it starts to shut down, but then gives me a "recovery console", and whatever option i choose, it just boots back into linux. How do I fix this?21:14
Doctor_Nicki've had this problem on multiple computers running ubuntu, also, not just servers21:15
Doctor_NickHow long is a raid5 resize supposed to take22:05
Doctor_Nickfor 4 tb drives22:05
stickystyleI've seen a resize take quite a while, hour+ on smaller drives22:06
Doctor_Nicki'm worried because the md5_reshape process is in uninterruptible sleep and is not running at all22:08
Doctor_Nicker22:08
Doctor_Nickmd122:08
Doctor_Nickand the md1_raid5 process is only taking up a few cpu, when it usually takes up around 40% when rebuilding the array22:09
=== ssd7_ is now known as ssd7
Doctor_Nicki ran: "sudo mdadm --grow --raid-devices=4 --backup-file=/root/grow_md1.bak /dev/md1"22:10
Doctor_Nickit said it created the backup and passed the critical section, but the backup file does not exist22:10
Doctor_Nick[>....................]  reshape =  0.1% (1786880/966992448) finish=13342.0min speed=1203K/sec22:11
Doctor_Nickok22:11
Doctor_Nickits resizing, but its very slow22:11
stickystyleHum, sorry I should have been more specific in that I have seen a resize take a while on HW cards...I've never actually done it with mdadm.  However the ninterruptible sleep would kind of make sense, I wouldnt worry.22:12
Doctor_Nickthis says it would take NINE DAYS22:12
Doctor_NickIm pretty sure thats not normal22:12
stickystyleYeah, that's pretty bad22:12
stickystyleHow long has it been going?22:13
Doctor_Nickonly 10 minutes22:13
stickystyleOh, shoot.  I wouldn't trust the time estimate for at least another 20min22:14
Doctor_Nickstickystyle: but the md1_raid5 process is hardly taking up any cpu time at all22:15
stickystyleWell on a reasonably new box, recalculating the parity doesn't eat up that much cpu.  I believe its largely io bound22:20
stickystyledo you have iostat installed?22:20
Doctor_Nickno22:20
stickystyleThat tool would give you a much better indication as to if your array is really working, or just moving along very slowly.22:22
stickystyleHas the finish time gone down?22:22
Doctor_Nickno, its gone up22:22
stickystyleHummm....then you may need to wait for someone else in this # to speak up, as that is as I understand not the normal behavior.  I wouldn't want to steer you down the wrong path as my knowledge with mdadm is fairly limited.22:25
Doctor_Nickok22:25
Doctor_Nickis it possible that its a bad drive?22:31
stickystyleI could see that as a possibility.22:31
Doctor_Nick:/22:31
lamontif you're using the drive, it gets _very_ slow22:32
lamontif you leave the machine alone, then it goes much faster22:32
lamontand sometimes you can give it hints that make it go really really fast (as in "ok, done then") - though I haven't bothered to figure out what those conditions are22:33
Doctor_Nicklamont: i've used that partition while it was rebuilding the array before, and it only took 3 hours22:33
lamont2.67TB, on a fresh (raid6) build took about 24 hours on my machine22:34
lamontSATA, 6 drives22:34
Doctor_Nickwhile using it?22:34
lamontno.  I walked away22:35
lamontit was threatening 6 days when I was using it22:36
Doctor_Nickthis is raid 5, 4 drives, 3 tb, by the way22:36
Doctor_Nickso does reshaping take that much longer than rebuilding?22:36
lamontit's basically a rebuild after a little bit, sorta22:36
lamontbut yeah, dunno22:37
lamontI know that if you kill the box during a rebuild, it can be torturous22:37
lamontand off with my daughter for her birthday22:37
Doctor_Nickok22:37
MkJacksonhey folks, I'm trying to connect to my ubuntu server remotely (both on same network though) via telnet on Win7 but I'm getting that the connection is refused, is there a way to see the port it's listening on?22:50
stickystyleMkJackson: unless you installed telnet, ubuntu is not running a telnet daemon.22:51
stickystyleSSH.  and even that you need to install openssh-server22:51
Doctor_Nicki would also recommend ssh over telnet22:53
Doctor_Nickssh runs on port 22 by default, and a decent ssh client for windows is putty22:56
MkJacksonhmm... when I try to "sudo apt-get install openssh-server" on my box I get an error saying there's no candidate or something to that effect22:59
MkJacksontelnet is installed though22:59
MkJackson(and I can ping the server)22:59
Doctor_Nickwhat version are you running?23:00
stickystyletry an 'apt-get update' prior to the install23:00
stickystyleand you mean a telnet client is installed on your ubuntu box, not a server right?23:01
MkJacksonwill update now (running 9.04 server 32-bit)23:01
MkJacksonerrr... I just did an apt-get install telnet and it responded that it was already installed23:01
Doctor_Nickthat's just the client23:02
stickystylethe telnet package is a virtual package that installs the client.23:02
stickystyletelnet-server would be the server package23:02
MkJacksonupdate did the trick23:05
MkJacksonwhen I did the apt-get on telnet-server though I got a could of packages other than because there was no exact match for telnet-server (or something to that effect)23:05
stickystyleYeah, though don't install a telnet server unless you *really* have to23:06
stickystyleas it is 100% unencrypted23:06
MkJacksonwell, maybe I'm going about this totally wrong, basically I'm trying to get my feet wet with making a Linux server and since Ubuntu's been good to me I went with their solution... so I got this laptop running it and it's connected to my network and tucked away, I figured I could just remote connection via telnet, is there a better option?  I heard SSH via PuTTY so I'm downloading that now...23:07
stickystyleYes, SSH should be the only thing you consider.23:08
stickystylePuTTY works quite well23:08
MkJacksona victory... :-)  thanks so much folks...23:09
stickystyleNo problem, come back anytime :)23:09
matttvictory!23:16
uvirtbotNew bug: #261831 in gcc-4.2 (main) "gcc-4.2 cannot compile bind 9.5.0.P2 on i386" [Undecided,Incomplete] https://launchpad.net/bugs/26183123:21
slestakcjwatson: hai.  i have been following putty gtk2 in ubuntu for a while.  do you have a sec for a question?  Does copy and paste work for you in your testing on karmic with 0.60+2009-04-05-1?23:33
slestaki compiled putty's dev snapshot in 9.04 and everything seems to be ok, except copy and paste.  i have rolled my own on 8.10 for a while and do not remember this issue.  trying to determine if it is a regression upstream, an affliction of my shiny new jaunty desktop, or what.23:34
cjwatsonslestak: I'm using 0.60+2009-04-05-1 on jaunty, and I only really use pterm, but it seems to work for me23:37
cjwatson(gah, and I see that it fails to build in karmic; must fix that ...)23:38
slestakcjwatson: yes, pterm is what I am after.  is there a ppa for this?  id love to help test.23:38
slestakmust, have, gtk2...23:39
cjwatsonslestak: just the .deb from Debian installed with dpkg -i23:40
cjwatsonslestak: you can grab it from http://ftp.debian.org/debian/pool/main/p/putty/23:40
slestakcjwatson: thx.  i see that now.  appreciate your work on bringing this to ubuntu23:41
cjwatsonslestak: I'm not sure how copy and paste could go wrong. We're talking about standard X copy/paste, aren't we? i.e. highlight to copy, middle-click to paste?23:42
slestakcjwatson: yes, that is what i dont understand.  i could not get any test from my gtk2 putty to transfer to any other x app23:47
slestakcjwatson: sth is up.  still doesnt work.23:53
cjwatsonI'm stumped, I'm afraid. Feel free to file a bug with as much detail as you can manage23:54
slestakthis is weird, i can paste into gvim, but not gedit.23:55
slestakcanoot paste into my wiki on firefox (ala fckeditor)23:55
slestakhow can gvin see the recent copy23:56
slestaks/vin/vim23:56
cjwatsonare you attempting to use edit->paste in gedit?23:56
slestakI tried edit-paste as well as shift-insert23:56
cjwatsondo you know that there are two entirely separate copy/paste systems in X?23:57
cjwatsonhighlight/middle-click is one of them23:57
slestakdoh, crap23:57
cjwatsonedit->copy/edit->paste (or shift-insert or whatever) is the other23:57
cjwatsontry middle-click to paste instead23:57
slestakthat works23:57
slestaksorry to waste your time23:58
cjwatsonnp23:58

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