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

EvilDaemonSo, uh, what did I do wrong? Made an x86_x64 cd?00:00
EvilDaemonAnd then what kind do I need for my kind of box?00:01
slangasekyou need the i386 one instead of the amd64 one.00:02
EvilDaemonokay, thanks.00:02
EvilDaemonThis server isn't hooked up to the internet. Can I sneakernet Apache, php5, etc.  Over to it?00:03
slangasekthose are included on the server CD; so for values of "sneakernet" that include "the install CD", yes00:04
philsfhow hard is it nowadays to setup a NIS+ on ubuntu? (I have used NIS in the past, and the docs made clear that NIS+ was pretty hard to do by then, some 8 years ago)01:09
slangaseksetting up a server, or a client?01:11
=== PrivateVoid_ is now known as PrivateVoid
slangasekAFAIK, there has never been support for setting up an NIS+ server with free software; by the time people got around to thinking about it, LDAP had taken over01:13
slangasekI think Novell (SuSE) had a non-free NIS+ server implementation01:13
=== NCommander is now known as MAC
=== MAC is now known as NCommander
philsfslangasek: I was thinking both client and server02:27
philsfI'm in the very least, interested in the same thing NIS accomplishes, but securely. in a near future, I'd like to incorporate PIM features, as I understand it can do (LDAP). any pointers?02:29
philsfby "what NIS accomplishes" I mean at least a remote login integrated with local file ownership02:30
uvirtbot`New bug: #271942 in samba (main) "DBus Error samba " [Undecided,New] https://launchpad.net/bugs/27194202:52
=== ScottK is now known as ScottK-vacation
youbuntu2008I'm trying to 'insmod' my own driver to access parallel port, but parport0 has already got there earlier :-o   Then I tried to 'rmmod parport', but its says it's in use by ppdev,lp,parport_pc :~o~~  But, checking on 'ps -e' it doesn't show these processes. How to remove the current driver having parport??? :-)05:02
youbuntu2008My `uname -r` = 2.6.24-19-server , and i installed it from downloaded ISO image from web.05:05
hadsIn use by tells you the modules which are using it.05:06
hadslsmod | grep par05:06
youbuntu2008'lsmod | grep par' returns zpar, parport_pc, parport. Actually 'zpar' is my driver I tried to 'insmod' once just now but it gave some error message.05:11
youbuntu2008Tried to rmmod zpar but 'is in use'; tried to rmmod parport_pc but 'is in use'; finally rmmod parport_pc but 'is in use by ppdev,lp,parport_pc'. I think i'm gonna reboot the server.05:13
youbuntu2008rebooting.... (BTW this is not a production svr :)05:17
youbuntu2008OMG!!! During reboot, at 'Start up ...', the kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)     -- u think i can recover or correct this?05:20
youbuntu2008already recovrin... foooohh!!!! (exhale)05:35
youbuntu2008hads - thanks!!!05:35
youbuntu2008bye bye05:35
lukehasnonamemdz: /Off topic You have a wikipedia entry. Not only that, but it's listed as one of the main articles of the Linux portal in Wikipedia.07:38
krautmoin08:21
* delcoyote hi09:15
remotehi09:17
=== mindframe_ is now known as mindframe
uvirtbot`New bug: #272060 in likewise-open (main) "Missing DDNS update when a domain is joined" [Medium,In progress] https://launchpad.net/bugs/27206010:56
sommerKoon: just committed the tomcat section, thanks again13:33
Koonsommer: you're welcom !13:34
Koone13:34
=== sourcode_ is now known as sourcode[0]
uvirtbot`New bug: #272132 in likewise-open (main) "Likewise Open starts at S20, then at S92 when a domain is joined" [Low,In progress] https://launchpad.net/bugs/27213214:41
uvirtbot`New bug: #272134 in likewise-open (main) "[FFe] Update to 4.1.2982 bugfix microrelease" [Undecided,New] https://launchpad.net/bugs/27213414:46
raraujohi all15:10
raraujoI got a dedicated server with ubuntu 8.04 on it and I only have root access, I created a user and I would like to have access to sudo commands, in 6.10 I could usermod -a -G admin user, but it seems group admin doesn't exist any more15:11
raraujocan someone help me15:11
raraujoplease15:11
SchneeSchwarzraraujo: if there really is no admin group (grep '^admin:' /etc/group) you could create it (addgroup --system admin)15:29
SchneeSchwarzOr you could add your user account directly to sudoers (visudo)15:30
raraujothx I figured it out know15:33
raraujothere was a group sudo15:33
raraujobut in /etc/sudoers it was commented15:33
raraujobut now I have another problem15:33
raraujobahs completion doesn't work properly as user15:33
raraujoif I try to vi /et<TAB> it doesn't wokr15:33
raraujovi /et-sh: <( compgen -d -- '/et' ): No such file or directory15:33
raraujo-sh: <( eval compgen -f -X '*.@(o|so|so.!(conf)|a|rpm|gif|GIF|jp?(e)g|JP?(E)G|mp3|MP3|mp?(e)g|MPG|avi|AVI|asf|ASF|ogg|OGG|class|CLASS)' -- $(quote_readline $cur) ): No such file or directory15:33
raraujobut as root it works and also if I don't put anything like vi/cd or so in front of the path it works15:34
raraujoany ideas why?15:34
raraujothanks a lot for your help and c u15:37
zulmathiaz: for samba-3.2.4 changelog should we list all of our Debian changes again?16:16
mathiazzul: is it a merge ?16:16
zulnope its new16:17
mathiazzul: so no - the changelog entry should list what has changed between the last upload/entry and the current one.16:17
zulIm just trying to figure out what I should put in the changelog other than its a New upstream version16:17
mathiazzul: new upstream version with a list of LP bugs that it may fix.16:18
zulk16:18
mathiazzul: you could also list the mini changelog entry from the annoucement16:18
zulyep16:18
mathiazzul: http://paste.ubuntu.com/48329/ <- I'd include that part in the changelog entry16:20
zulgotcha..16:24
zulmathiaz: test building..16:25
=== mcasadevall is now known as NCommander
espaciouscan someone help wit this eroor16:47
espaciousPHP Warning: PHP Startup: Unable to load dynamic library16:47
espacioushttp://pastebin.com/m29b19e1916:48
espaciousYour PHP installation appears to be missing the MySQL extension which is required by WordPress.16:48
espacioussome modules for php are missin i presaude16:48
sommerespacious: do sudo apt-get install php5-mysql17:00
espacioussommer17:01
espaciousnow i reinstalled php517:01
espaciousseem ok17:01
sommercool17:01
espaciousseems ok17:01
espaciousbut17:01
espaciouspages load from outside but from inside only in IE lol not in Firefox17:02
espaciousstrange17:02
espaciousfirefox still ask to save a file17:02
espaciousalso in IE crashes17:03
espaciousdamn17:03
sommerespacious: you might try restarting apache17:04
espaciousim reboting the whole pc17:04
espaciousalso my workstation brb17:04
espacioussth is causing problems17:04
espaciousstill the same17:09
espaciousfirefox wont open localy17:10
espaciousexternaly no problem17:10
espaciousi think now its an apache thing17:10
lukehasnonameIs anyone U-S for KVM-based virtualization (multiple VMs, production environment)?17:36
lukehasnonamejust curiou17:36
lukehasnonames17:36
mathiazlukehasnoname: I'm using it.17:38
lukehasnonamehm17:39
mathiazzul: we should have a look at the latest upload of mysql in debian.17:46
mathiazzul: there may be important fixes that have been uploaded that are worth porting to 5.0.6717:47
lukehasnonameIdea: Dynamic web environment builder: Linux/Apache/(MySQL||PostgreSQL)/(PHP||Python||Perl||Ruby) auto configured at or immediately after tasksel17:56
trashguyget rid of ruby and perl then maybe17:57
lukehasnonamedamnit17:57
trashguylulz18:04
Izinucslukehasnoname: check on #ubuntu-server18:06
trashguy?18:06
Izinucsoops.. I am on "server.. " sorry just noticed that..18:07
Izinucstoo many open channels.18:07
kikohey there18:41
mathiazhi kiko18:41
kikoquestion for KVM people: is it possible for the host to access a guest's filesystem directly?18:43
mathiazkiko: while the guest is running ?18:43
kikoyeah18:43
mathiazkiko: if so - you could use a network file system to do it.18:44
kikomathiaz, NFS being the most obvious?18:44
mathiazkiko: yes18:44
mathiazkiko: what do you want to do exactly ?18:44
kiko_mathiaz, considering running PQM jobs inside a KVM18:45
=== kiko_ is now known as kiko
mathiazkiko: and you'd like to copy the job inside the guest ?18:46
kikomathiaz, well, I need to kick off the job, so there's that, but I also want to read the log and figure out if it succeeded or failed.18:46
kikoI realize I could write a server to run on the client and allow manipulation that way18:47
mathiazkiko: right - I'd tend to try to pull things from the guest in that scenario18:47
kikowas just musing18:47
kikoright.18:47
mathiazkiko: I've been thinking about that use case too while doing automated iso testing.18:49
mathiazkiko: and I've experimented with the client pulling stuff from the server18:49
kikomathiaz, really! we should swap notes. I only just thought about doing it.18:49
mathiazkiko: I don't think that having a server runing on the guest and pushing things to the guest is the best way to do it.18:50
mathiazkiko: a pull architecture seems more appriorate in that use case IMO18:50
kikomathiaz, in part I agree because you'd want the guest to be as untainted as possible18:51
kikomathiaz, so exporting via NFS for instance is pretty transparent18:51
kikobut running a service etc less so18:51
mathiazkiko: right - and it scales better also18:51
mathiazkiko: I've taken that use case as an excuse to play with couchdb18:51
mathiazkiko: http://incubator.apache.org/couchdb/18:52
kikoyeah, I know of that project18:52
mathiazkiko: for each test case (which is a guest) a document is created. inside there is the test script to run.18:53
mathiazkiko: and the guest just needs to know the document id/url and pull and the things from there.18:53
mathiazkiko: it can also push all the information it wants (such as log, debug info, etc...)18:53
kikointeresting plan18:54
mathiazkiko: and then you can just look at the document to see where the test case is.18:54
mathiazkiko: couchdb has an integrated scripting/search engine to create views.18:54
mathiazkiko: so you can create your own views to see which test cases have failed, and then drilled down to the failure and look at the logs.18:55
kikoI'm going to take a look at it18:56
kikoit looks interesting18:56
mathiazkiko: awesome - let me know what you came up with.18:56
kikomathiaz, will do. thanks for the help!18:57
howdy1234567890hi... i installed/setup an ircd properly, it's running... though am unable to connect with a client, any ideas?19:12
howdy1234567890I'm not sure why I'm unable to connect to my fresh ircd install. . . it is set up and everything.19:13
howdy1234567890i followed these steps exactly: http://www.irchelp.org/irchelp/ircd/h7setup.html19:13
zulwhich ip address is it bound to?19:15
howdy1234567890ah was i just disconnected... (sigh) well that could be one problem, though it's not my internet, it was working fine when i attempted to connect.19:17
howdy1234567890test12319:17
howdy1234567890test 1 2 319:17
howdy1234567890am i on ?19:17
howdy1234567890ok i'm back on now... i was disconnected.19:17
howdy1234567890(sigh) well that could be one problem, though it's not my internet, it was working fine when i attempted to connect.19:17
howdy1234567890I just received the message "which ip address..." from zul, though if anyone said anything before that i missed it. :(19:17
howdy1234567890If the ip address question was going to me... it's an active ip, on a website i run, on another server... it's running.19:18
howdy1234567890just can't seem to connect.19:18
compengiif i built window manager like nautilus and other applications from ubuntu server's edition. would it more memory as in ubuntu's gnome distro?19:18
howdy1234567890am i in the wrong channel?19:19
compengiwould it eat*19:19
bytor4232compengi: No19:19
compengibytor4232, but i would require to install Xorg right?19:20
howdy1234567890ah, where should i go to ask about irc server?19:20
compengihowdy1234567890, you are building IRCD?19:20
howdy1234567890i built19:21
howdy1234567890i followed these steps exactly: http://www.irchelp.org/irchelp/ircd/h7setup.html19:21
compengii think if things related to that IRCD built, you should better ask them in their dev's channel19:22
howdy1234567890uh19:22
howdy1234567890...well it's pretty generic.19:23
howdy1234567890And "hybrid" doesn't appear to have a chan in here19:23
compengiin that site, it's stated where the support is19:23
howdy1234567890ah19:24
=== J-n_ is now known as J-n
Fenix|workQuestion on UFW ...22:17
Fenix|work... can I use iptables commands to set up routes with UFW?22:20
jdstrandFenix|work: routes? like your routing table?22:21
Fenix|workI want to do a series of redirects for specific ports for squid22:21
jdstrandFenix|work: the ufw command does not have that functionality. hover, the ufw system lets you do anything that iptables can do.22:22
jdstrands/hover/however/22:22
Fenix|worknice22:23
Fenix|workso I can disable UFW and just use iptables directly then22:23
jdstrandFenix|work: look in /etc/ufw/*rules for where to put them and see https://help.ubuntu.com/8.04/serverguide/C/firewall.html22:23
jdstrandFenix|work: you can always use straight iptables of course22:24
jdstrandFenix|work: however, if you want to still take advantage of the ufw command with some added advanced functionality of iptables, just use ufw like normal, and add appropriate iptables commands to /etc/ufw/*.rules22:25
jdstrandFenix|work: you'll get a lot for free that way (eg, dhcp, avahi, etc work, logging, boot script, etc)22:26
Fenix|workjdstrand, what do you mean about a lot for free... could you elaborate on that just a tad?22:31
jdstrandFenix|work: I thought I did...22:31
jdstrandFenix|work: with straight iptables, it all up to you to make sure the rules survive on reboot22:31
Fenix|workI have the propensity to be dense :)22:31
jdstrandFenix|work: you need to decide on logging22:31
jdstrandFenix|work: if it is a general purpose firewall, you'll also need to make sure other things work right22:32
jdstrandlike dhcp, or avahi, or other things22:32
Fenix|workI actually want minumal firewall... I'm creating a new gateway.  I have a firewall further up the connection that handles all rules and such.22:32
jdstrandFenix|work: if the only thing you want to do is redirect, maybe a few rules in a script is all you need22:32
Fenix|workbut because this gateway is also a squid proxy I need some redirects so that port 80 requests end up in squid22:33
jdstrandFenix|work: do you want a host-based firewall on this machine?22:34
Fenix|worknope... this gateway is attached to a firewall.22:34
jdstrandFenix|work: then probably just adding a few iptables commands in /etc/rc.local would be enough22:35
Fenix|workI just want it to pass everything through, except for the squid stuff which I'll handle with -A PREROUTING commands22:36
jdstrandFenix|work: but that gives you no management or anything else...22:36
jdstrandsee the above link I gave for how to do that with iptables22:36
jdstrands/that/that type of thing/22:36
Fenix|workthe serverguide link?22:37
jdstrandyes22:37
Fenix|workok22:37
jdstrandthough it talks about nat only, not redirects22:37
jdstrandbut you'll get the idea22:38
Fenix|workyeah22:38
Fenix|workthanks jdstrand much appreciated22:39
jdstrandnp22:39
Fenix|workI may take advantage of ufw's logging functionality but using iptable rules22:39
jdstrandFenix|work: then add your rules to /etc/ufw/*.rules and set your default policy to ALLOW22:40
jdstrand(in ufw)22:40
jdstrandsee man ufw for details22:40
Fenix|workufw default allow22:42
jdstrandyep22:42
jdstrand(then do 'sudo ufw disable ; sudo ufw enable'22:42
Fenix|workprerouting rules go in before.rules ?22:42
jdstrandFenix|work: yes, but be sure to add them in the nat table22:43
jdstrandFenix|work: like in the server guide:22:43
jdstrand*nat22:43
jdstrand<your rules>22:43
jdstrandCOMMIT22:43
jdstrandFenix|work: put that at the top of before.rules22:44
Fenix|workand the rules are written as if it were the iptables command without the iptables command itself22:44
jdstrand(that's discussed in 'ufw Masquerading' in the guide)22:44
jdstrandFenix|work: basically. the specific syntax is 'iptables-restore'22:45
Fenix|workso in nat... -A PREROUTING -i eth0 -p tco --dport 80 -j REDIRECT --to-port 312822:45
jdstrandchange tco to tcp and you should be in business22:45
Fenix|workhehe... typo22:45
jdstrandFenix|work: you may also want to add ':PREROUTING ACCEPT [0:0]' right after the '*nat' line22:50
jdstrandtha'll set the default policy to ACCEPT and reset the counters on reload22:51
bdmurraykirkland: do you know much about cryptsetup?22:51
jdstrandFenix|work: also, if you haven't already, set net/ipv4/ip_forward=1 in /etc/ufw/sysctl.conf22:51
kirklandbdmurray: i do not...  i've used it to encrypt my swap, that's about it22:52
kirklandbdmurray: something specific you're looking for?22:52
jdstrand(then disable and enable)22:52
bdmurrayhttp://people.ubuntu.com/~brian/tmp/cryptmount-message.png22:52
bdmurraywhether or not I should report that about crypt-setup or ?22:52
kirklandbdmurray: actually, yeah, i see the same thing on my laptop every day, and every day i mean to report it, but always forget once my browser and everythign is running22:53
kirklandbdmurray: looks to me like some stuff might be missing from the initramfs22:54
kirklandbdmurray: like /lib/lsb/init-functions (the log_*_msg)22:54
kirklandbdmurray: and /sbin/udevsettle22:54
bdmurraykirkland: great, I'd seen it in kvm and wasn't sure if it was related to it22:55
kirklandbdmurray: file it, and subscribe me to it22:55
kirklandbdmurray: i might be able to fix those, possible22:55
kirklandbdmurray: i've been dorking around in initramfs more than i care to admit lately :-)22:55
bdmurrayheh22:55
kirklandbdmurray: priority is probably "low", because I'm not seeing any ill-effects22:55
kirklandbdmurray: and i've had those errors for months now22:56
zoredachedoes anyone know of an http(s) reverse-proxy that can will to the http authentication on the proxy?  We have a web server on our internal network that we can't change.  We need to make it available to the world if someone can authenticate to the proxy...  I have proposed ssl/ssh based VPNs but that was vetoed from on-high23:00
mathiazzoredache: have you looked at the apache proxy module ? It may fit your scenario.23:02
Fenix|workjdstrand, thanks a lot23:02
Fenix|workhave a good one23:02
jdstrandnp-- you too23:03
zoredachemathiaz: a little, you don't happen to know of a configuration sample somewhere that is close to what I am trying to do?23:04
mathiazzoredache: not from the top of my head - try to google for apache reverse-proxy23:05
bdmurraykirkland: submitted23:09
kirklandbdmurray: just in time...  http://pastebin.ubuntu.com/48417/23:09
kirklandbdmurray: that will silence the log_*_msg errors in cryptsetup23:10
kirklandbdmurray: but i'm looking at initramfs-tools, to see if we can just add /lib/lsb/init-functions and /sbin/udevsettle into the initramfs23:10
kirklandbdmurray: actually, it's simpler than that....23:14
bdmurraykirkland: oh?23:18
frithhi, i was looking at graphing systems23:34
frithi was wondering if there is something more complete than cacti23:34
uvirtbot`New bug: #272306 in openssh (main) "apt-get doesn't work properly on ssh-ed pc" [Undecided,New] https://launchpad.net/bugs/27230623:35
zoredachefrith: graphing of what?   Are you looking for a network monitoring applicationor?23:44
frithzoredache, well i like collecting as much as i can io throughput, cpu, net, disk etc, my switch, etc23:46
frithlike cacti23:46
frithjust cacti takes ages to setup23:46
zoredacheI don't know of anything that is easier to setup.  Zenoss, and Opennms are both tools that will monitor and collect data...23:47
mathiazfrith: have you looked at munin ?23:48
friththose two are a bit bloated for what i was after23:48
frithmathiaz, isn't that purely plugin based?23:48
mathiazfrith: what do you mean by purely plugin ?23:48
mathiazfrith: there is a plugin system IIRC23:48
frithto get info into it, you have to install the plugins on each box23:49
mathiazfrith: IIRC yes.23:50
frithi think i will try and find an snmp based system23:51
zoredachehow about just mrtg?23:51
mathiazfrith: both munin and cacti support snmp.23:51
frithcacti is better23:51
mathiazfrith: they're mainly focusing on the graphing part23:51
frithmathiaz, cacti is fine, apart from its not very complete23:51
=== erichammond1 is now known as erichammond
mathiazfrith: while snmp is geared towards collecting the data to graph.23:52
frithzenoss is kinda funky, point it at a system and it does the rest pretty much23:53
garrettkajmowiczI have an upgrade problem:  My server is running 6.10 and I want to upgrade (I only recently discovered that there is a useful upgrade tool).  Anyways, I run do-release-upgrade and it rewrites the sources list to include everything for feisty, but then complains that it can't pull the entries for edgy (because edgy is no in old-releases).  Any idea how I can make this work sanely?23:56
NCommandergarrettkajmowicz, I assume you want to upgrade to hardy, right?23:58

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