/srv/irclogs.ubuntu.com/2009/07/06/#ubuntu-server.txt

DormantOdenhey again, anyone know hoe I can give rtorrent permission to create directories?00:42
=== edson is now known as Orochimaru
=== Orochimaru is now known as edson
DormantOdenis it possible to give programs a group to run under?01:11
ghostlinesinteresting questions01:17
DormantOdeni think apache2 uses www-data01:21
DormantOdenbut i need to give rtorrent somthing...01:21
oh_noes1hi, is this possible? => http://ubuntuforums.org/showthread.php?p=7567278#post756727801:21
storrgieyallo, question about virtualization02:13
storrgieI am familiar with vmware workstation, I was going to put vmware server on my headless server.... mainly because of the web interface02:13
storrgievmware server seems to be shit though, there is a ton of issues with linux... most notably bridged networking02:14
storrgieanyone using vmware server in jaunty server? or would you suggest anything else?02:14
qman__n0gearII, sudo apt-get update && sudo apt-get upgrade02:24
matttstorrgie: i've used it, found it to be much easier to use than xen :)02:44
storrgieI want to get bridged networking working02:44
storrgiehttp://serverfault.com/questions/26156/why-doesnt-bridged-networking-work-on-vmware-server-2-0-w-ubuntu-9-0402:44
matttstorrgie: only used it on RHEL, sorry :(02:48
bsmith_Hi I am attempting to setup a basic webserver using a Linux WRT54G router, ubuntu 9.04 32-bit server edition, and the howtoforge.com/perfect-server-ubuntu-9.04-ipconfig-3.  I just got started and can't set up the openssh.  Can someone help?04:30
twbstgraber: re "anything else", the recommended virtualization system for Ubuntu is KVM.04:38
twbSorry, bad completion (storrgie left).04:38
bsmith_anyone care to help?04:40
PhotoJimbsmith_: it should just work, but if you expect to telnet to your Ubuntu box from remote, you'll either need to give it its own public IP (best), or port forward ports from your router.  port 22 is the ssh port.04:51
PhotoJimbsmith_: oops, not telnet, of course.  ssh.04:53
bsmith_PhotoJim: I think my issue is with the static IP.  My ISP doesn't allow for static Ip, how do I get around this?04:58
bsmith_p.s. sorry for the late response04:58
PhotoJimbsmith_: ahh, that's a tough one.  there are services that can work around it (see dyndns.org) but the best solution is to pay the extra fee for a static IP.  I can't help you with dyndns.org because my ISP gives me two static IPs automatically so I was good to go from the beginning.05:01
PhotoJimbsmith_: the workarounds will still break from time to time, whenever your IP changes, until the change perpetuates in the DNS system.05:01
bsmith_So I don't need to setup the static IP.  I actually wanted to use dyndns.org, untill I can purchase a static IP. (in college now).  Will i run into any issues in the howto if I don't set up the static IP?05:07
PhotoJimyes, that will buy you some time.05:07
PhotoJimyou shouldn't have any problems, except that it will occasionally break and you won't be able to access it from remote.05:07
PhotoJimit should automatically fix itself.  I'm not sure how long dyndns needs to fix itself after an IP change.05:08
PhotoJimI'm guessing it's in the order of minutes to an hour or two at most, but I'm guessing.05:08
bsmith_as far as I know, you can set it to update every 5 mins minimum.05:08
bsmith_which is fine by me.  But can I use this server as both a web server and a media server. (bsmith.dyndns.org/web.html, and bsmith.dyndns.org/media.html?05:10
PhotoJimwell, try it.05:10
bsmith_I haven't set it up yet.  I also assume I need apache05:10
PhotoJimand I don't know, but I don't see why not.  it's pointing stuff to your IP.  your machine determines what services are running.05:10
PhotoJimyes, or lighttpd which is a great web server for smaller machines.  wikipedia uses it.05:11
bsmith_thanks for you help, I will attempt to set this up.05:11
PhotoJimI use apache, but only because I didn't know about lighttpd.  I probably would use lighttpd today if I were to do a new installation.05:12
PhotoJimno problem.  good luck.05:12
uvirtbot`New bug: #395970 in drbd8 (universe) "Please merge drbd8 8.3.2~rc2-1(main) from debian unstable(main)" [Undecided,New] https://launchpad.net/bugs/39597005:31
twbWhen was/is the EOL date for Ubuntu Server 6.06 LTS?05:36
ajmitchI'd assume it'd be around the start of june 201105:38
ajmitchthough I don't recall seeing a definite date05:39
twb!eol05:42
ubottuEnd-Of-Life is the time when security updates for an Ubuntu release stop. See https://wiki.ubuntu.com/Releases05:42
ajmitch6.06 was announced on 1 june 2006, so it ought to be 5 years from that date05:43
domas5 years it will be05:46
twbWhat was the firewalling solution in 6.06 (i.e. prior to ufw)?05:47
ajmitchas far as I know, it was just iptables, no frontends involved05:48
twbajmitch: was there any code to load tables on boot or if-up?06:05
twbI remember that the Debian iptables packages have no such thing06:05
ajmitchnot beyond the standard iptables-save/load commands06:08
ajmitchiirc it was pretty much just like debian06:08
twbDebian's one doesn't even do that :-/06:08
twbAnyway, that's pretty much what I thought, thanks.06:09
VK7HSEjust wondering if there is a howto for purging the Amais-New virus directory? as over time this gets quite full of spam/bad headers/virus mail ???06:21
=== mcasadevall is now known as NCommander
=== domas_ is now known as domas
=== _ruben_ is now known as _ruben
MTecknologyI'm trying to do /usr/sbin/logwatch --detail 10 --range '-1 week' --mailto michael@domain.com but the report returned says "Period is day."08:18
MTecknologyIs that what's supposed to happen?08:18
twbAny reason you're using logwatch instead of logcheck?08:18
MTecknologylogcheck is what I knew08:19
twbI'm Not A Fan(TM) of logwatch's whitelist-oriented reporting.08:19
twbIf there's a daemon that logcheck doesn't know about, I want it to tell me instead of silently ignoring those log entrie.08:19
twb...which is what logwatch does.08:19
MTecknologyso.. logcheck -m michael@domain.com -Rsu08:22
MTecknologyhow close is that to what you use08:22
MTecknology?08:22
MTecknologyeven though what I typed is wrong08:23
twbActually I just let logcheck run automatically as part of its cron job.08:25
MTecknologytwb: you don't set it in a crontab?08:25
twbMTecknology: correct.08:26
MTecknologytwb: so if I set the email addy for it the cron is already set up and it'll work?08:29
MTecknologyok08:30
MTecknologytwb: thanks08:32
MTecknologytwb: massive email report, no nice summary :P08:35
MTecknologybut very detailed08:35
twbMTecknology: yes, then you add whitelist for the entries you don't care about08:35
MTecknologynice08:36
MTecknologytwb: did you know linux is dead because microsoft says it is? This is funny - http://satirewire.com/news/0101/linux_quit.shtml08:49
simplexioim trying to install latest vanilla kernel to ubuntu-server which boot away from being 9.04 .. i made .deb and noe trying to install it with dpkg i get error and i dosent install it08:49
twbMTecknology: I'm not interested in Microsoft./08:49
MTecknologytwb: I just thought the thing was a funny read, it's not based on any facts.08:50
twbsimplexio: why do you need a non-standard (i.e. non-Ubuntu) kernel?08:50
simplexioi dont need it. i just have used to upgrade latest vanilla on every reboot08:50
simplexioi mean this used to be trivial stuff. make menuconfig ;08:52
simplexiosudo make-kpkg --initrd --append-to-version=-custom kernel_image kernel_headers08:52
simplexioand the dpkg -i .deb08:52
simplexiothis cant be this hard08:53
simplexiothis one of those thing that used to work allways on my 32bit desktop, now this 64bit server allways complains shit08:55
MTecknologysimplexio: What is your reason for using Ubuntu and not an Ubuntu kernel?08:57
simplexiowell last one did fail with swapper now and then08:58
simplexiobesides .27 is like what year old ?08:58
MTecknologyWhy didn't you report a bug instead?08:59
simplexioand point was also, that make-kpkg used to be idiot sure way to compile and add kernel to grub (and maybe in future remove it using dpkg) why it isnt working now09:01
MTecknologyI'm using 2.6.28-13 right now. If you want the latest kernel, you should be using the latest Ubuntu.09:02
MTecknologyJust my opinion on it09:02
simplexiothis did offer me 27.11 after dist-upgrade,, need to check it again09:03
_rubenor take a look at the mainline kernel builds as provided by the kernel team09:07
simplexioyou still miss the point. what im missing now here, am i doing something wrong or is there some bug in úbuntu, i create custom kernel using : sudo make-kpkg --initrd --append-to-version=-custom kernel_image kernel_headers && dpkg -i *.deb09:08
simplexioi can go easy way and learn nothing. or figure out whats wrong and fix it and learn somethign09:09
simplexiobecause that way has been working and i dont see any reason why it shouldnt work anymore09:09
MTecknologysimplexio: I think the point we're getting to here is that a customized kernel isn't supported in here. You might want to try ##linux instead.09:10
MTecknologytwb: does that sum it up?09:10
simplexioMTecknology: so ubuntu dosent support make-kpkg ?09:12
twbMTecknology: yes, but I also asked because usually YAGNI applies09:12
simplexioi dont have problems with custom kernel or compiling it, i have problemswtih make-kpkg and dpkg which dosent want install .deb package09:12
twbSince simplexio already knows about make-kpkg, I assume he more or less knows what he's doing09:13
twbsimplexio: in what way does dpkg -i complain?09:13
simplexioand far as i know those are part of ubuntu09:13
_rubensimplexio: https://wiki.ubuntu.com/KernelTeam/KnowledgeBase09:14
MTecknologylooks like 2.6.31 might be in karmic :)09:16
MTecknologyIs it possible to use a new kernel without rebooting? Or rebooting in a lot less time?09:17
MTecknologyI know the obvious answer, I just want to be able to deploy a new kernel without the time. I heard something about doing this a while ago.09:18
simplexiohttp://pastebin.com/md0e2d1a , error have been same alltime09:19
simplexioactually it seems that custom build dosent make /lib/firmware/(uname -r)/ it just tries to dump all firmware to /lib/firmware/09:20
twbMTecknology: AFAIK, no09:22
_rubenksplice .. www.ksplice.com .. quote: "Ksplice: Rebootless software updates"09:26
twbAnything with a ™ in its name makes me very suspicious09:27
twb"Unlike previous hot update systems, Ksplice operates at the object code layer, which allows Ksplice to transform many traditional source code patches into hot updates with little or no programmer involvement. In the common case that a patch does not change the semantics of persistent data structures, Ksplice can create a hot update without a programmer writing any new code."09:29
twbSounds like they're basically swapping in new .ko files and telling the kernel to reread them.09:29
twbAnd obviously it only allows you to handle a subset (80%, by ksplice's reckoning) of security updates -- you wouldn't be able to drop a whole new kernel in there without rebooting09:30
pirxhi! if i want to install a 8.04 with some added software via the network to a bunch of servers, what method is easiest/best? one of these https://help.ubuntu.com/community/Installation#Server%20and%20network%20installations ? like Localboot or NetBoot?11:06
simplexiothat was intresting 8.10 custom kernel install didnt work, after i did upgrade to 9.10 right way ( this time i changed source.lst for apt) it works just like it has been working13:04
_rubenlivin' on the edge eh :)13:09
protimorning13:39
RoyKhm... I have some problems with a box here, running 2.6.28.13 (ubuntu 9.04). The system's processes are using a total amount of 2,5GB of memory as reported by ps axv, but free reports 3,8GB memory and 2,5GB swap used. Where did all that go?13:39
RoyKproti: afternoon13:39
protiRoyK: Think about disk cache and shared memory14:09
protiSee the cached and shared items of top.14:09
protiI need some help with kerberos migration.14:13
protiI want to move kerberos files to an LDAP tree.14:14
protiI did find some relevant hint on google.14:15
protiBut only when creating Realms, not moving realms from file db backend to LDAP tree.14:15
j0nrhi all, just set a mail server (8.04) I have it set up with maildir. In my home directory I have maildir and within this there are subdirectories for different accounts. I use mutt to view mail that comes into 'maildir' and then move them into the coressponding sub directories.14:21
j0nrWhat i am wondering is if these subdirectories can be accessed thru imap.14:22
j0nrthe mail server is imap, but I only get to see that top level (i.e. in squirrelmail)14:22
j0nrhow can I see the subdirectories in imap client?14:22
protiYou have to tell the imap server that you are using the Maildir format.14:23
protij0nr: What kind of imap server ?14:24
j0nrproti: dovecot14:29
j0nrif thats the right answer :)14:29
j0nrI installed dovecot and postfix14:30
j0nrimap and imaps protocols14:30
j0nrusing maildir format14:30
=== genii_ is now known as genii
j0nrah...all I had to do was rename my sub-directories to '.subname' i.e. add the dot in front of it.14:38
RoyKproti: aware of that - it was anonymous memory pages - almost nothing left for caching14:58
RoyK50kB or so14:58
sandstromjdstrand: You were kind and helped me with some ufw troubles a few days ago. Your conclusion was that the state module wasn't present. Would you mind another question or two on this issue? My VPS-provider are claiming that the state module is present, and that my rules are wrong. Even though I have reinstalled everything twice and checked things quite a lot.15:00
protiRoyK: Could you paste the top header ?15:07
jdstrandsandstrom: simply show the VPS-provider the rules that are failing (substitute 'ufw-before-input' for INPUT). show them both the ctstate and state rules you tried15:09
sandstromjdstrand: would this work if the state module was installed (eg. should this be proof enough)?15:33
sandstromhttp://pastie.org/53567015:33
jdstrandsandstrom: yes-- I just confirmed here on a hardy kernel15:34
sandstromthanks15:34
jdstrandsandstrom: incidentally, to clean those out, use 'iptables -F foo;iptables -X foo'15:35
jdstrand(that remove the foo chain)15:35
sandstromthanks15:35
AnRkeydoes any1 know off hand if there is a problem with the mail-server virtual package on jaunty server? I'm about to go and try to reproduce the package install error on a VM but if it's already reported then what's the point.16:43
AnRkeyi'm installing the mail server from the net-install pxe image16:44
=== ogra_ is now known as ogra
heath|workhow can I kill all ssh sessions?17:50
ivokskill ssh on that tty17:51
heath|workhave you ever had a problem connecting to virsh ? I can't control any machines... it just hangs on connecting to quem:///system17:54
heath|workDo you know if I can restart libvirt without it kill all the machines?17:55
=== RoAk is now known as RoAkSoAx
Travis-42what is a good tool for quickly allowing one to browse log files and, possibly, sending email alerts about certain log messages?19:31
=== RoAk is now known as RoAkSoAx
storrgieanyone here using vmware server?19:41
KillMeNowhello folks...  anyone know why libapache2-mod-security got yanked from the repos?20:38
jdstrandKillMeNow: https://wiki.ubuntu.com/SecurityTeam/FAQ#Packages20:41
jdstrandheath|work: you should be able to with libvirt 0.6.0 and later20:42
heath|workthanks... I got it jdstrand20:42
oioiiiHello, Im using php5.2.9 with mysql-server5.1.34 from dotdeb.org on ubuntu8.04lts, all seems fine but php is reporting mysql version as 5.0.18 rather than 5.1.34. Is this a concern? How can I change this?20:42
KillMeNowhave you restarted your apache2 server yet oioiii?20:47
KillMeNownot sure if that will do it20:47
oioiiino, it wont, just asked the same question over at #mysql and they said I should be fine...20:53
KillMeNowok Jdstrand...  they took it out of the 8.04 version and it's back in version 9, how can i upgrade my system to version 9 w/o reformatting?21:51
KillMeNowi've done the dist-upgrade21:52
KillMeNowshould i just repoint apt to the newer repos?21:52
Hans_the_germanhow good is ubuntu server compared to centos?22:11
KillMeNoweach distro has pluses and minuses22:12
KillMeNowi used to use Centos exclusively and went to Ubuntu...22:13
Hans_the_germanif a may ask how many users?22:13
Hans_the_germani am to setup server with function as a mail gateway, firewall, webproxy and ipsec server with freeswan22:14
KillMeNowso you're looking to make something in to a firewall?22:15
Hans_the_germanaswell yes22:15
KillMeNowcheck out smoothwall.org22:15
Hans_the_germannah22:15
Hans_the_germanto limited22:15
KillMeNowcan do everything you just listed22:15
KillMeNowheh ok?22:15
Hans_the_germannot powerfull enough22:16
Hans_the_germani can only do what is provided by smoothwall, i cant change and add functions22:16
Hans_the_germanfeatures like dkim,greylisting etc22:17
KillMeNowok22:17
Hans_the_germandont like firewall policy its to limited22:17
Hans_the_germanno for large site22:17
KillMeNowwell, i run my stuff from ubuntu, like greylisting etc22:17
Hans_the_germanmaybe a small network22:17
KillMeNowin the end i think it's preference22:18
KillMeNowi like the aptitude manager better than yum22:18
KillMeNowplus i can tell you from experience, that centos won't run my IPtables tarpit22:19
KillMeNowwell not a tarpit per se, but the auto deny after X attempted connections for them script kiddies22:19
Hans_the_germandebian seems to be more secure and stable from what i hear and people are affaired of using ubuntu directly on the net...it seems22:19
KillMeNowubuntu is from the debian22:19
Hans_the_germanyes i know22:20
KillMeNower derived from22:20
KillMeNowand as long as you follow standard security rules, you should be ok22:20
KillMeNowi've had Ubuntu on the "net" for years w/ few problems22:20
KillMeNowbiggest issue i've had is getting apparmor to work22:20
Hans_the_germanok and what about stability and performance?22:21
KillMeNowi've run Ubuntu on my HP 2000LPR server w/ Megaraid for 2 years w/o any issues...  even had it attached to a 12 disk scsi raid shelf w/o any issues22:22
KillMeNowI migrated from 6.06lts to 8.04 a while back w/o any issues...  it's running on a Dell 1750 dual Xeon22:23
KillMeNowit's now been up for 34 days since my last reboot22:23
KillMeNowcourse, i don't do any really heavy website action22:24
Hans_the_germanmmm...22:24
KillMeNowhowever, i do some contract work for a couple business that run asterisk on Centos22:24
VogI haven't had any problems more with ubuntu on the net than other distros. Just make sure you do you updates and know what is running on your server.22:24
KillMeNowand those are heavily hammered on a regular basis22:24
KillMeNowyeppers...22:25
Hans_the_germanwell i a bit scared of ubuntu in a high volume enviroment...22:25
KillMeNowi'm trying to figure out how to get the apache-mod-security for 8.0422:25
VogA few of my boxen at other sites are HAMMERD with traffic during business hours22:25
KillMeNowLOL...  i don't want to reinstall Ubuntu 9 over the top of it22:25
ScottKHans_the_german: What makes you think Debian is more secure than Ubuntu?  Ubuntu is more aggressive about using compile time hardening options than Debian.22:32
Hans_the_germanhttp://it.slashdot.org/article.pl?sid=07/08/15/134122422:35
Hans_the_germani dont like this,,,22:36
KillMeNowok, maybe we should google all the different flavors of Linux and see which ones have been hacked22:37
KillMeNowwhen you read the article, it says that some ppl were not using smart security practices22:38
ScottKHans_the_german: I was around when that came to light and it's really attributable to poor administration practices.  There's no distro so secure you can't shoot yourself in the foot.22:40
KillMeNowso very true ScottK22:41
VogI know of an administrator who I could hand over a bastill elinux install and he could make it hackable after a month on incompetance23:16
VogI quote " why can't we have 6 character passwords without numbers? You make us more unsecure by making me write these complicated passwords down on postits "23:18
VogHe dosen't work for me anymore.....23:18
Vogdoesn't ^^23:18
* jmedina writes hashed paswords on posticks23:19
zendeI'm having trouble with apt-get on clean installations of hardy and jaunty using vmbuilder23:41
zendeanyone here who could help?23:41
KillMeNowsorry, none from me23:44
KillMeNowhaven't played with vmbuilder yet23:45
zendeKillMeNow: thanks for the response23:51
zendeanyone else?  I'm getting 'E: Method http has died unexpectedly!'23:51

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