/srv/irclogs.ubuntu.com/2008/09/17/#ubuntu-server.txt

joebob777as7where would I go to talk about beowulf clusters or any linux cluster information?00:35
RoAkSoAxjoebob777as7, maybe the best place to talk about clustering would be in mailing lists :)00:40
RoAkSoAxjoebob777as7, what do you need to know?00:40
joebob777as7wondering how well vmware esxi or esx server would work on a clustered linux box :) couldn't find anything online00:42
RoAkSoAxjoebob777as7, so you want to create multiple VM's and create a cluster based on those VM's or something like that?? Otherwise.. you'll just have to try it and test it :)00:44
joebob777as7RoAkSoAx, no I want to build a hardware cluster for more processing power and then install esx on the cluster to have vm's as a way to build a 8 or 16 core server without paying for the server hardware00:45
RoAkSoAxjoebob777as7, well i guess it will work since esx suits for that... you just need to give it a try ;)00:46
joebob777as7yeah I just didn't want to buy the hardware to find out it didn't work :)00:46
uvirtbot`New bug: #271115 in samba (main) "Automatic upgrade in Ubuntu Hardy breaks Samba - 9-13-08" [Undecided,New] https://launchpad.net/bugs/27111501:02
owhI'm seeing a "426 upgrade required" for cups on a gutsy server. I found bug 44931, which says that it's fixed. I can see the directory and the symlinks that are described here: https://bugs.launchpad.net/ubuntu/+source/cupsys/+bug/44931/comments/14, but the cupsys user does not exist. I'm confused why this is the case. Suggestions?02:07
uvirtbot`Launchpad bug 44931 in cupsys "CUPS tries to auto-generate SSL key, fails" [Medium,Fix released]02:07
uvirtbot`Launchpad bug 44931 in cupsys "CUPS tries to auto-generate SSL key, fails" [Medium,Fix released] https://launchpad.net/bugs/4493102:07
owhI also note that the /etc/cups/ssl has these permissions: drwx------ 2 root lp 4096 2008-03-29 09:36 /etc/cups/ssl02:09
uvirtbot`Launchpad bug 4096 in meld "meld: merge new debian version" [Medium,Fix released] https://launchpad.net/bugs/409602:09
owhHmm, the 'bot thinks that I gave it a bug number to munch on :)02:10
owhI can change ownership permissions, update the cupsys.conf file, add a user, none of which seems an obviously "correct" fix.02:13
owhI've now compared this to another gutsy install, which shows that the cupsys exists there, but the second-working-gutsy is an upgrade from edgy-feisty-gutsy, where the non-working server was a fresh install. I'm still no closer to any idea why I'm seeing this, or how best to fix it.02:31
owhs/that the cupsys/that the cupsys user/02:32
nullackHi server people :)03:08
nullackI wrote a how to about getting a upnp server together for the xbox 360 sharing media03:09
nullackIts at http://ubuntuforums.org/showthread.php?t=84814403:09
nullackHowever, users on the server edition of Ubuntu cant compile it03:09
nullackAnd I dont know why, they meet the dependencies03:09
nullackWe tried reinstalling a dependant lib but that didnt work03:11
owhnullack: Any reason you're not just installing gmediaserver ?03:28
nullackowh - please gimme a few mins to answer your Q properly03:29
owhSure03:29
nullackowh - MS implemented a non standard upnp for the 36003:31
nullackowh: gmediaserver does not use the special 360 mode03:31
nullackowh: also the amount of dev activity on gmediaserver doesnt seem as high as others03:32
owhnullack: Is there a bug report indicating that gmediaserver isn't operating wtih the 360?03:36
nullackowh: Yes there is numerous entries on xbox 360 failures for gmediaserver03:38
owhI'm asking because the packaged upnp server is gmediaserver. If it's broken people need to know. If it no longer provides required functionality and isn't being developed then a different upnp server needs to be found. None of this helps you compile your upnp server under u-server, but I'm getting to that :)03:38
nullackowh : The ushare server is packaged in Ubuntu03:38
owhnullack: So, there are bug reports in launchpad that describe this problem?03:39
nullackowh : But that revision is highly broken03:39
owhnullack: So, is there a bug report about that?03:39
nullackowh : to be clear, the gmediaserver problems with the 360 are reported yes03:40
owhThe challenge I have is while I want to help you fix your specific problem, right now, it doesn't fix anything long-term, so I'm loathe to do anything until I've figured out if the real - long-term problem is addressed before spending energy helping you compile a package from source. I'm not trying to piss you off, but I could stay here all...03:40
owh..day and help fix little problems one at a time, rather than make Ubuntu better, which is what I care about.03:41
nullackowh : I understand fully and I support your principles fully03:41
owhCool03:41
nullackowh : Ive been down this road03:41
owhSo, my second question was, is there a bug report about ushare?03:42
nullackowh : I cant submit a please update ushare right now due to ushare not having a new release03:42
owhAh03:42
nullackowh : upstream are slow03:42
nullackowh : I cant even compile the SVN of upstream03:42
owhSo, if you were to download the ushare source from ubuntu, that is apt-get src, can you compile that?03:42
nullackowh : the ushare revision in Ubuntu is broken03:43
nullackowh L there is patches, which I use03:43
owhnullack: If the upstream SVN isn't compilable, then there are some major issues with their development process IMHO.03:43
nullackowh : totally :)03:43
owhRight, so, the reason I'm asking about the source package within Ubuntu, is that it has most likely got a bunch of build-depends, so it can be compiled.03:44
nullackowh : Yes it can be, but the thing is, that revision is broken03:44
owhI'm getting to the bit where you install those, then compile to prove that it works, then patch it, then have success.03:44
owhSo, lemmie get this straight. You can compile the ushare source from ubuntu, on ubuntu-server, regardless of the actual application being broken?03:45
nullackI dont have Ubuntu server, I dont know about compiling on Ubuntu server03:45
hadsIt's all the same packages03:45
owhnullack: There is very little difference where you'd notice.03:45
owhYup03:45
nullackhads : I know, and when we query apt-cache it says the dependencies are met03:46
nullackEven reinstalling the dependent lib doesnt work03:46
owhnullack: Step back a moment. You told us that you cannot compile. What causes you to say that?03:46
nullackowh : its here http://ubuntuforums.org/showthread.php?t=848144&page=403:47
nullackowh : It does compile on Hardy and Intrepid desktops03:47
owhRight, first of all, none of those comments show how they actually installed the source and it doesn't look like they did so properly. Gimmie a mo...03:49
nullackowh : thanks03:49
hads`apt-get -s build-dep ushare` whill show you the dependancies03:49
hadsI haven't read that thread to see if you've done that or not.03:50
owhThat was what I was looking for hads, thanks.03:50
hadsThe -s is a dry run BTW03:50
* owh nods03:50
nullackThe following NEW packages will be installed:03:50
nullack  autoconf automake1.7 autotools-dev cdbs fdupes intltool libavcodec-dev03:50
nullack  libavformat-dev libavutil-dev libdc1394-22-dev libdlna-dev libdlna003:50
nullack  libgsm1-dev libraw1394-dev m403:50
nullack0 upgraded, 15 newly installed, 0 to remove and 0 not upgraded.03:50
nullackInst m4 (1.4.11-1 Ubuntu:8.10/intrepid)03:50
nullackInst autoconf (2.61-7ubuntu1 Ubuntu:8.10/intrepid)03:50
nullackInst autotools-dev (20080123.1 Ubuntu:8.10/intrepid)03:50
nullackInst automake1.7 (1.7.9-9 Ubuntu:8.10/intrepid)03:50
nullackInst fdupes (1.50-PR2-1 Ubuntu:8.10/intrepid)03:50
nullackInst intltool (0.40.1-1 Ubuntu:8.10/intrepid)03:51
nullackInst cdbs (0.4.52ubuntu7 Ubuntu:8.10/intrepid)03:51
nullackInst libavutil-dev (3:0.svn20080206-12ubuntu1 Ubuntu:8.10/intrepid)03:51
owh;-(03:51
nullackInst libgsm1-dev (1.0.12-1 Ubuntu:8.10/intrepid)03:51
nullackInst libraw1394-dev (1.3.0-4 Ubuntu:8.10/intrepid)03:51
nullackInst libdc1394-22-dev (2.0.2-1 Ubuntu:8.10/intrepid)03:51
nullackInst libavcodec-dev (3:0.svn20080206-12ubuntu1 Ubuntu:8.10/intrepid)03:51
nullackInst libavformat-dev (3:0.svn20080206-12ubuntu1 Ubuntu:8.10/intrepid)03:51
nullackInst libdlna0 (0.2.3-0ubuntu2 Ubuntu:8.10/intrepid)03:51
nullackInst libdlna-dev (0.2.3-0ubuntu2 Ubuntu:8.10/intrepid)03:51
nullackConf m4 (1.4.11-1 Ubuntu:8.10/intrepid)03:51
nullackConf autoconf (2.61-7ubuntu1 Ubuntu:8.10/intrepid)03:51
nullackConf autotools-dev (20080123.1 Ubuntu:8.10/intrepid)03:51
nullackConf automake1.7 (1.7.9-9 Ubuntu:8.10/intrepid)03:51
nullackConf fdupes (1.50-PR2-1 Ubuntu:8.10/intrepid)03:51
nullackConf intltool (0.40.1-1 Ubuntu:8.10/intrepid)03:51
nullackConf cdbs (0.4.52ubuntu7 Ubuntu:8.10/intrepid)03:51
hadsOh dear03:51
nullackConf libavutil-dev (3:0.svn20080206-12ubuntu1 Ubuntu:8.10/intrepid)03:51
nullackConf libgsm1-dev (1.0.12-1 Ubuntu:8.10/intrepid)03:51
nullackConf libraw1394-dev (1.3.0-4 Ubuntu:8.10/intrepid)03:51
nullackConf libdc1394-22-dev (2.0.2-1 Ubuntu:8.10/intrepid)03:51
nullackConf libavcodec-dev (3:0.svn20080206-12ubuntu1 Ubuntu:8.10/intrepid)03:51
nullackConf libavformat-dev (3:0.svn20080206-12ubuntu1 Ubuntu:8.10/intrepid)03:51
nullackConf libdlna0 (0.2.3-0ubuntu2 Ubuntu:8.10/intrepid)03:51
nullackConf libdlna-dev (0.2.3-0ubuntu2 Ubuntu:8.10/intrepid)03:51
owhhads: This just proves our point :)03:51
nullackIm confused, sorry03:52
hadsFirstly, please don't do that again :)03:52
hads!pastebin03:52
ubottupastebin is a service to post multiple-lined texts so you don't flood the channel. The Ubuntu pastebin is at http://paste.ubuntu.com (make sure you give us the URL for your paste - see also the channel topic)03:52
nullackOk, why?03:52
nullackOh, ok, sorry03:52
owhnullack: The list that you just pasted is the list of things that are needed to build this application properly.03:52
nullackRight, dependencies03:53
owhSo, your howto is broken :)03:53
nullackFor server?03:53
hadsIn general, it's probably just the case that those dependancies are pulled in already on the desktop03:53
owhnullack: Well, no, for the actual build of ushare.03:53
owhIndeed.03:53
nullackHow do I determine what packages are not installed for the server build?03:54
nullackby default :)03:54
owhnullack: apt already worries about it, you should not.03:54
owhnullack: You should install the build-deps for ushare, then proceed from there.03:54
hadsSo you need to add that to your howto. `apt-get build-dep ushare`03:54
owhnullack: The maintainer for ushare has already done this work for you :)03:54
nullackI know apt-get wont install packages allready existing so I guess theres no harm in putting them all there03:55
owhnullack: Yes there is harm.03:55
nullackHow so?03:55
owhnullack: In a future universe, your howto will be incorrect, but apt-get build-dep won't be.03:55
nullackRight, smart03:56
nullackI get it03:56
owhnullack: If it all of a sudden depends on shark-fins, your howto will need to be maintained, but the build-dependencies will already be up to date.03:56
nullackThanks very much03:56
owhPleasure.03:56
nullackOne thing though, why did it complain about a missing package that isnt actually missing? i.e. its missing something else03:57
nullackA program error?03:57
owhnullack: Because the ./configure command is trying to make do with what it has. It's not that smart. It can only test for things it knows about.03:57
nullackRight03:57
owhnullack: Autoconf and automake are smarter, but they were missing :)03:58
nullackowh : I promise as soon as Ushare gets a new release I will contribute to the Ubuntu long term future by following it being upgraded03:58
nullackThanks to all who helped, legends :)03:58
owhSo, use the build-dep and your world will be happier :)03:58
nullackYes :)03:58
hadsGood on you nullack :)03:58
owhnullack: You are already doing it by asking questions, learning and writing howto's.03:59
mylogicrubble rubble05:28
didymus7777Real quick question, when setting up a raid 1 system, does the drives the you want to "raid" need to unmounted?06:06
owhdidymus7777: Uhm, well, given that you're going to format it, yes.06:12
owhdidymus7777: I don't know how you would create a raid device without formatting, but I might be wrong.06:12
didymus7777OK that helps, kinda, my problem is though Its a clean format06:13
didymus7777and I thought I set it up right.06:13
owhdidymus7777: How did you set it up?06:13
didymus7777well I have to hard drives drive a  / and swap.  Drive be same size but linux raid for first partion and linux raid same size for swap06:14
didymus7777But I have a hunch that when I set up the first drive I did it wrong06:15
owhdidymus7777: Did you do this from a command-line, from an installer, using magnets -- how did you set up raid?06:16
uvirtbot`New bug: #271184 in openssh (main) "ssh client not using correct identity key" [Undecided,New] https://launchpad.net/bugs/27118406:16
didymus7777Actally I used webmin,06:17
owhAaargh.06:17
didymus7777All I need is you to tell me to start over and I will :)06:17
didymus7777No problem.06:17
didymus7777I can and do use the command line06:17
owhdidymus7777: Well, before you do any of that...06:17
didymus7777Idea!!  cool like thouse06:18
owhdidymus7777: I don't know how you'd use webmin on a running system, so there must be something you're not telling us.06:18
owhAt the moment using webmin to do this sounds like you used magnets :)06:19
didymus7777Well, the one thing that I didnt tell you is Yes I am new to this raid thing, and I would have to say yes I am using magnets ... I think.  I do aplogise for my ignorance06:20
didymus7777The system IS running already, with a os on it "ubuntu server" and I thought I could just set up raid with that.06:21
owhdidymus7777: When I say "magnets", I mean "some magic process that you're not telling us about" - and webmin qualifies :)06:21
didymus7777I ran the install disk for the server06:21
didymus7777OH well then yes06:21
owhdidymus7777: Is there any actual data on the server?06:21
didymus7777other then the install no, and yes I am willing to start over agian.06:22
didymus7777Do I need sometype of hard ware to make sure this raid works?06:22
didymus7777or can it be all software06:22
owhdidymus7777: Well, I've just been reading a SuSE instruction set here which seems to indicate that you can do this on a running machine. For my money I'd let the installer do it, but since you already installed, have a look at it: http://linux.derkeiler.com/Mailing-Lists/SuSE/2003-11/3029.html06:23
owhdidymus7777: As for software raid vs. hardware raid, it depends on the load.06:23
didymus7777I am going to guess that hardware is better06:23
owhdidymus7777: Some swear by hardware raid and never touch software raid, others don't have the hardware and make do.06:24
didymus7777thats me06:24
didymus7777I just wanted to make sure I could be done06:24
owhdidymus7777: Well, better is often a matter of requirements, horses for courses if you like.06:24
owhdidymus7777: Personally, the commands on the URL I showed you give me the willies and I would not use them. I cannot think of a good reason to bypass the installer to achieve this.06:25
owhdidymus7777: I'm sure that if you ask often enough, you'd find others that both agree and disagree with me.06:25
didymus7777owh: OH that makes sence06:28
didymus7777If I was to do this on the install how would you go about doing that. Ubuntu server comes not with the mdadm software and that's all I was seeing as far as setting this up.  If I set the partions up for raid it will not auto do it will it?06:28
owhdidymus7777: http://doc.ubuntu.com/ubuntu/serverguide/C/advanced-installation.html06:29
didymus7777thank you thats what I wanted right there.  you have been a huge help06:30
owhPleasure.06:30
didymus7777I will fallow this and get it done.  again thank you06:30
=== freaky[t] is now known as fReAkY[t]
=== fReAkY[t] is now known as freaky[t]
uvirtbot`New bug: #271254 in drbd8 (universe) "drbd doesn't start: "No response from the DRBD driver! Is the module loaded?" but module is loaded" [Undecided,New] https://launchpad.net/bugs/27125409:01
krautmoin09:12
Popzhey10:23
Popzi've just installed ubuntu server 8.0410:23
Popzand 'w' is not showing any users as being connected10:24
Popzwhen i'm connected from ssh10:24
Popzi have an identical setup on another box and it shows the users that are logged in10:24
=== PanzerMKZ_ is now known as PanzerMKZ
Popzanyone know how to setup remote desktop from windows xp to ubuntu server 8.04?10:51
didrocksPopz: not really. You can use VLC which is enabled by default11:01
didrockss/VLC/VNC11:01
didrockssorry :)11:01
didrocks(but ubuntu server has no x server by default BTW)11:02
didrocksno like windows server one11:02
didrocksso, you have to setup one if you really want to have a "graphical" access to your server11:03
hadsGraphics are overrated.11:04
didrockshads: +111:04
didrocksit just adds an non-value and guide you into bugs you really don't want to deal with for a server.11:05
Popzit'd be quite useful for some of the gameserver control apps i run11:15
Popzthe server has about 16GB ram11:15
Popzso the graphics overhead is no problem :P11:15
Popz8GB physical, 8GB virtual11:15
hadsSo, 811:19
Kamping_Kaiserhads, well said11:23
Kamping_KaiserPopz, so what are you actually trying to do? turn a server intoa  desktop, or ssh into the box?11:24
Popzi need a visual environment for some applications, most of the time i'll be using ssh11:35
elnewbPopz Do this:11:37
elnewb*gimme a min while i type all the commands out11:38
Popzsure... :p11:38
elnewbsudo aptitude install xorg11:38
elnewbsudo apt-get install ubuntu-desktop11:38
elnewbstartx11:38
elnewbsudo apt-get install gdm11:38
elnewbsudo /etc/init.d/gdm start11:38
hadsEw11:38
Popzi'd rather not install ubuntu-dekstop11:38
elnewbthen try gnome-core11:38
Popzhow can i view that remotely?11:39
elnewbOnce you have gnome-core installed11:39
elnewbsudo apt-get install vino11:40
elnewbThen get a VNC client on whatever PC you use as your desktop machine11:40
Popzok thanks11:40
Popzi'll try it out11:40
_rubenremote x ftw12:22
elnewbPopz:  Any luck?12:34
remote_ruben: ?12:43
ghalebhello, do anybody know how can I show the owner user in for each file in svn ?12:46
_rubenremote: wasnt talking to you ;) .. "remote x" ftw :p13:04
remoteoh13:34
frithI am looking for an imap server that does not require the user to have a local user account, accounts would come from ldap14:26
henkjan!imap14:27
ubottuIMAP and POP are protocols for fetching email. The officially-supported server in Ubuntu is Dovecot (packages "dovecot-imapd" for IMAP, and "dovecot-pop3d" for POP) - See also !MailServer for information on the SMTP protocol14:27
henkjandovecot does support ldap14:28
frithhmm cyrus could well be the way to go14:34
ScottK-laptopHowever dovecot is the one we primarily document and support in Ubuntu.14:37
frithnot worth it if you can auth from ldap14:37
ScottK-laptopIt all depends on how much help you want from Ubuntu docs and such.14:38
frithi just don't want to sent ages setting up something that i can't manage from a directory server14:39
frithoh seems like you can auth from ldap after all14:39
frithI would love to stick all my config into an ldap server14:40
=== dantaliz1ng is now known as dantalizing
=== chuck__ is now known as zul
Koonkirkland: about service --status-all, there are two ways imho of making the output (more) useful16:25
Koon1/ get rid of everything that doesn't have a status16:25
Koon2/ try to uniformize the output rather than letting all status actions echo their own thing16:26
Koonone way of doing it is to call only scripts that have a status action, and just checking the return code, displaying all results in a table16:26
kirklandKoon: right...  ideally, we'd have much better policies in Debian/Ubuntu as to status reporting16:26
kirklandKoon: and these problems would go away16:26
kirklandKoon: but I agree, that --status-all gives us 1 place to solve that16:27
Koonyou'd still need a way of telling which /etc/init.d/script should have a status16:27
kirklandKoon: grep "status)" usually gets it16:27
PizarroHello to everybody16:28
kirklandKoon: they're almost *always* handled by a case statement16:28
KoonDoing it in --status-all supposes an ideal world where all daemons have a status action that returns proper codes16:28
Koonwe might need to have a way of marking conformant scripts16:28
PizarroI installed poptop to my Ubuntu Server and everyhing is going ok, peoplle is able to coonnect remotly with VPN to our network, however we noticed that whenever sombody connects from outside, the people at internat networs side can't access our server, Can anyone help me please'16:29
kirklandKoon: i'm not sure i like the idea of a static list ....  would be better to be more dynamic than that16:29
Koona specific comment in the initscript16:30
RediXerunning ./file.bin ... just returns me to a new line. It's supposed to start a setup wizard I believe ... trying to install KnowledgeTree16:30
Koonkirkland: or even a specific action that would just point to status)16:30
kirklandKoon: if we're going to touch a bunch of init scripts, i would just as soon fix them and get their status actions working properly16:30
PizarroNow sombody is connected with VPN to our server, but I can't get ping now from the server16:30
kirklandKoon: before running the invoke-rc.d, i suggest we grep for "status)"16:31
KoonPizarro: looks like a network conflict16:31
RediXeNevermind, I just ran it on my desktop and it started up a GUI... server has no gui :(16:31
Koonthen use the return code to return [Started] or [Stopped] ?16:32
kirklandKoon: and only run invoke-rc.d if a "status)" action is found16:32
nxvlKoon: --status-all will show the status of every daemon running on my machine or i get the wrong idea?16:32
kirklandnxvl: it will basically just run everything in /etc/init.d with the "status" action16:32
nxvlkirkland: so yes16:32
kirklandnxvl: unfortunately, not all Ubuntu init scripts have status actions16:32
Koonnxvl: which makes up a noisy useless output16:32
kirklandnxvl: and also, not all report status in the same way16:32
kirklandKoon: i suggest we add a "--uniform" option, or something16:33
Koonnxvl: lots of scripts in /etc/init.d are not about daemons, but rather one-time boot/stop actions16:33
kirklandKoon: and if that is passed with --status-all, then we simply look at the error code16:33
Koonkirkland: yes16:33
kirklandKoon: and print [OK] or [NOT OK]16:33
nxvlKoon: but the message saying that there is no status action goes to stdout? i think it goes to stderr, and if it is, it's easier to filter IMHO16:33
kirklandnxvl: depends greatly on each script16:34
nxvlKoon: well, yeah, but you understand what i meant :D16:34
nxvlkirkland: right16:34
kirklandnxvl: which are not required to follow a standard16:34
Koonkirkland: sounds good, the only drawback is that it's difficult to point out a misbehaving script that doesn't handle return codes properly16:35
kirklandKoon: which is why i suggest we leave --status-all as is, and add a compound parameter16:36
kirklandservice --status-all --uniform16:36
Koonkirkland: maybe have a check mode that displays both16:36
kirklandKoon: where we try to intelligently interpret/clean the results of --status-all16:36
Koon* atd is started      [NOT OK]16:36
kirklandinterpret/clean/filter16:37
Koonthat would be easy to spot problems16:37
kirklandKoon: i don't think we're going to get any of this into Intrepid16:39
kirklandKoon: at least i would find it highly unlikely16:39
Koonkirkland: oh no, it's more a general discussion -- in the meantime we should not advertise --status-all too much16:39
kirklandKoon: fair enough16:40
* Koon looks up an example16:40
KoonI seem to remember that rc-status --all in Gentoo had a pretty output16:42
Kooncan't find it, might need to reinstall to see ;)16:42
=== frith is now known as incorrect
kirklandKoon: i have a Fedora 9 KVM16:45
Koonkirkland: search for rc-update --all in http://tinyurl.com/4ybsv616:45
kirklandKoon: its status-all output is pretty ugly too16:45
kirklandKoon: nice16:45
kirklandKoon: one minute, i'll pastebin the Fedora output16:45
KoonI mean search for "rc-status --all" (no rc-update)16:47
* Koon should install a gentoo vm, the output was nicely right-aligned iirc16:47
kirklandKoon: http://pastebin.ubuntu.com/47798/16:48
kirklandKoon: that's from Fedora 916:48
Koonkirkland: ew.16:48
kirklandKoon: well, it's better than ours16:48
kirkland:-)16:48
Koonrc-update uses runlevels to determine what should be running -- that's one way of doing it16:48
Koonlooping through /etc/init.d catches all those manually-started ones16:49
Koonthat said, removed packages (not purged) usually leave their /etc/init.d/ script behind16:50
Kooncould that screw up our output ?16:50
Koonkirkland: ^^16:53
kirklandKoon: definitely16:54
* Koon is not a big fan of LSB putting init scripts in /etc16:54
Koonthey are not configuration files.16:55
kirklandKoon: it wasn't LSB that invented that one :-)16:56
kirklandKoon: that's as old as Unix itself16:56
Koonkirkland: but they mandate it, rigth16:56
kirklandKoon: yeah16:56
Koonkirkland: i seem to remember the rationale was that links in /etc/rc.d should not cross filesystems16:57
=== no0tic is now known as no0tic`ciao
PizarroDid anyone configured POPTP?????????? for VPN connections?16:57
=== no0tic`ciao is now known as no0tic
Pizarropoptop sorry16:57
Pizarrothe manual web site is down16:58
Pizarroand I just need to know how to grant VPN clientes to see each others not oblu the server16:58
Pizarroin OpenVPN this was just a command line16:58
nandersson_The number one MS Exchange replacement Zarafa is going 100% open source17:41
nandersson_http://www.zarafa.com17:41
nandersson_Bad news for Microsoft - good news for everyone else17:42
PizarroHi18:21
Pizarro I have set a VPN server, the clients can connect but they only can ping the server, PLEASE I NEED HELP, thanks18:22
tristanbob_anyone else having problems with Ubuntu 8.04 LTS locking VMware ESX 3.5?18:23
=== chuck__ is now known as zul
mathiazkirkland: do you think it would be possible to automate the testing of Boot-on-Raid option in -server ?18:45
kirklandmathiaz: yes, i think so19:06
kirklandmathiaz: i'd need some help with the preseed/kickstart file for the partitioning, etc.19:06
mathiazkirkland: right - could this be added to https://wiki.ubuntu.com/Testing/Cases/ServerInstall ?19:07
\shany heartbeat crack there? /me has a problem with using heartbeat and some bonded interfaces19:07
mathiazkirkland: I think I can sort out the automate part of it (preseed)19:07
mathiazkirkland: I'm more interested in the testing procedure.19:07
kirklandmathiaz: my KVM testing is pretty throughly described on the BootDegradedRaid wiki page19:08
kirklandmathiaz: but it boils down to "kvm -hda disk1.img -hdb disk2.img" for the installation19:08
kirklandmathiaz: and then the two test scenarios are "kvm -hda disk1.img" simulating loss of disk219:09
kirklandmathiaz: and "kvm -hdb disk2.img" simulating loss of disk119:09
mathiazkirkland: ok - I'll have a look at the wiki page and see if the testing instructions could be adapted to ServerInstall19:15
kirklandmathiaz: you'd probably want to add a script in the preseed to put something in /etc/rc.local, to signal that it's up19:15
kirklandmathiaz: wget http://10.0.2.2/AM_ALIVE :-)19:16
kirklandmathiaz: and monitor the apache error log or something19:16
mathiazkirkland: right - this use case is a bit more complicated that the other.19:16
kirklandmathiaz: other?19:18
kirklandmathiaz: other what?19:18
mathiazkirkland: there are other test cases listed on ServerInstall19:18
kirklandmathiaz: ah19:18
mathiazkirkland: eg mailserver, lamp, etc...19:18
kirklandmathiaz: well, it would be great to automate this19:18
mathiazkirkland: I'd like to add a test case for RaidBoot19:19
kirklandmathiaz: right, make sure that it boots from each disk19:19
mathiazkirkland: but the testing instruction will be different19:19
kirklandmathiaz: oh, there is one trick...19:19
kirklandmathiaz: let's say you boot degraded on disk1 alone19:19
kirklandmathiaz: actually, strike that19:19
kirklandmathiaz: what i was about to say is wrong ;-)19:20
* mathiaz forgets everything19:20
kirklandmathiaz: right, so the test should be to first boot with both disks attached, ensure that both are up and actively synced19:21
kirklandmathiaz: then boot from disk1, make sure it comes up19:21
kirklandmathiaz: then boot from disk2, same19:21
kirklandmathiaz: that's assuming you have BOOT_DEGRADED=yes19:21
kirklandmathiaz: which you'll define in the preseed19:21
mathiazkirkland: right - and what happens if you boot from disk1 only after booting from disk2 ?19:22
mathiazkirkland: actually it doesn't make sense to test.19:22
kirklandmathiaz: this is the complex scenario i was about to mention....19:22
kirklandmathiaz: so let's say you boot with just disk1 attached19:23
mathiazkirkland: rather make sure that you boot from disk2 if you boot with disk1 and disk2 the third time19:23
kirklandmathiaz: in the OS running on disk1, mdadm will mark disk2 as faulty19:23
kirklandmathiaz: so if you then reboot with both disk1 and disk2 attached, you will still be running degraded19:23
kirklandmathiaz: because the system doesn't know what went wrong, and doesn't trust disk219:23
kirklandmathiaz: at that point, if you know that disk2 is good, or perhaps brand new, you can add it back to the raid19:24
kirklandmathiaz: mdadm /dev/md0 --add /dev/sdb119:24
Vajimanis there anyone willing to help me privatly with an ubuntu 8.04 server instaall with samba?19:24
kirklandmathiaz: then you need to wait for the disks to re-sync19:24
kirklandmathiaz: which will take a while, i use `watch -n1 cat /proc/mdstat` to monitor19:24
Vajimanany help would be greatly appreciated19:24
kirklandmathiaz: basically, all of disk1 will get copied to disk219:24
mathiazkirkland: right - what about the following scenario:19:24
mathiazkirkland: Boot1. disk1 only - Boot2. disk2 only - Boot3 disk1 and disk2.19:25
mathiazkirkland: which disk should be used ? disk2 I'd guess19:25
kirklandmathiaz: yuck, that's a really gross scenario19:25
kirklandmathiaz: kvm will boot off of the first disk, -hda19:26
kirklandmathiaz: so its mbr will be read19:26
kirklandmathiaz: system will boot, but the data on those two disks have diverged19:26
kirklandmathiaz: so it's really in a bad, unclean, dirty scenario19:26
kirklandmathiaz: you'd want to force a rsync (if this were a real system)19:27
mathiazkirkland: right - but with BOOT_DEGRADED to yes what would happen ?19:27
kirklandmathiaz: i don't think that has any effect, if i'm understanding you correctly19:28
kirklandmathiaz: wait, i see what you mean19:28
mathiazkirkland: well disk1 and disk2 have diverged. BOOT_DEGRADED=yes means you want to boot no matter what - which disk is used ?19:29
kirklandmathiaz: the one that BIOS (or KVM's pseudo BIOS) says to boot off of19:29
kirklandmathiaz: -hda disk1.img will boot off of disk119:29
kirklandmathiaz: and the RAID will be degraded, running only on disk119:29
kirklandmathiaz: disk2 will just be a "Faulty" disk19:29
kirklandmathiaz: that you can re-add, if you're confident that it's good media19:30
mathiazkirkland: right - that's the boot part19:30
mathiazkirkland: I'm interested in the RAID part19:30
kirklandmathiaz: the re-add will trigger a complete resync19:30
mathiazkirkland: which disk will be used to create the degraded RAID array ?19:30
kirklandmathiaz: the first one19:30
mathiazkirkland: hm - why ?19:31
mathiazkirkland: disk2 has fresher data than disk1 (from the RAID info) ?19:31
kirklandmathiaz: because that's the one that BIOS/KVM said to boot off of19:31
PizarroHi,19:31
mathiazkirkland: rather than discussing this, I think I'll just test it19:32
kirklandmathiaz: even when both disks are in good shape, the MBR from the first disk is run19:32
kirklandmathiaz: me too :-)19:32
mathiazkirkland: isn't booting and assembling the RAID array two orthogonal tasks ?19:32
kirklandmathiaz: i have a few19:32
PizarroCan anyone help me with a VPN server I mounted in Ubuntu Server that is working but doesn't allow VPN clients to see my network ??? PLease, I am really deseperated19:32
Vajimanis there anyone willing to help me privatly install a gui for samba?19:32
Vajimanplease?19:32
kirklandPizarro: Vajiman: you may try #ubuntu, if you don't get anything here19:33
Pizarrokirkland, #ubuntu told me the same about #ubuntu-server19:33
Vajimanive been trying in there also, thank for the suggestion though19:33
kirklandsorry, guys, this is one big volunteer effort19:34
kirklandVajiman: what gui do you want to use for Samba19:34
Pizarrokirkland, I know and I appreciate it19:34
kirklandPizarro: looks to me like you may have routing issues19:34
mathiazPizarro: are you pushing the correct routes to your clients ?19:34
Pizarrokirkland, yes, everybody tell me same, but not how to solve it :)19:35
PizarroI don't know how to check that guys, routes, etc..19:35
Vajimanjsut the desktop19:35
Vajiman*just19:35
mathiaz!server-gui | Vajiman19:35
ubottuSorry, I don't know anything about server-gui19:35
PizarroI will appreciate if oyu can give me a hand on this, I have been working on this since today on mornig19:35
mathiaz!servergui | Vajiman19:35
ubottuVajiman: Ubuntu server does not install a desktop environment or X11 by default in order to enhance security, efficiency and performance.  !eBox provides a GUI system management option via a web interface.  See https://help.ubuntu.com/community/ServerGUI for more background and options.19:35
kirklandVajiman: what are you trying to do with samba that requires a gui?19:36
kirklandmathiaz: Wow, I stand corrected....19:36
mathiazPizarro: have you looked at the Openvpn documentation page ?19:36
Vajimanok, ty ill look19:37
mathiazPizarro: http://openvpn.net/index.php/documentation/howto.html19:37
PizarroI have to finish this asap, and I am seriously think giving up19:37
kirklandmathiaz: i tested your scenario, and my raid is running just on -hdb disk2.img19:37
mathiazPizarro: there is a comprehensive collection of how-to there19:37
mathiazPizarro: http://openvpn.net/index.php/documentation/howto.html#scope <- should cover your issue19:38
kirklandVajiman: are you on Ubuntu Desktop, or Ubuntu Server?19:38
kirklandVajiman: are you trying to host a share, or mount one on another machine?19:38
RediXeAnyone know of a way to install KnowledgeTree without installing a desktop on the server?19:38
Pizarromathiaz, thanks I will try19:39
kirklandRediXe: no idea what KnowledgeTree is19:39
RediXeDocument management software19:39
RediXeIt has a file.bin and when you run it, it starts up a gui installer19:40
Vajiman!ebox19:40
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/eBox19:40
Pizarromathiaz, that is for OpenVPN, I am using POPTOP, ppptdp,19:41
mathiazRediXe: have you tried to forward your X connection when you log on your server via SSH19:42
Pizarromathiaz, OpenVPn is very complicated cause you ahce to set up certifications, etc..19:42
kirklandRediXe: that's not really "supported" by the Ubuntu community.  I mean, if it works, great.  But if not, there's very little we can help with.19:42
kirklandRediXe: if you want to try what mathiaz says, it's "ssh -X ..."19:42
Vajimanto install ebox am i supposed to type "sudo apt-get install "^ebox-.*" exactly like that?19:42
RediXeI will try that19:43
Vajimananyone?19:45
mathiazPizarro: have you looked at the PopTOP documentation - http://poptop.sourceforge.net/dox/diagnose-forwarding.phtml ?19:45
mathiazPizarro: ^^ seems that outlines the problem you have19:45
Vajimanmathiaz: me?19:45
kirklandVajiman: sudo apt-get install ebox19:45
kirklandVajiman: there are other packages available, related to ebox, some you may want, some not19:46
kirklandVajiman: apt-cache search ebox19:46
Vajimanreadin package list... done19:46
Vajimanbuilding dependancy tree19:46
Vajimanreading state information... done19:46
Vajimane: couldn't find package box19:46
kirklandVajiman: sudo apt-get update19:47
kirklandVajiman: sudo apt-get install ebox19:47
Vajimani get a lot of w: filed to fetch's19:47
Vajiman*failed19:47
kirklandVajiman: sounds like you're having network issues19:47
Vajimancould not resolve19:47
Vajimani was kind of suspicious when it didnt ask for any networkd info19:48
PizarroOk thank you for all, I give up, I am installing tomorrow Windows Server since we cna't lose more time on this19:48
Pizarrothanks19:48
Vajimanbut i thought it was using dhcp19:48
Vajimani suppose i was wrong19:48
Vajimanis there any way i can input my network settings?19:49
Vajimanto get connected?19:49
kirklandVajiman: you can use the "ifconfig" and "route" commands19:50
kirklandVajiman: you can try restarting your network19:50
mathiazVajiman: https://help.ubuntu.com/8.04/serverguide/C/networking.html19:50
kirklandVajiman: /etc/init.d/network restart19:50
kirklandVajiman: /etc/init.d/networking restart19:50
Vajimanok tyh19:51
Vajiman*ty19:51
zulgit status19:51
zulsorry19:52
Vajimanit seems i can trun the /etc commands19:54
Vajimangives the error "-bash /etc/resolve.conf : no such file or directory"19:55
Vajimanis etc a directory?19:56
kirklandVajiman: yes, /etc is a directory20:00
kirklandVajiman: it sounds like you have a bad installation, if you're missing /etc/resolve.conf20:00
Goosemooseim trying to script install libpam-mount by , sudo apt-get -y install libpam-mount but it comes up with an ascii gui of sorts asking yes/no question20:07
Goosemooseany idea on avoiding this?20:07
nxvlkirkland: it's /etc/resolv.conf20:07
nxvlkirkland: the script has a typo20:07
kirklandnxvl: ew, that's a bug20:08
RediXeMy server is behind a router at the moment that isn't mine. Am I able to set ssh to listen on port 80 for the time being so I can access from home?20:11
nxvlRediXe: yup20:11
nxvli have ssh's listenig to 21 and 44320:11
nxvl:D20:11
nxvlto aviod the university firewall20:12
nxvl:D20:12
mathiazRediXe: why don't you use the standard port 22 ?20:12
nxvlmathiaz: because he can't open port 22 in his router20:13
RediXemathiaz, I can't forward the port20:13
nxvlIIRC20:13
nxvlyes i get it right20:13
Goosemoosedendrobates, with likewise-open installed will i still to use libpam-mount to network to a windows share using a script?20:13
mathiazRediXe: I'd suggest to use port 443 (https) instead20:13
mathiazRediXe: if you're ISP uses a transparent proxy for http traffic you won't be able to connect.20:14
RediXemathiaz, We are using another office's internet until our line's are installed and so I can't log into the router to forward the port. I'll give it a shot.20:14
nxvlRediXe: but still port 80 must be redirected to your firewall20:15
nxvlthere wasn't an option about reverse tunneling20:15
RediXenxvl, must be redirected to my firewall?20:16
nxvlnop20:16
nxvlfrom your router to your server20:16
nxvlas in redirecto por 80 to server20:17
danielm_mcgrr still can't get into #ubuntu today20:21
mathiazGoosemoose: what kind of questions are asked with libpam-mount ?20:29
Goosemooseits asking about a conversion to a new xml format20:30
Goosemooseyes/no20:30
Goosemoosebut -y doesn't cover it20:30
mathiazGoosemoose: which release are you using ?20:31
mathiazGoosemoose: oh - I see the code - there is a bug in there20:33
Goosemoosedoh, figures!20:34
mathiazGoosemoose: if you preseed libpam-mount/convert-xml-config to false20:34
mathiazGoosemoose: you won't be prompted20:34
dendrobatesBug #27989920:36
RediXessh -X didn't work :( ... guess I have to install xfce .... can't I do apt-get install xubuntu-desktop20:37
dendrobatesmathiaz zul: who is working on bug 279899?20:37
zuldendrobates: gimme a sec to have a look20:39
zulit doesnt exist?20:40
Boxicihi there20:48
Boxicii need some help20:48
jmedinaBoxici: what kind of help?20:53
Boxicii need to know if i can add some subdomains at my server...20:55
Boxicii have to register other domains or i just need to add some things in my config files...20:56
Boxicii am a new user of ubuntu 8.0420:56
jmedinawell there is no need to buy a subdomain if you already own a TLD doman,20:58
jmedinayou just need to add records to your zones files20:58
jmedinaBoxici: by the way, what do you mean with add some subdomains?20:59
Boxicii mean that i have a domain www.boxici.ro20:59
Boxiciand now i want to add to my host cs.boxici.ro20:59
Boxiciforum.boxici.ro20:59
Boxicionly those things21:00
jmedinado you already have a DNS server working?21:01
Boxiciyes i am on it now21:01
Boxiciubuntu 8.0421:01
jmedinawith bind9?21:01
Boxiciand the www.boxici.ro domain is forwarded to this computer21:01
Boxicino i don't know how to work in bind921:02
jmedinaso where is the dns server?21:02
Boxiciis my ip21:02
jmedinao_O21:02
jmedinadid you install and configure a DNS server in your ubuntu machine?21:02
Boxicino21:02
Boxicii installed apache21:03
Boxici221:03
Boxiciphp curl and all that things21:03
Boxicii type my ip in my browser and works21:03
jmedinaok, then we are taking about different things21:03
Boxicimaybe i don't know so much about this things21:03
Boxicii am new to ubuntu/linux OS21:03
jmedinayou mean apache virtual hosts, or virtual web sites21:03
jmedinanot DNS domains/subdomains21:04
Boxicii didn't configure anything on it21:04
jmedinaBoxici: well you need to configure your apache web server and use virtual hosts21:04
Boxiciso... what i know for now is that my ip is my webserver ok?. ...and the domain www.boxici.ro is forwarded to my ip address21:05
Boxicithat's all i know21:05
jmedinaif you want, forums.boxici.ro, you need to add another record in your dns server, ask your dns admin/provider and point it to your ip address21:06
Boxicioh... i thoght that i can add the subdomains my self on my apache server or something like that21:07
jmedinaand then configure a virtualhost in apache, this vhost will use forums.boxici.ro as ServerName and pint to the location of the furum application21:07
jmedinanop, you need a way to let other people where to reach your "subdomain" that is where DNS enters21:08
jmedinaand then configure your web server to accept and pubish data for that domain (with virtual hosts)21:09
Boxicihow can i make and configure some DNS with bind9?21:09
Boxiciit will work if i manage to do that?21:10
jmedinaif you want to manage your own DNS server for boxici.ro you need to change some things (NS Records) at your registrar (where you buyed your domain) and point it to your ip address21:12
jmedinaand then install and configure your bind9 dns server21:12
jmedinathere is a chapter in the ubuntu server guide21:12
Goosemoosemathiaz, ok ill try that21:24
grumplingWho knows of a good open source listserv software?  I know of MajorDomo but am looking for other options as well.  Thanks!21:25
sommergrumpling: you might look into mailman21:28
grumplingDo you know if that's what lists.ubuntu.com uses?21:31
slangasekit is.21:31
slangasek(wow, does anyone still use majordomo?)21:31
grumplingGreat!  I was going to ask about that too.21:31
grumplingI don't know.  I just remember that package name from years ago.21:31
grumplingI work at a small college and we're looking at listserver replacements since our POS won't be able to move to Exchange 2007.21:32
Goosemooseanyone have their home dir pointing to a windows share? I can't find good documentation on this for hardy21:46
slicslaki'm inspecting a bunch of php files and looking for a viewer (not an editor) that will do syntax highlighting.  does less or cat support that?22:04
slicslakGoosemoose, i wouldn't recommend it.   but what issue are you having with it?22:05
Goosemooseslicslak, well i have the user logins authenticating against AD which works fine. Having a hard time getting any user folders mounted though22:07
Goosemoosethis is for a school so the students roam between machines22:07
Goosemoosetrying to use pam_mount seems to be the only way I can do this at login22:07
Goosemoosebut the documentation on pam_mount.conf.xml is throwing me off22:07
slicslakso you want to automount a directory when a user logs in22:09
Goosemooseyes22:09
Goosemooseon windows i just have this setup via group policies22:09
Goosemooseproblem is i have the users split into 4 groups shared at server/students/2009 , server/students/2010, etc22:10
slicslakya, not sure, sorry22:10
Goosemoosebut if i can at least mount it to /server/students then they can go find their own user file22:10
Goosemooseok22:10
slicslakyou ought to be able to script it easily enough, but i'm not sure where you would hook the script as i've never had to do that22:11
Goosemooseok22:12
Goosemooseback to google22:12
declassicocan someone please tell me how to execute files such as the /etc/resolv.conf file?22:30
declassicohello?22:31
RogueEntityYou dont execute that file.22:35
RogueEntityWhen you make changes to it, they take effect instantly.22:36
indi_hello23:16
indi_i have a internet connection sharing problem23:16
indi_my xubuntu computer is connected with a usb modem via pppoa23:17
indi_this make a ppp0 connection in ifconfig23:17
indi_i've got a laptop with vista connected through crossed LAN to the xubuntu pc23:18
indi_...and i cant share the connection....23:18
indi_easy :)23:19
RogueEntityAnd you want your laptop to be able to connect to the internet through your ubuntu machine?23:19
indi_yes i want :)23:19
RogueEntityThe simplest way I can think of, is to configure forwarding using IPTables.23:19
indi_already do23:19
slangasekyou need to configure your xubuntu computer to enable packet forwarding, and to turn on NAT; I don't believe there's anything included by default in Xubuntu or Ubuntu that does this23:19
RogueEntityBut I am more familier with working through the command line, and not GUI's23:19
slangasekyou've turned on packet forwarding?23:19
indi_torwarded ppp0 to eth023:19
RogueEntityI have an IPTables script you can use, you just need to edit it to suit your needs.23:19
danielm_mcyeah but did you echo 1 /proc/sys/net/ip_fowarding23:20
danielm_mcor wtfe23:20
slangasek/proc/sys/net/ipv4/ip_forward23:20
danielm_mcyeh :)23:20
indi_so..23:21
indi_?23:21
indi_what i can do?23:21
slangasekwhat does /proc/sys/net/ipv4/ip_forward say on your system?23:21
indi_how i can do that?23:22
RogueEntitysudo cat /proc/sys/net/ipv4/ip_forward23:23
RogueEntityIt should return either 1 or 0.23:23
RogueEntityPreferably 1 if you want forwarding to work.23:23
* danielm_mc notes the sudo is excessive23:23
slangasekindi_: how did you configure iptables?  Are you following a howto for this?  A good howto should have covered this part, I would think23:23
indi_ok ... just lol ... retourn is 023:24
indi_slangasek: yes howto from ubuntu23:24
RogueEntityI posted my IPTables gateway script here (http://ubuntuforums.org/showthread.php?t=922646) if you want to use it, just modify it for what you need.23:25
indi_i'll try :D23:25
RogueEntityBasically all mine does, is allow incoming connections from the network, forward connections from the network to the internet, accept the reply packets from the internet, enable forwarding and NAT.23:25
slangasekindi_: you will want to uncomment the line 'net.ipv4.ip_forward=1' in /etc/sysctl.conf, then run sudo /etc/init.d/procps start23:26
RogueEntityThough mine goes on to poke holes to allow connections in to the webserver and SSH from outside, so I can remotely login (I use my server as a proxy to bypass content filters at college)23:26
mathiazjdstrand: does ufw support that kind of use case ^^ ?23:26
slangasekAFAIK ufw doesn't try to do forwarding/NAT yet?  (I hope not, it's more important to get the host-based stuff right first)23:26
* jdstrand reading23:27
jdstrandno it doesn't do NAT via the command line utility. but it provides the infrastructure to do so23:27
jdstrand(eg, but editing /etc/ufw/*)23:27
jdstrands/but/by/23:28
sommer:-) : http://doc.ubuntu.com/ubuntu/serverguide/C/firewall.html#ip-masquerading23:28
jdstrandthanks sommer! I was just going to refer to that :)23:28
indi_slangasek:  if i uncomment that line what will do??23:29
slangasekit will turn on packet forwarding23:31
indi_:)23:31
indi_nice :)23:31
indi_ok packet forward now works!!23:38
indi_but vista laptop don't go to the net23:38
indi_:(23:38

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