/srv/irclogs.ubuntu.com/2009/02/03/#ubuntu-server.txt

bdubncHeyI am wanting to move my CentOS lamp installation to Ubuntu 8.04.  The issue is with php.  I need a way to turn off the default soap settings that are configured by default from the apt repo.  CentOS 5.2 using php 5.1.6 and does not turn soap on by default.  They utilize nusoap which runs great on 5.1.6, but 5.2.4 seems to not run it at all. I need to back 5.2.4 down to 5.1.00:31
nosferatuwhats the difference between ubutu server and desktop?00:39
kansani added a printer to my ubuntu hardy desktop.... its a samsung ml-2510... problem is after awhile the printer seems to be disconnected... i.e i send it printer jobs and it doesnt do anything.  restarting my computer works, but only for a little bit... and then again i cant send it print jobs anymore.  i tried a different printer driver from linux printing database too ideas?how do i list all groups on a given machien?00:40
kansanoops00:40
kansanhow do i list all groups on a given machien?00:40
Deepsbdubnc: i'm not sure, i guess in your position i'd make my own 5.1 package and pin that so that it doesn't get upgraded00:42
Deepsnosferatu: ubuntu server installs a different kernel config (-server) and a set of packages that would generally be considerred useful on a server, ubuntu desktop installs a different kernel config and a set of packages that are more useful to desktops, like gnome, firefox, openoffice, pidgin, and so on00:43
Deepskansan: cat /etc/group00:43
kansanmk00:43
bdubncAh, that works.  My only other option would be to use an earlier LTS version00:43
Deepsbdubnc: you could try using the package from an earlier version on your current machine, but that may result in some... odd behaviour00:44
nosferatu<Deeps>: are those packages the LAME, DNS, etc. that you get asked during the installation?00:45
Deepsnosferatu: no, those are additional options00:46
Deepsnosferatu: all that is all available on both server and desktop, the only difference is the packages that are installed by default00:46
bdubncyeah, I don't really want todo that.  Also, I am running Virtualmin which only runs on LTS builds so I would have to go back to 6.06 in order to order to work00:46
nosferatuoh, I wanted a cleanest linux install so that I can add stuff i use myselft. I thought server version would do :(00:46
Deepsnosferatu: i think there's a mini.iso that may be of interest to you, otherwise the alternate cd may be what you want, one of them lets you do a more minimal install00:47
nosferatuoh. ok, i´ll take a look at those. thanks.00:47
nosferatui liked the old personalized installation disties came with a while ago...00:48
bdubncAnyone know which version of php comes with 6.06, or where I can find out?00:51
jtajibdubnc: http://packages.ubuntu.com00:55
Deeps!info php dapper00:57
ubottuPackage php does not exist in dapper00:57
Deeps!info php5 dapper00:57
ubottuphp5 (source: php5): server-side, HTML-embedded scripting language (meta-package). In component main, is optional. Version 5.1.2-1ubuntu3.12 (dapper), package size 1 kB, installed size 20 kB00:57
bdubncThanks guys, I think I might just go with 6.06.  I really want to go to Ubuntu for speed.01:00
kansanhow do i get the current time zone my ubuntu machine is set up on?01:36
dinsdale07kansan date03:30
uvirtbot`New bug: #324683 in mysql-dfsg-5.0 (main) "package mysql-server-5.0 5.0.67-0ubuntu6 failed to install/upgrade: subprocess post-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/32468303:45
lukehasnonameping soren04:18
lukehasnonamedo you have a list of things you're working on?04:18
lukehasnonameI read something about OpenVZ integration in jaunty, but I only saw it in the weekly newsletter04:19
deadbatteryhi anyone here? i got a question05:27
ScottK!ask05:33
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. :-)05:33
deadbatterywell, anyone here has ever used plesk?05:33
ScottKI have, but not on Ubuntu05:34
deadbatteryya well its being a pain the ass ..05:35
deadbatteryif anyone can help me here, i did extremely appreciate05:35
ScottKWhich Ubuntu release are you  using?05:35
deadbattery8.0405:35
ScottKYou might consider just using ebox.05:36
ScottK!ebox05:36
ubottuebox is a web-based GUI interface for administering a server. It is designed to work with Ubuntu/Debian style configuration management. See https://help.ubuntu.com/community/eBox05:36
deadbatteryi know but i prefer plesk, its much better for client management05:36
ScottKOK.  I can't help you, but I'd suggest asking a specific question.05:37
deadbatterywell first i would need some one that has experience with plesk =p05:37
deadbatterybut i use apache2 as of now, do u knopw where the error log is saved?05:38
ScottKGenerally in /var/log05:41
deadbatterywell i see apache2 afterwards05:42
jmarsdendeadbattery: Look in /etc/apache2/apache2.conf for the ErrorLog directive, it says where the error log will go.  The default in Ubuntu 8.10 is   ErrorLog /var/log/apache2/error.log05:46
jmarsdenNote that this is not at all specific to Plesk :)05:47
deadbatteryi am still getting ] child pid 17202 exit signal Segmentation fault05:47
deadbatterywhich basically hangs the entire server05:47
deadbatteryany idea?05:48
jmarsdenDid you build apache2 from source, or is this error coming from the official Ubuntu-packaged version of apache2?05:49
deadbatteryumm05:49
deadbatteryi just did sudo apt-get apache05:49
deadbatteryi did sudo apt-get install apache05:50
jmarsdenOK, so it is the packaged one.  It shouldn't be segfaulting... is that 17202 process an httpd, or some other process spawned by apache?05:50
deadbatteryi really dont know05:51
deadbatteryi am in apache2/error.log05:51
deadbatteryand theres like a gizzlion of these05:51
deadbattery[Tue Feb 03 06:51:16 2009] [notice] child pid 21918 exit signal Segmentation fault (11)05:51
deadbatteryone after anpother05:51
deadbatteryits only apache2 running, no mysql05:51
jmarsdenThat almost starts to sound like hardware... flaky RAM, or something??05:52
deadbatteryumm quad core xeon, 4gb ram05:53
deadbatteryi doubt it05:53
deadbatterycud an index.html be an issue?05:53
deadbatterya broken one?05:53
jmarsdenI don't know how it could cause a segfault!  But put back a really simple one and see if the problem goes away.05:53
deadbatteryput back what?05:54
jmarsdenA nice clean safe index.html :)05:54
deadbatteryin the folder05:54
deadbatterywher he files are hosted05:54
deadbatteryall there are .avi files05:54
deadbatterynothing else05:54
deadbatteryjust .avi files05:54
jmarsdenThen why did you think it could be index.html?05:55
jmarsdenIf there is no index.html, it can't be causing a problem, by definition.05:55
deadbatteryi did have an index.html05:55
deadbatteryjust one05:55
deadbatteryall the apache server does is host avi files05:55
deadbatterynow the servre instantly crashes..05:56
deadbatteryi started it05:56
deadbatteryand it just keeps saying waiting....05:56
deadbatterydoes http://91.121.4.48 work for u guys05:57
jmarsdenSo you just set up a LAMP server and threw a bunch of .avi files under /var/www and it crashes?  No other config changes?  Where does Plesk come into the picture then?05:57
deadbatteryi was thinking of moving into plesk05:57
deadbatteryi no longer use lamp05:57
deadbatteryi got apache205:57
jmarsdenThe A in LAMP starts for Apache :)05:57
deadbatteryyeah i dont use lamp05:58
deadbatteryi did sudo apt-get install apache05:58
jmarsdenYou use the L and the A parts, at least :)05:58
jmarsdenOK.05:58
deadbatteryhm weird05:58
jmarsdenIf you have a boring standard Ubuntu server and you sudo apt-get install apache and throw a pile of files under /var/www/ it does not segfault... not on good hardware.  That much is for sure.05:59
deadbatteryno i thru the files in05:59
jmarsdenSo either some config got changed or else the hardware is the cause of the segfaults06:00
deadbatteryi changed the root to /home/admin06:00
deadbatterywud that casue an issue?06:01
jmarsdenOK... how did you do that?  Which config file did you edit?06:01
deadbatteryhttpd.conf06:01
deadbatteryi just remote rebooted the server06:01
jmarsdenI think you edited the wrong thing, can you undo that change... (after the reboot!) ?06:01
deadbatterywell how did i do it wrong, if it changed the root of wher ethe files are hosted to /home/admin?06:02
deadbatteryerr i am going to do a fresh install of apache06:02
deadbatteryhow can u remove it?06:02
deadbatteryfirst shud i get apache2 or apache?06:03
deadbatteryseci am removing it06:04
deadbatterythen i amd o fresh install06:04
deadbatterywhich shud i isntall? apache or apache2?06:06
jmarsdenYou should probably use apache2, it is the current stable version of Apache.  BTW your web server now apepars to be working...?06:06
jmarsdenI see a bunch of .avi files...06:06
deadbatterythis is lampp06:06
deadbatteryhow the hell do i remove it06:06
jmarsdenHow did you install it?06:07
deadbatterya frend did06:07
jmarsdenLAMPP with two P's?06:07
deadbatteryhow do u uninstall apache2?06:07
deadbatteryya06:07
jmarsdenIf if was installed as a package you can do   sudo apt-get remove apache206:08
jmarsdenBut who knows what your friend did...!?06:08
deadbattery0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.306:08
deadbatterygod damn06:08
jmarsdenSo it installed some other copy of Apache its own way...06:08
deadbatterylol06:09
jmarsdenIf your friend manually compiled and installed stuff, you need to get him to undo that.  Or just reinstall the server; figuring out what he did would take too long, I suspect.06:09
deadbatteryhow do u re install?06:10
jmarsdenDid he follow a tutorial or something to install LAMPP ?06:10
deadbatteryno and lampp is shitty, all i need is apache06:10
jmarsdenIs this a server you have physical access to, or is it at an ISP or colo place somewhere?06:10
deadbatteryservers in france.. i am in usa06:11
jmarsdenThen you need to do whatever your ISP in France says you have to do to get it reinstalled... how to remote reinstall depends completely on their setup.06:12
jmarsdenThey may have a web based server control panel where you can request a reinstall??06:12
deadbatterywait wwat?06:13
deadbatterynah yo, i have remote desktop to the ubuntu06:13
deadbatteryi can do everything06:13
jmarsdenWell, you can't put a CD in the CDROM drive :)06:13
deadbatterywhy wud i need to put a CD in the drive..06:13
deadbatteryi just need to remove apache206:13
jmarsdenOK, you can find out where and how your friend installed it, and then undo what he did.06:14
jmarsdenYou could pay someone to ssh into your server and do it, I suppose... but again, a server reinstall would be faster and so cheaper than doing that, I suspect.06:14
deadbatterywhy06:14
deadbatterywud i re install06:14
deadbatteryi wud lose ervything..06:15
jmarsdenThis is a production server?  And you have no diae how your friend installed LAMPP?  Wow.  Then you need to talk to your friend...06:15
jmarsdens/diae/idea/06:15
deadbatterysec he just removed it06:15
jmarsdenOK, then now you can do   sudo apt-get install apache206:16
deadbatterysec06:16
deadbatteryk done06:16
deadbatterynow how do i change the root folder to /home/admin06:16
jmarsdenNot so fast... can you browse to the server and see anything??06:17
deadbatterywell lets turn it on06:17
jmarsdenSure.    sudo service apache2 start06:17
deadbatteryadmin@ns37294:~$ sudo service apache2 start06:18
deadbatterysudo: service: command not found06:18
jmarsdenOK, try     sudo /etc/init.d/apache2 start06:19
deadbatteryadmin@ns37294:~$ sudo /etc/init.d/apache2 start06:19
deadbatterysudo: /etc/init.d/apache2: command not foun06:19
deadbatteryand the apache2 is isntalled06:19
deadbatteryReading state information... Done06:19
deadbatteryapache2 is already the newest version.06:19
deadbatteryinside etc/init.d/ i see not apache206:20
jmarsdenStrange indeed.  Can you uninstall it    sudo apt-get remove apache206:20
deadbatterydone06:21
deadbatterynow =o06:21
deadbatterynow i guess sudo apt-get apache2?06:22
jmarsdenOK, so now install again and then you really really should have a file /etc/init.d/apache206:22
jmarsdenWith the install in there, yes.06:22
deadbatterynope06:22
deadbatteryweird, huh?06:23
jmarsdenOK, something is broken here... maybe try   sudo apt-get install apache2.2-common06:23
deadbatterydione06:24
jmarsdenYou have a Ubuntu 8.10 server installation, right?  OK, now check for /etc/init.d/apache2 again.06:24
deadbatterystill no apache06:24
deadbatteryno i got 8.0406:24
deadbatteryadmin@ns37294:~$ sudo /etc/init.d/apache2 start06:25
deadbatterysudo: /etc/init.d/apache2: command not found06:25
jmarsdenAh... Should work the same way... did the sudo apt-get install apache2.2-common   say it was going to install it, and actually do anything?06:25
deadbatteryno 0 for all ofem06:25
deadbatterysec06:25
deadbatteryi just installed it06:25
deadbatteryand it says06:25
deadbatteryDo you want to continue [Y/n]? y06:25
deadbattery(Reading database ... 126473 files and directories currently installed.)06:25
deadbatteryRemoving apache2 ...06:25
deadbatteryso there had to be a apache2..06:25
deadbatterywtf?06:25
deadbatteryi can give u SSH if u want06:26
jmarsdenMIght be faster...  Not in the channel though!06:26
suigenerisScottK, are you there?06:43
ScottKI am.06:43
ScottKLet me get something ...06:43
suigeneriscan you help me now?06:43
ScottKYes06:43
suigenerisso, where do you want to begin? do you want any information from me?06:44
ScottKI tried openssl genrsa -des3 -rand /etc/hosts -out smtpd.key 1024 as is in the docs and had the same problem as you.06:45
ScottKWhat I've done that works for me is:06:45
suigeneriswietse said in the mailing list that key values mismatch. is it still password problem?06:46
ScottKYes06:47
ScottKopenssl req -new -nodes -keyout smtpd_private.pem -out smtpd_private.pem -days 36506:47
ScottKAnswer the questions that go with that and leave the password blank.06:47
ScottKThat'll be your private key.06:48
ScottKThen you'll want to self sign them.06:49
ScottKopenssl ca -policy policy_anything -out smtpd_public.pem -infiles smtpd_private.pem06:49
ScottKThen you'll want to put them and your cacert.pem in /etc/postfix/certs and make sure to chmod the private key to 60006:50
suigenerispolicy_anything <---- do i write this as is?06:51
ScottKyes06:51
ScottKIf you have trouble with the cacert signing bit, look into CA.pl06:53
ScottKIt's shipped with openssl06:53
suigenerisunable to load CA private key06:53
ScottKUse CA.pl to make one.06:53
ScottK/usr/lib/ssl/misc/CA.pl and man CA.pl for details.06:53
ScottKsuigeneris: I highly recommend "The Book of Postfix" for learning more about doing stuff with Postfix.06:55
ScottKYou won't be suprised where I got that from ....06:56
ScottKsuigeneris: I'm off to bed.  If you have more problems after trying to work through it, leave me a note and I'll get the scrollback.07:04
ScottKsommer: ^^^07:04
suigeneristhank you ScottK07:04
deadbatteryjmarsden, is da beast07:10
deadbatterygnite all!!07:10
deadbatteryi have began my journy to learning ubuntu07:10
deadbatteryo.o07:10
gtdaquadoes anybody know the blueprints of server spec/features of jaunty?07:28
gtdaquaam i the only one here?07:29
uvirtbot`New bug: #228229 in openssh (main) "sshd profile does not work out-of-the-box" [Undecided,New] https://launchpad.net/bugs/22822907:30
gtdaqua??07:33
gtdaquaare there any current blueprint of jaunty server?07:35
gtdaquacan anybody read my posts?07:36
=== dendrobates- is now known as dendrobates
mathiazkees: jdstrand: bug 22822908:24
uvirtbot`Launchpad bug 228229 in openssh "sshd profile does not work out-of-the-box" [Undecided,New] https://launchpad.net/bugs/22822908:24
mathiazkees: jdstrand: is this related to the openssh package?08:24
SmokeyDhey people. I am running snort on my ubuntu hardy machine, and have configured multiple ip addresses using aliases08:25
SmokeyDhould I now also modify /etc/snort/snort.debian.conf to include both eth0 and eth0:1 in DEBIAN_SNORT_INTERFACE="eth0"?08:25
SmokeyD*should08:25
sorenlukehasnoname: What's up?08:32
=== erichammond1 is now known as erichammond
sorenuvirtbot`: nick uvirtbot08:34
=== uvirtbot` is now known as uvirtbot
=== erichammond1 is now known as erichammond
krautmoin08:41
lukehasnonamesoren: I was wondering if there was a place where the things being worked on for Jaunty are documented. I checked the roadmap, but I don't see anything new. For example, I saw that OpenVZ is being integrated into Jaunty in the weekly newsletter, but I couldn't find info anywhere else08:42
sorenlukehasnoname: It's supposed to be on Launchpad, and it actually should be by the end of today. We're updating it today.08:43
sorenlukehasnoname: About OpenVZ... I haven't heard anything about that. At all.08:44
lukehasnoname"Soren Hansen has uploaded a new version of the libvirt package. Amongst bug fixes the version available in Jaunty brings support for openvz..." Perhaps I misunderstood that sentence.08:50
lukehasnonameit has to do with libvirt controlling openvz, not jaunty having a predefined openvz config08:51
sorenOh. Well, the openvz stuff we got for free. It wasn't the reason for updating libvirt.09:07
andolmathiaz: Seems like the mysql ssl-test-cert patch did the trick regarding bug #323755.09:11
uvirtbotLaunchpad bug 323755 in mysql-dfsg-5.0 "non-trivial building mysql source package, build test keeps failing, (open)ssl related" [High,Confirmed] https://launchpad.net/bugs/32375509:11
andolmathiaz: Will you take a look at the debdiff I've provided, and upload it if it seems ok?09:11
mathiazandol: yes - I'm looking at it right now09:15
uvirtbotNew bug: #323755 in mysql-dfsg-5.0 (main) "non-trivial building mysql source package, build test keeps failing, (open)ssl related" [High,Confirmed] https://launchpad.net/bugs/32375509:15
mathiazandol: where did you take the patch from?09:15
andolmathiaz: https://code.launchpad.net/~mysql/mysql-server/mysql-5.0-bugteam09:18
andolmathiaz: Really wasn't sure about the best way to extract to patch, so I ended up taking a diff from when it was checked in.09:21
mathiazandol: http://bazaar.launchpad.net/~mysql/mysql-server/mysql-5.0-bugteam/revision/2730?09:21
mathiazandol: yeah - ^^ seems that's the patch you took09:22
simplexiodoes anyone know does ubuntu 8.10 suuport nfs4 acl ?09:22
andolmathiaz: yes, that's the one.09:22
mathiazandol: ok. It's annoying that they generated a new certificate that will expire in one year :/09:24
andolmathiaz: Yes, was kind of wondering about that. Do you really have to worry that much about a cert which only will be connect to from localhost? :)09:26
mathiazandol: oh no - it's for the test suite09:26
mathiazandol: the pkg will fail to build in one year09:26
mathiazandol: and we'll still be supporting it09:27
andolmathiaz: That was what I was refering to. Isn't t he test suite only working locally?09:27
mathiazandol: it's very annoying when packages stop to build once we've released09:27
mathiazandol: yes. it's not a security issue. it's just that the package will fail to build next year while we're still supporting it.09:28
andolmathiaz: Hey, but now I see kind of phrased my question wrong :) I was wondering if _they_ really have to worry about...09:28
mathiazandol: oh sorry. about that.09:28
mathiazandol: I guess they don't plan to support 5.0 by then.09:29
mathiazandol: let me check what they did in 5.109:29
andolmathiaz: not your fault that I phrased my question wrong :)09:29
andolOhh well, at least we will hopefully remember this ticket next year.09:29
mathiazandol: also when preparing a patch I usually use the DP: field at the top of the patch to document what the patch does and where it came from.09:30
mathiazandol: it helps a lot when you review patches in the futur09:30
andolmathiaz: Will do that.09:37
mathiazandol: I'll update the dpatch09:37
mathiazandol: and upload the package.09:37
andolthanks09:38
andolmathiaz: Since we talking about mysql. You don't also feel like taking a look at my solutions to bug #296952 and bug #310211?09:39
uvirtbotLaunchpad bug 296952 in mysql-dfsg-5.0 "mysqlhotcopy failed on table with hyphen in name" [Undecided,Confirmed] https://launchpad.net/bugs/29695209:39
uvirtbotLaunchpad bug 310211 in mysql-dfsg-5.0 "MySQL table check fails in ANSI mode" [Undecided,Confirmed] https://launchpad.net/bugs/31021109:39
mathiazandol: it should be on my list - did you subscribe ubuntu-main-sponsors to ask for sponsorship?09:42
piquadratHi! Any nginx-experts around? I can't get it to gzip any content, altough I have "gzip on;" in nginx.conf09:42
andolmathiaz: Yes, ubuntu-main-sponsors are subscribed to both of those tickets.09:43
shally87hi deeps10:10
shally87i wanna ask if i should get a virtual machine for each of the server installed on my pc.10:11
=== mcasadevall is now known as NCommander
shally871hi10:34
shally871what type of virtual machine i need to install for 4 server in a pc? The server are mail server, lamp, dns and samba10:35
=== shally871 is now known as shally87
incorrecti have approximately 200 servers,  right now they are stand alone units,  however I want to create a central management system,  I am looking at ldap, however openldap seems to be somewhat buggy right now for n-way replication10:37
incorrectwhat other alternatives are there?10:37
domasNIS10:41
domasor, more radical, Puppet10:41
incorrecti didn't think many people used NIS anymore10:41
hadsPuppet is cool10:42
domaswe do!10:42
incorrectcan nis replicate information between servers?10:42
domaswhy do you need nway replication for 200 servers? :)10:43
incorrecti have multiple sites10:43
incorrectdon't want a vpn link to go down and everything to collapse10:44
mathiazincorrect: are you sure you need multi-master replication?10:44
mathiazincorrect: openldap support replication10:44
incorrectyes there is a passwd db in there, I ideally I would like this to be current as possible over all sites10:45
mathiazincorrect: so openldap replication would work10:46
incorrectif openldap n-way replication would work10:46
mathiazincorrect: what do you refer to by n-way replication?10:47
incorrecthttp://www.openldap.org/doc/admin24/replication.html#N-Way Multi-Master10:47
incorrectseems to be what https://help.ubuntu.com/8.10/serverguide/C/openldap-server.html10:47
incorrectis based on10:47
mathiazincorrect: do you need to support a multi-master architecture?10:48
incorrectwell each site needs to sync and each site will take updates10:49
mathiazincorrect: well - the first part is easily support with the replication module in openldap10:49
mathiazincorrect: the second part is much more complicated10:49
incorrectmathiaz, where is the complication?10:50
mathiazincorrect: I'd think about whether you *really* need to support every sites to take updates10:50
mathiazincorrect: in the first part you replicate for a read-only environment10:50
mathiazincorrect: in the second use case you want to support write in multiple places and sync between them10:51
mathiazincorrect: this is much harder to do10:51
mathiazincorrect: and be consistent10:51
incorrecti don't mind if there are problems that an object gets updated in two locations and one update gets trampled10:52
incorrectthis is highly unlikely to happen10:52
incorrectand i don't care if it does10:52
incorrectso what you are telling me is, a company couldn't use openldap if it had two sites, and someone at the second site wanted to update their password10:53
incorrectthat says master->slave to me10:53
mathiazincorrect: it's possible. You'd just have to setup your environment so that the password update is always directed to the master10:54
incorrectwhat is the point of multimaster replication?10:54
mathiazincorrect: section 17.2.2 of the openldap admin guide lists the advantages10:55
incorrectIf any provider fails, other providers will continue to accept updates10:55
incorrectsound great to me10:56
mathiazincorrect: right - that's to eliminate the SPOF for the writes10:56
mathiazincorrect: the question is whether you can live with your master down and how long it takes to recover the master10:57
incorrecthang on then it is not multi-master if one machine is the master10:57
mathiazincorrect: yes. I'm talking about using the normal replication system.10:58
incorrectoh that works, i am not interested getting that working10:59
incorrecti am just trying to figure out why openldap blasts is db's away when replicating11:00
incorrectthere must be something missing from that guide11:00
mathiazincorrect: oh ok. I thought you were looking into whether multi-master would be usedfull for your environment.11:01
incorrectit clearly i the right choice if i can get it working11:01
incorrectis there anyway i can check out the https://help.ubuntu.com/8.10/serverguide/C/openldap-server.html and make updates to it,  i found a number of errors11:02
mathiazincorrect: look at https://wiki.ubuntu.com/ServerTeam/KnowledgeBase - there is a documentor section that outlines how to check out the server guide11:04
incorrectthanks11:05
mathiazincorrect: once you've made your updates you can push your own bzr branch to LP and ping sommer to review it11:05
incorrectcool11:07
mathiazandol: mysql 5.0 uploaded.11:08
andolnice11:29
SmokeyDhey anybody know if Ubuntu Hardy server already contains snort compiled --enable-inline?11:51
_rubenSmokeyD: its rather easy to check ... apt-get source snort and take a look at the debian/rules file11:53
SmokeyD_ruben: good idea :)11:54
SmokeyD_ruben: and the answer is no, well, I think it is compiled with the switch, but the binary is not installed..11:56
_rubenthat'd be rather odd i'd say11:58
=== Kamping_Kaiser is now known as kgoetz
SmokeyDis there a reason ubuntu doesn't include libapache2-mod-security in the repos?13:33
SmokeyDof course there is, but what is it :)13:33
p_quarlesSmokeyD: I forget the precise reason, but it was an upstream (i.e., Debian) decision, and that's where you would find the explanation13:35
p_quarlesI *think* there was some question about it meeting DFSG, but I could be wrong13:36
ScottKSounds likely13:37
SmokeyDwhat is DFSG?13:37
SmokeyDlicencing stuff?13:37
ScottKlibapache-mod-security got removed.13:37
ScottKhttps://launchpad.net/ubuntu/+source/libapache-mod-security13:37
ScottKDebian Free Software Guidelines, which Ubuntu follows13:37
Deepsheh, searching for libapache2-mod-security in google gives a plethora of hits that explain what happened13:37
Deepshttp://ubuntuforums.org/showpost.php?p=4227541&postcount=7 may be of interest13:38
SmokeyDDeeps: I was doing that but I can only find howto's which all say apt-get install libapache2-mod-security13:38
SmokeyDbut ScottK's link explained it13:39
SmokeyDlicensing trouble13:39
Deepsinfact, it's back in sid now13:40
Deepsbug 2713:40
uvirtbotLaunchpad bug 27 in baz "temporary test" [Medium,Invalid] https://launchpad.net/bugs/2713:40
Deepsbug 24726813:40
uvirtbotLaunchpad bug 247268 in libapache-mod-security "libapache2-mod-security not found in 8.04 repositories" [Undecided,Won't fix] https://launchpad.net/bugs/24726813:40
Deepseven13:40
ScottKActually it looks like exception solves the problem.13:46
ScottKSmokeyD, p_quarles, Deeps: It does look to me like the licensing change solves the problem, so I'll look into getting it back in for Jaunty.13:53
SmokeyDScottK would be great, I not installed it using a community contributed debian package on the mod_security site13:54
SmokeyDScottK, could it also be backported to hardy?13:54
ScottKPossibly.13:54
SmokeyDs/not/now/13:55
ScottK!backports13:55
ubottuIf new updated Ubuntu packages are built for an application, then they may go into Ubuntu Backports. See https://help.ubuntu.com/community/UbuntuBackports - See also !packaging13:55
ScottK^^^ Gives the process for requesting it (after it's back in).13:55
uvirtbotScottK: Error: "^^" is not a valid command.13:55
tjaaltonis likewise-open going to be updated to 5.x for jaunty?13:57
CrummyGummyHi, where do I find the stdout from a service running in inet.d?13:59
ScottKSmokeyD, p_quarles, Deeps: I've asked for it to be sync'ed so it should get in for Jaunty.14:05
SmokeyDScottK: cool man14:06
SmokeyDthat is really nice14:06
SmokeyDScottK: I hope I'll remember to put in a request for a backport once jaunty has been released14:06
=== sim_ is now known as simplexio
simplexiogrrr.. my kryptd, dmraid and swapper keep failing on page alloc14:16
axisysstill looking for some help on this14:18
axisyshttp://ubuntuforums.org/showthread.php?p=666864714:18
CrummyGummyany ideas what the difference is between running a service (csync2) in inetd and running it manually? csync2 runs fine when I run it but I get an identification failed error when runnign it through inet.d14:18
axisysit bombs out during disk detection14:18
axisysCrummyGummy: may be the shell environment?14:19
quizmeapache runs as www-data right?14:20
SmokeyDquizme yes14:20
axisysquizme: ps -ef | grep apache or ps -ef | grep http or grep User from http.conf or apache.conf will help14:20
CrummyGummyaxisys: Any ideas how I can trouble shoot that? It runs ininet.d as root. and I can run it fine manually as root.14:20
axisysCrummyGummy: you could have a script that spits out the env to a file and run it14:21
axisyscompare the output from manually run and inetd way run14:21
quizmethanks14:21
CrummyGummyhmmm, lemme try that.14:22
SmokeyDCrummyGummy: afaik, running it through inetd enables the use of tcp-wrappers (hosts.deny and hosts.allow), which are not run when running standalone14:23
SmokeyDcorrect me if I'm wrong please :) I like to learn14:23
CrummyGummyALL:    10.1.0.0/16 is in hosts.deny unless I need to specify the hostname.14:23
CrummyGummyNo, i see its just ip addresses.14:24
DavedanI'm looking for a mail server that works on ubuntu. can anyone please recommend something?14:24
SmokeyDCrummyGummy: yeah indeed. But shouldn't ALL:    10.1.0.0/16  be in hosts.allow (assuming it is the subnet you are in)14:24
ivoksDavedan: postfix+dovecot14:25
SmokeyDDavedan: mailserver to sent mail (SMTP) or receive (POP3/Imap)14:25
CrummyGummyyes, typo :(\14:25
SmokeyDsmtp: postfix14:25
SmokeyDpop3/imap: dovecot14:25
ivoks+ mysql + postfixadmin14:25
SmokeyDivoks: indeed14:26
SmokeyDDavedan: see http://workaround.org/articles/ispmail-etch/14:26
SmokeyDthat is a very nice howto14:26
Davedanto receive emails, analize them and store in a db or file system14:26
ivoksstore them on FS14:26
ivoksbut put users in DB14:26
ivoksamavis+spamassassin+clamav is good filtering system14:27
ivoksanyway, everything you need (except postfixadmin web application) is in Ubuntu14:27
SmokeyDthe how-to on workaround.org is really nice14:27
Davedanwhat can I use to run some logic and 'read' the mails?14:27
ivoksand you can set up a really good mail server on ubuntu14:27
ivoksroundcube14:28
ivoksroundcube as webmail14:28
Davedan ivoks: roundcube is a mail server?14:28
ivoksno, only a webmail14:28
SmokeyDDavedan: http://roundcube.net/14:28
ivoksyou should also consider hiring a professional, if you aren't familiar with mail servers14:29
DavedanI don't need a webmail only automatic mail server that receive mails, a script that do something with the mail and a place to store them14:29
SmokeyDDavedan: if you want to use postfixadmin (I do), combine the postfixadmin parts of http://wiki.dovecot.org/HowTo/DovecotLDAPostfixAdminMySQL with the previous link14:30
ivoksSmokeyD: don't push him into LDAP yet :D14:30
SmokeyDivoks: no I wouldn't14:30
Davedanmaybe I didn't explain myself14:30
DavedanI don't need a normal mail application14:31
SmokeyDok14:31
SmokeyDyou want to retrieve email from another email server and read it using a script?14:31
Davedanwhat I want is a server that receive emails from automated scripts on multiple computers, analize them and store some data in a db14:31
Davedanso I guess I don't need roundcube14:32
SmokeyDDavedan: do you really NEED to receive those emails on that server, or would it suffice to have a gmail account receive those emails, and let your machine fetch the emails through pop3 and run a script on it?14:32
DavedanSmokeyD: I guess having a gmail account is fine but I'm not sure about the limits of the account14:33
Davedanit will be sufficent for test though14:33
SmokeyDDavedan:  what limits are you thinging about?14:33
Davedannot sure14:34
SmokeyDWhen you fetch your emails through pop3 from, the gmail server, they are gone from the server so little diskspace is used with gmail14:34
SmokeyDwhich is hard to fill anyway14:34
Davedanthe size of the mails will be very small (10kb) but the number of mails can be high14:34
Davedanwill I be able to do it with a python script for example?14:35
SmokeyDDavedan: if you use a remote mail server like with gmail: yes14:35
SmokeyDDavedan: just write a python script that fetches mails through pop3 and analyse them any way you want14:35
SmokeyDDavedan: and either run that script through cron if fetching one per hour or something is fine14:36
SmokeyDif you want to read the emails more often, make the python script run continuously as a daemon and make it fetch your emails once per second if necessary (although I don't know if gmail likes that)14:37
DavedanSmokeyD: the python script will be the only thing my server does so I'll do it more often.14:37
Davedank14:37
Davedanthanks14:37
SmokeyDDavedan: no problem14:37
SmokeyDDavedan: just look into gmail's policy's regarding the frequency of your python script connecting to the gmail pop3 server14:38
SmokeyDmaybe gmail get's annoyed if you connect every second to their pop3 server14:38
SmokeyDDavedan: http://www.python.org/doc/2.5.2/lib/module-poplib.html14:39
Davedanas a proof of conecpt gmail is a great idea. If everything will work I will be able to hire someone to help me :)14:39
ivoksforward all mails to one server14:40
ivoksanalayze your mail there (posftix + procmail + whatever you want to analayze with)14:40
ivokswe can't tell you how to analyze, since that's what you have to figure out14:40
ivoksi can tell you that you can forward all you mail to account account@domain14:41
ivoksand set up .forward for that account with "|/your/custom/script"14:41
Davedanwhy is it better to forward the mails and not receive them on account@domain on the first place?14:41
ivoksall mail for account@domain will be forwarded to /your/custom/script program which will do whatever you want14:41
ivoksyou said you have multiple computers14:41
ivoksthen i guess you want to analyze your data on one place14:42
Davedanlet's say I have 100 computers all sending mails with some data to a single mail address14:42
Davedanis it better to use webservices instead of a mail server to send data from multiple clients to a single server?14:44
ivoksthat depends only on you14:45
ivoksi would set up my own server14:45
ivoksand push my private data over SMTPS14:45
ivoksand i wouldn't feel good having my sensibile data on some-other's servers14:45
Davedanwhen you say server are you talking about a mail server or an http server?14:46
ivoksthat's how i would do it, but i'm not you, and you have to decide on your own14:46
ivoksfor last 10 minutes we are talking only about mail servers, right?14:46
ivoksif not 20 minutes14:47
DavedanI currently have a script on the clients that send data to an email address.14:47
DavedanI'm asking if it might be easier to use http-server instead14:47
ivokshow would you send data to http server? http is very bad for posting data14:48
ivokssh... i didn't set up acl web page14:50
DavedanI'll send data to an http-server using a python script for example14:51
=== KterinK is now known as dou213
Davedanthank you for your kind help. bye14:56
ivoksunfortunatly, he doesn't understand basics, so it's hard to help him14:57
imaginativeonecan I get LAMP help here?16:07
geniiOccasionally :) Best to juust state the prob/question16:08
imaginativeoneI installed LAMP via: https://help.ubuntu.com/community/ApacheMySQLPHP16:09
imaginativeonehowever, I messed it up16:09
imaginativeoneI wish to start over16:09
imaginativeonebut the advice on that page seems to be missing a step16:09
Jeeves_imaginativeone: reboot and reinstall?16:13
imaginativeonereboot my server?16:13
imaginativeonewon't the services just restart?16:13
geniiimaginativeone: You used tasksel method?16:13
imaginativeoneyes16:14
imaginativeonemy browser keeps trying to open a PHTML file16:15
imaginativeonecan I reverse the tasksel method?16:15
geniiimaginativeone: You can use remove with it: eg:  sudo tasksel remove lamp-server            and then retry install. Not sure if the dpkg can be passed some option like --purge in that process however16:17
deadbatteryanyone knows how to migrate from ubuntu desktop to ubuntu server?16:19
domasrpm -e ;-)16:20
domasergh16:20
domasapt-get remove16:20
yann2changing the kernel I'd say? :)16:20
domasand yes, changing the kernel16:20
deadbatteryyeah but16:20
deadbatterythe thing is16:20
deadbatteryi am in USA16:20
deadbatteryserver is in France16:20
deadbatteryall i have is SSH16:20
domasinstall new kernel, reboot16:20
deadbatterywud i be able to do that with out losing any of my files?16:20
domasif doesn't come up, call datacenter monkeys and ask to bring up old kernel16:20
deadbatterytoo much hassle xD16:20
deadbatteryso wud i do that thru SSH?16:21
imaginativeonegenii: thanks a bunch16:22
geniiimaginativeone: It can be that your apache does not have a handler for phtml in it's config16:22
imaginativeonedeadbattery: over my head16:23
imaginativeonewhat is phtml?16:23
ivoksyour browser thinks it can download php file16:23
ivoksyou should install libapache2-mod-php5, if you haven't already16:23
ivoksor clear your browsers cache16:24
geniiimaginativeone: phtml is compiled php code16:24
geniideadbattery: If you feel brave you could use kexec to load new kernel without reboot.16:25
tuan123hello everbody16:27
tuan123has someone successfully installed ubuntuserver+kvm+jeos on a hetzner server?16:28
sorentuan123: Yes.16:29
tuan123cool16:30
tuan123could you tell how to config the network correctly?16:31
tuan123i have successfuly run the vmbuilder script and my vm1 is running16:31
tuan123but i cannot connect to it per ssh16:31
imaginativeonegenii: do I have to do anything special to reinstall?16:32
sorentuan123: Depends.. I've set up an elaborate NATing scheme.16:34
geniiimaginativeone: Just usually tasksel again.eg:  sudo tasksel install lamp-server16:34
sorentuan123: ...but you can ask hetzner for an 8 IP subnet that you can route to, and configure a libvirt network for that.16:34
imaginativeonegenii: thanks very much16:35
geniiimaginativeone: You're welcome16:35
tuan123soren: oh, that sounds difficult. are there tutorials to do that?16:35
tuan123soren: you mean i should ask for another subnet?16:36
sorentuan123: Depends on what you want to do with your vms.16:37
sorenIf you only need outbound access, you don't need to do anything.16:37
Fenix|workGreetings!16:38
tuan123soren: i just want to have 1 host für vms and many vms as webservers16:38
geniiimaginativeone: You should also look at ivoks' statement about libapache2-mod-php5 , this may be the actual underlying issue.16:38
sorentuan123: It really depends on what you're trying to achieve, really.16:38
Fenix|workany way to automate firewall drop configs on a temporary basis for people trying to bruteforce my FTP service?16:39
ivoksyes16:39
sorenFenix|work: fail2ban16:39
ivoksdenyhosts also16:40
ivoksbut that one is for ssh16:40
* ivoks should take a look at fail2ban :D16:40
tuan123soren: i just want the simplest scenario: 1host and 5 "vserver" as webserver16:40
sorentuan123: Well, the usual way to do that is to just configure apache to have several virtualhosts.16:41
soren...but if you want to use vm's, you need to either get some more ip addresses or set up a frontend apache server that relays requests to backend vm webservers.16:41
Fenix|worksoren, is it customizable for other logs?  For instance pureftpd places these errors in /var/log/messages16:41
tuan123soren: yeah, i know. but i want 5 separate vms für each customer16:42
sorenFenix|work: It's highly customisable, yes.16:42
sorentuan123: Ok..16:42
tuan123soren: thx soren. i really need help, because i have finally build an vm, but i can not connect to it.16:44
sorentuan123: Well, of course.16:45
soren16:42:01 < soren> ...but if you want to use vm's, you need to either get some more ip addresses or set up a frontend apache server that relays requests to backend  vm webservers.16:45
tuan123soren: i have 7 ips available16:46
sorentuan123: Oh, so you already got the subnet?16:46
sorenGood, good.16:46
tuan123soren: yes16:46
sorenWhich version of Ubuntu are you running?16:46
tuan123i have this one: http://www.hetzner.de/hosting/produkte_rootserver/ds8000/16:47
tuan123ubuntu 8.10 min16:47
tuan123do you speak german?16:47
sorenSomewhat.16:47
tuan123ok16:47
tuan123soren: i have set up a bridge br0 with the config of eth0. and it set eth0 to iface eth0 inet manual16:50
sorenThe easiest way to do it would be to change   <forward mode='route'/>16:51
sorenWhoops16:51
sorenThe easiest way to do it would be to change   <forward mode='nat'/> to <forward mode='route'/>  in "virsh edit-net default"16:52
sorenAnd change the IP's in there to match your setup.16:52
tuan123soren: thx. ok i try it now16:53
Fenix|workanyone know how to change the log file location for pure-ftpd with pure-ftpd-wrappers?16:55
nomegohey guys, trying to upgrade a feisty server, but some files doesn't seem to exist in the archives..16:58
tuan123soren: edit-net doesnt exists. where can i find the file?16:59
sorentuan123: Sorry, it's net-edit. My fault.16:59
nomegohow should I go about upgrading?17:00
tuan123soren: net-edit doesnt either17:00
sorentuan123: In Intrepid?17:01
tuan123soren: yes17:01
sorentuan123: Tell me... How are you running your virtual machine?17:01
tuan123soren: per virsh start vm117:01
tuan123soren: should i show you my config files?17:02
sorentuan123: What's the exact error message you get when you do "virsh net-edit default"?17:02
tuan123error: unknown command: 'net-edit'17:03
* soren could have sworn that was available in intrepid.17:03
sorenOh, well. Do this instead:17:04
sorenvirsh net-dumpxml default > netdefault.xml17:04
sorenedit netdefault.xml17:04
sorenvirsh net-define netdefault.xml17:04
zoopstersoren: it's not in any path on my server17:04
sorenzoopster: Who are you?17:06
sorenzoopster: And what are we talking about?17:06
tuan123soren: <forward/>?17:06
zoopstersoren: lurking on your dialog with tuan12317:06
sorenChange it to <forward  mode='route'/>17:06
sorenzoopster: And what is not in the path on your server?17:07
zoopstersoren: the virsh net-edit..that command isn't available for me either...is it in a newer version?17:07
sorenzoopster: What do you mean it's not in the path? You don't even have virsh?17:07
tuan123soren: but as i know i do not use this virtual adapter, instead i use br0 like in this tutorial: https://help.ubuntu.com/community/JeOSVMBuilder17:08
sorenYou could have mentioned that...17:08
sorenThen you have to do it completely differently.17:08
zoopstersoren: mistake on my terminology...virsh net-edit is not a valid command on my intrepid server...I was trying to follow along17:09
tuan123soren: sorry17:10
sorenHm, okay. Must have been a 0.5.0 thing then.17:10
tuan123soren: now i got my vm1 up running and i can connect per ssh woohhoo, BUT...17:10
zoopstersoren: yea...my virsh --version is 0.4.417:10
sorenAlways running the development version makes these sorts of things hard to remember :)17:10
sorenzoopster: Yeah, we didn't go 0.5.0 until Jaunty.17:11
sorenWEll, we skipped 0.5.0, actually and went straight to 0.5.1, but still.17:11
tuan123soren: the vm1 can only communicate with the host, but not with the internet17:12
tuan123soren: so how do config the br0 and vm1 correctly?17:13
sorenI'm going to guess you've put it on qemu:///session rather than qemu:///system17:13
soren..and with that, I'll have to bid you goodbye. I need to go get some dinner.17:13
tuan123soren: no its on qemu:///system17:13
sorenOk.17:14
tuan123soren: thank you, bye17:14
sorenWhat you need to do is to make sure your stuff is routed properly. In both directions. This is not completely trivial.17:15
tuan123soren: do you have a good tutorial about that?17:16
sorenNope.17:17
sorenI wing it :)17:17
SmokeyDhey people. DOes anybody now if there are problems running apparmor on an ubuntu hardy system in as a xen guest?17:34
SmokeyDand also, how hard is it to make apache2 be controlled by apparmor (as compared to creating a chroot jail manually)17:35
MiladKhajaviI want to go back to one of my 'screen', how can I get them back?17:47
dnperforswith CTRL-A N you go to the next screen, with CTRL-A P you go to the previous one...17:48
MiladKhajavidnperfors: I inserted CTR-A D and know I'm in actual terminal, I want to back to my screen17:50
plunHi all17:50
plunAnyone with knowledge about Ubuntus server guide ?17:50
plunhttp://doc.ubuntu.com/ubuntu/serverguide/C/17:50
yann2?17:52
MiladKhajaviany one could help me?17:52
dnperforsMiladKhajavi: you detached your screen, type screen -r17:52
ScottKplun: Ask a specific question.17:52
MiladKhajavidnperfors: thanks a lot17:52
dnperforsMiladKhajavi: your welcome :)17:53
plunScottK: OK.... I gave a technical journalist a tip about this guide and how long will it be  "draft"   ?17:53
ScottKsommer is the one that does most of the work on it.17:54
ScottKIt will be in draft until Jaunty is released.  We do a new revision for each release.17:54
plunScottK: he was badly informed and compared a Ubuntu server with a Windows server, the local community also gave him some strange thoughts... so this one is important..  IMHO  ;)17:55
zoopsterdoc.ubuntu.com is the wiki for the Documentation Team - the official guides are at help.ubuntu.com17:55
simplexioanyone experienced with nfs? i have problems with stability17:55
plunScottK :  OK !   Thanks !17:56
simplexiohttp://paste-bin.com/view/5dcf9274 , is that "normal" that nfs soft locks17:56
ScottKplun: There is also #ubuntu-marketing where (I think) they are prepared do deal with such questions.  This is more of a developer/user channel.17:57
simplexioor do i use some exotic argument on server wich is know to cause some problems17:57
* ScottK points nijaba at the above discussion about the server guide to see if he has any better ideas.17:57
plunScottK...well  I rather be "down"  where users knows about software....  not marketing  ;)17:59
plunAnd I dont like amateurs and badly written articles and bad comments from a "mob".....17:59
plunI also gave this journalist a URL to DXter which is a server member...17:59
ScottKOK, I'm just not that experienced in dealing with Journalists, that's all.18:00
plunScottK: This one was also a software tester for a magazine so a guide is perfect for such a person  ;)18:02
plunI can also give him URLs to Howtoforge...18:02
plunNot a big deal and now he can use the Draft  ;)18:02
ScottKplun: I'd also encourage people who find problems with the guide to file bugs against ubuntu-doc so it can be improved.18:03
plunScottK:  yup a guide must be used and kept alive....18:08
plunThere are also so much old stuff floating around so this one is important for server operation, The Ubuntu way.18:08
ITSBTHIs there anyway to configure ethernet (via DHCP) using only a keyboard?18:11
ITSBTHi.e. no screen18:12
simplexiohas anyone idea what network file system i could use, nfs works, but keeps failing18:14
dnperforsyou could try samba or sshfs (which is not a real network-fs, but it could be usefull sometimes)18:20
zoopsterITSBTH: not sure what you mean - you can access it via ssh and want to edit the config to change it to a static from dhcp?18:22
ITSBTHNo, it does not connect to the network at the moment18:23
=== maxb_ is now known as maxb
deadbatterythis is weired19:45
deadbatteryi start apache2 up19:45
deadbatteryand then19:45
deadbatteryit starts to decrease in performance19:46
deadbatteryanyone know why19:46
deadbattery?19:46
middrekshello, what would be the best solution for a rather small network (onyl 12 clients; vista and xp mixed) to manage the users time they have been logged in so far? i tried chillispot yesterday, because most of them use the pcs for hanging on the web, but i failed installing it.19:55
crazygirhow do you rest ethX mapping for nics in udev?20:12
maxbs/rest/reset/?20:12
crazygiryes :P20:13
maxb /etc/udev/rules.d/70-persistent-net.rules20:13
* crazygir looks20:13
=== tew is now known as tewmten
crazygirthanks :)20:16
tonyyarussoOOOO, that is good to know.  My laptop seems to swap them randomly every time I reinstall.20:19
pmatulisanyone know of any ubuntu-friendly virtual domain mail hosting software (a la cpanel)?20:30
crazygirgiven that ubuntu is based on debian, are most debian resources/information applicable?21:04
pmatulissure21:05
crazygircool :)21:09
crazygirapologies for the noob questions, but I'm from the BSD world, and had really only used gentoo in my linux days21:09
=== erichammond1 is now known as erichammond
=== erichammond1 is now known as erichammond
=== erichammond1 is now known as erichammond
SmokeyDhey people. I remember reading somewhere there is a problem running apparmor in hardy server running as a xen guest system21:24
SmokeyDdo I remember correctly?21:24
danopiahi!21:36
danopiamy server's apt uses hardy, shold i try "upgrading" to intrepid?21:37
crazygiris setting up vmware in ubuntu-server any different from other linux distros?21:42
uvirtbotNew bug: #315241 in libnss-ldap (universe) "Mangles MAC in ethers lookup" [Undecided,New] https://launchpad.net/bugs/31524121:42
andoldanopia: Are there any feautures in intrepid which you are missing in hardy?21:43
danopiaandol, well, apt is failing :P21:43
danopiaand i was told that intrepid might help21:43
danopianot sure though21:43
andoldanopia: I think it ough to be possible to have a working apt in Hardy as well :)21:44
andoldanopia: What is wrong with your apt?21:44
danopiaandol,21:44
danopiahttp://danopia.pastebin.com/mc0df40e21:44
danopiayay clipboard lag21:44
andolcrazygir: It should basically be the same, but some details might difer.21:44
andolcrazygir: This page might help https://help.ubuntu.com/community/VMware/Server21:45
* crazygir nods21:47
andoldanopia: Had this trouble myself a few time. It usualy help by trying to manually install the complaing package. That one might inturn complain on another package, etc. If you follow that chain to its end it will usually work then.21:48
andoldanopia: an extra apt-get update might not hurt :)21:48
danopiaandol, i've updated like 4 times so far though :P21:48
andoldanopia: Ok, then you'r probably set on that part :)21:49
kansananyone here use runit?21:50
kansani'm having trouble figuring out http://smarden.org/runit/useinit.html ...21:51
kansani want to edit the crontab file for the root user..... is there a way i can just place/replace a file on the system that cron uses?  (im scripting stuff and would prefer not to have to do: crontab -e)22:05
rdw200169kansan, well, there are the cron.* directories22:25
rdw200169kansan, for example, if you put a file in /etc/cron.d/ that conforms to the crontab type entry, cron will track it22:26
rdw200169kansan, various packages do this, like anacron, john, php5, and postgresql-common on my system22:27
rdw200169kansan, you've probably got anacron, so you should check the format of their file, and adjust accordingly, i.e. /etc/cron.d/anacron22:27
kansani wad thinking of clobbering /etc/crontab22:28
kansanwas thinking of22:28
kansanto add new commands22:28
rdw200169kansan, personally, would consider it easier to just chmod files in /etc/cron.d/, but that's just me ;)22:29
kansanhow do i make vim the default editor for cron22:30
hadsexport VISUAL=vim22:30
rdw200169kansan, chances are you should be able to change that in /etc/alternatives also22:31
rdw200169kansan, the /usr/bin/editor is a symlinked to the editor of choice22:31
axisyswhere can I find the dapper for sparc64?22:32
axisysdont see it in ports.ubuntu.com22:32
axisyshttp://ports.ubuntu.com/dists/dapper/main/ not here22:32
axisyshttp://ports.ubuntu.com/dists/dapper-updates/main/ not here either22:32
axisysor sparc even..22:33
axisysfound one for hardy22:33
axisyshttp://ports.ubuntu.com/dists/hardy-updates/main/installer-sparc/current/images/sparc64/netboot/2.6/22:33
axisysi am going to try that again.. i think it was failing to find a archive during install22:34
rdw200169kansan, for example, when i run 'update-alternatives --config editor'22:38
kansanah ha22:38
rdw200169kansan, and switch it to /bin/nano, crontab -e opens in nano instead of vim22:38
kansanswitch it to VIM ! ;p22:38
rdw200169kansan, and likewise for /usr/bin/vim etc...22:38
rdw200169kansan, i tested it, and it works for me, so it should work for you too.  it's the easiest way to swap editors22:39
kansanE: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?22:40
MianoSMif you want to change the default editor add this to your .bashrc:22:40
kansanhow do ir ecover?22:40
MianoSMexport EDITOR=vim22:40
kansanah good22:40
MianoSMNow your crontab -e will be defaulted to vim, you may have to logout/log back in, but that will work for you kansan22:40
kansanyes i already have a .bashrc22:41
kansan'so i'll it there22:41
MianoSMwell the export most likely won't be there, but you can add it to the ~/.bashrc22:41
rdw200169why do an export, when the whole purpose of /etc/alternatives is to alleviate that problem?22:42
kansanis there a way i can configure mysql server from the command line?  i am scripting its installation so i cant be there to use dpkg ui22:43
MianoSMrdw200169: /etc/alternatives is distribution specific.22:43
MianoSMI am showing a way to do it in more distributions, just in case.22:43
rdw200169MianoSM, and this is a distribution specific channel ;)22:44
MianoSMrdw200169: It is for sure, but I always try to have an open mind. That is what led most of us here in the first place. ;)22:44
MianoSMI'm not a fan of going to open source conventions and hearing people bash off the shelf products or M$ either though, I am of the paradigm that there is a correct tool for every and any situation(s). :)22:45
Davedancan I run a script whenever the package manager (apt-get install) installes or update a package?22:48
gorkof44is anyonE HERE?22:56
erichammond!ask22:59
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. :-)22:59
Davedanwhat is the root mail and how do I get the messages sent to it?23:00
axisyslooks like gutsy gibbon (7.10) detects the disks on t1000 and any ubuntu version above that fails23:05
axisysi picked LVM23:08
axisysnow  LV tmp as ext3 is recommended .. can I choose that as swap instead23:08
axisys?23:08
axisysor leave it as it is?23:09
axisyswill ubuntu can take advantage of 8 core t1000 ?23:17
axisysi know solaris folks would say no23:17
domasaxisys: how do you define "take advantage"23:22
domasaxisys: it is just plenty of threads23:22
domasyou need application level parallelism23:22
domasetc23:22
goukiHi everyone. I'm hosting a website that requires me to generate several locales for Apache to properly display the .mo files. Instead of generating all of them manually (locale-gen X) is there something I can do to generate all?23:26
domasfor i in *; do locale-gen $i; done23:26
domas:)23:26
goukidomas, well, that's good :)23:27
hadsEDITOR or VISUAL will work23:27
andolgouki: /var/lib/locales/supported.d/23:27
goukiandol, how can that prevent me from generating them manually? Sorry, I don't follow.23:29
hadsrdw200169: One reason to use the VISUAL variable over /etc/alternatives (or vice versa) is if it's wanted on a user by user basis.23:31
Gorlistjust reimaged my server to 8.04 LTS, (and installed Plesk) but just noticed my partion size for the var directory is too small. only 4.3 gig...   I need to resize it (take some away from home), how would you recommend doing this - gparted??23:31
Gorlistand its got to be done via ssh23:31
rdw200169hads, fine.  you win.  i was thinking of that.23:31
rdw200169Gorlist, are you collocated w/the server?  i.e., are you running headless?23:32
hadsrdw200169: I don't want to win :) There's valid reasons for using both23:32
Gorlistrdw200169, how do you mean? (headless?)23:32
Gorlistoh no23:32
rdw200169Gorlist, headless means no monitor/keyboard23:32
Gorlistsorry23:32
Gorlistits sitting 1000 mile saway23:32
Gorlistaway23:32
rdw200169Gorlist, oh!  well, i'm not sure how your system is set up... but in order to change the partition sizes you must unmount them first... thereby killing the server...23:33
Gorlistoh.23:33
Gorlisterm23:34
rdw200169Gorlist, now, you could do some roundabout crazy stuff, like create a /var partition on a separate drive, switch it over in /etc/fstab, and so on...23:34
andolgouki: only partly I guess :) By listing your locales in files inside that folder they will all be generaed wih the command "locale-gen", without any paramaters. A benifit of having them in that folder is whenever an upgrades feels the need to regenerate your locales, all those in that folder will autmaticly be generated.23:34
Gorlistthats not terribly good as I have no access, and the image is predefined. Home directory ive got 64 gigs worth which I certainly don't need23:34
rdw200169Gorlist, well, you do have another option.23:35
hadsbind mounts or symlinks or some other ugly solution23:35
rdw200169Gorlist, you *could* perform a symlink of /var to a directory inside of /home23:35
rdw200169hads, Gorlist yes, a very dirty solution23:35
rdw200169hads, but it *would* get you a lot more room to work with23:35
hadsYah23:35
rdw200169hads, the best way to do this would be to use something other than /var, like /opt or /home for /var/www for example23:36
Gorlistrdw200169, hmm,23:36
goukiandol, got it! That is indeed a good policy. Generating them all, as domas said, will also get them listed there. Correct?23:36
hadsYou can probably move it around enough to reboot without /var mounted and then resize.23:36
rdw200169Gorlist, sorry, the message i gave hads i meant for you23:36
Gorlistrdw200169, problem with plesk is it it stores all of the domains, and what not in var23:36
rdw200169Gorlist, well, you *can* trick plesk23:37
rdw200169Gorlist, using symlinks, etc...23:37
Gorlistrdw200169, what about security?23:37
rdw200169Gorlist, that doesn't matter.  just make sure your links have the correct permissions23:37
Gorlistrdw200169, I will have to readup on it, ive never done it before - thanks for the suggestion23:37
rdw200169Gorlist, the bigger problem is with filling up the disk(s).  /var/ is generally meant for directories/files that tend to fill up23:38
rdw200169Gorlist, but you can make that much more manageable by using something like monit to alert you when the disk, partition, whatever starts to fill up23:38
Gorlisthttp://pastebin.com/m6a80439c23:38
Gorlistthats the partion layout23:38
Gorlistunless ive missed something23:39
goukiAnd domas, BTW, locale-gen with a wildcard doesn't work.23:39
rdw200169Gorlist, hmm.. interesting that you're stuck with so much in /home!23:40
Gorlistyes considering the image is supplied by a webhosting firm.. crazy23:40
rdw200169Gorlist, your situation is why they have LVM: http://en.wikipedia.org/wiki/Logical_Volume_Manager_(Linux)23:41
rdw200169Gorlist, but it's a little late to change now, i think ;)23:41
Gorlist :) well im going to have todo something soon as its a fairly large community site23:42
Gorlistive got Raid 123:42
rdw200169Gorlist, well, there's this:23:43
rdw200169Gorlist, https://help.ubuntu.com/community/Installation/RAID1%2BLVM23:44
Gorlistrdw200169, will have to read through, I might first see if I can restore the data with the space I have to give some breathing23:45
rdw200169Gorlist, you could, also, set up plesk such that it has it's own home folder for all its /var/ stuff23:46
rdw200169Gorlist, then symlink, for example, /home/plesk to /var/plesk23:46
Gorlistagain I wouldn't know where to begin im afraid - I could only pre-read so much23:46
rdw200169Gorlist, well, do you know what directory plesk keeps all its stuff in?23:47
Gorlistthis is their article: http://kb.parallels.com/article_17_819_en.html23:47
Gorlistbut a small section is plesk itself is installed to /opt/psa23:48
rdw200169Gorlist, ah, this thing does it all i see23:48
Gorlistyes,23:49
Gorlistat the moment its really easy to do a fresh install23:50
Gorlistas the data is backed up on a secured ftp23:51
goukiBTW, found a list on /usr/share/i18n/SUPPORTED. I'll just cat that into supported.d/local and dpkg-reconfigure locales.23:55

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