UbuntuIRC / 2009 /01 /10 /#ubuntu-server.txt
niansa
Initial commit
4aa5fce
=== ropetin_ is now known as ropetin
[02:05] <hibby> hey
[02:06] <hibby> having some non-critical server issues
[02:07] <hibby> and was wondering if anyone was around to discuss how I can sort them?
[02:07] <ScottK> hibby: Best ask specific questions and see if anyone can answer.
[02:09] <hibby> right, well. I've got a system running as a server for providing my flat with files /audio/video. More or less working as a NAS, but I like to use it as a development webserver too, and ssh in from around the world regularly
[02:10] <hibby> we ran out of internal drive space, so bought an external drive. I want to be able to access files on it, but in the existing folders, so I've ln -s to the various folders I want on the external drive into the shared folders
[02:10] <hibby> I can access the files perfectly through xmbc - im watching heroes that way just now
[02:10] <SmokeyD1> hey people. I am running tripwire on hardy-server in a xen virtual machine.
[02:10] <hibby> but my desktop system won't recognise the links as folders
[02:10] <SmokeyD1> I have my tripwire policy running fine
[02:11] <SmokeyD1> tripwire only complains that /proc/12007/fd/4 and /proc/12007/tasks/fd/4 don't exist
[02:11] <SmokeyD1> what are they? Something to do with a floppydisk?
[02:11] <hibby> I've tried sharing the external drive too, but that's not working. Any suggestions?
[02:11] <SmokeyD1> which indeed my virtual machine doesn't gave
[02:12] <SmokeyD1> how do I prevent tripwire from checking it? I can't find any references in twpol.txt
[04:42] <CppIsWeird> my server has ubuntu server 7.10, all of the sudden recently when i boot it up it does not get an IP from my router, i have to plug in peripherals and ifconfig up down the adapter. Any ideas why?
[06:41] <uvirtbot`> New bug: #315711 in bind9 (main) "Please merge bind9_9.5.0.dfsg.P2-5.1(main) from debian unstable" [Undecided,New] https://launchpad.net/bugs/315711
[08:47] <Jeeves_> 64 bytes from 172.16.0.96: icmp_seq=191 ttl=62 time=1.67 ms
[08:47] <Jeeves_> 64 bytes from 172.16.0.96: icmp_seq=317 ttl=62 time=7.19 ms
[08:48] <Jeeves_> That's a someone live migration using kvm. :)
[08:48] <Jeeves_> it reboots the vm as well, which shouldn't happen, I think
[10:11] <kraut> moin
[11:50] <uvirtbot`> New bug: #315256 in apache2 (main) "Broken package apache2-prefork-dev in Intrepid x64" [Undecided,New] https://launchpad.net/bugs/315256
[12:01] <uvirtbot`> New bug: #315410 in bind9 (main) "package dnsutils 1:9.5.0.dfsg.P2-1ubuntu3 failed to install/upgrade: failed in buffer_read(fd): files list for package `texlive-base'" [Undecided,New] https://launchpad.net/bugs/315410
[12:50] <uvirtbot`> New bug: #315774 in samba (main) "libsmbclient-dev missing smbc_urlencode in .a in intrepid" [Undecided,New] https://launchpad.net/bugs/315774
=== jjesse_ is now known as jjesse
[14:29] <axisys> how would I know if I need to reboot the server after dong the aptitude full-upgrade
[14:32] <andol> axisys: If there is a new kernel you'll need to reboot.
[14:52] <RainCT> Hi
[14:52] <RainCT> What do you guys recommend as cPanel alternative? Webmin?
[14:52] <ScottK> RainCT: I recommend vim, but ebox is the one generally recommended.
[14:54] <RainCT> ScottK: Thanks. Me too (well, not vim, but the command line :)), but I also want to install some more graphical thing.. (Working on a research project for school)
[14:55] <ScottK> I've never used it, but ebox is the one you want.
[15:01] <axisys> andol: when else do I need to reboot?
[15:02] <axisys> andol: i saw libssl upgrade on my laptop asked to restart it
[15:02] <ScottK> That's one of the few. If you subscribe to the security announcements they say in them if a reboot is needed.
[15:02] <axisys> andol: is there some similar notification thru email or in the terminal ?
[15:03] <ScottK> There is a terminalish place to look, but I don't recall it. I mostly just read the security announements.
[15:04] <axisys> ScottK: i use apticron to receive alerts when upgrade is necessary .. but a immediate terminal level notification would really help
[15:06] <ScottK> http://blog.dustinkirkland.com/2008/11/ubuntu-jaunty-updates-available-and.html for Jaunty.
[15:08] <axisys> ScottK: awesome!!!
[15:31] <andol> axisys: sorry, wasn't really paying attention to the channel. Seems like you still got your answers throught :)
[15:32] <Nafallo> andol: OMG. you're /ignoring/ us!
[15:33] <andol> Nafallo: Yes, shocking, isn't it? :)
[15:33] <Nafallo> andol: indeed it is
[15:37] <RoyK> hrmf. virtualbox/ubuntu 8.04 is panicing on shutdown
[15:55] <MadChopr> i'm planning on installing amanda-server on ubuntu server 8.10, amanda-server wants xinetd, i'm wondering does ubuntu have a replacement for xinetd? from what i understand xinetd is used for centos/redhat installs?
[15:56] <MadChopr> should i use xinetd or something else, that's ubuntu specific?
[16:14] <heath|work> How can you reliably swap sata drives if the scsi numbers change on them after reboots?
[16:15] <RoyK> heath|work: iirc ubuntu uses UUIDs in /etc/fstab, so it shouldn't matter much
[16:16] <heath|work> RoyK, the problem isn't with mounts. The problem is actually trying to write a backup script for removable drives using scsiadd
[16:16] <RoyK> ah
[16:16] <RoyK> but why should the scsi id/device name change?
[16:16] <heath|work> for example If I need to remove a drive I have to issue scsiadd -r 2 0 0 0
[16:16] <heath|work> RoyK, that's what I am trying to figure out.
[16:17] <RoyK> 15
[16:17] <RoyK> sorry - can't help, then
[16:17] <RoyK> no idea where that '15' came from
[16:17] <heath|work> lol... it's cool
[16:17] <heath|work> I thought you 15 years old telling me about UUID's
[16:17] <RoyK> lol
[16:18] <heath|work> I was about to say you need to watch more tv or something
[16:18] <RoyK> hehehehehe
[16:18] <RoyK> I guess there are 15-year-olds out there that know about UUIDs these days
[16:19] <heath|work> scary
[16:19] <RoyK> :)
[16:19] <RoyK> I guess I was 16 or so when I wrote my first boot loader in assembly
[16:22] <heath|work> I didn't really catch an interest in computers till about 18
[16:23] <heath|work> then I was stupid and used winblows for a while till I saw the light
[16:23] <RoyK> hehe
[16:53] <heath|work> When you setup RAID with mdadm, do you need to manually enter info into the mdadm.conf file, or is everything fine after creating an md dev?
[16:56] <uvirtbot`> New bug: #314916 in openldap (main) "package update-manager 1:0.93.34 failed to install/upgrade: ErrorMessage: SystemError in cache.commit(): E:Sub-process /usr/bin/dpkg returned an error code (1) (dup-of: 314917)" [Undecided,Triaged] https://launchpad.net/bugs/314916
[16:56] <RoyK> heath|work: it's written to the md sectors and automatically detected upon boot
[16:58] <heath|work> nice... thanks
=== jussio1 is now known as jussi01
[17:02] <RoyK> heath|work: still, the md code is somehow outdated unless you need RAID > 1
[17:03] <RoyK> if you just want mirroring, the LVM code is far more flexible
[17:03] <heath|work> what would you suggest? I need raid one here, but raid 10 at home
[17:04] <RoyK> I'd suggest using lvm for mirroring
[17:04] <RoyK> lvm can do striping as well, so I guess 1+0 should work well
[17:04] * RoyK checks
[17:06] <RoyK> seems if you need raid-1+0, the best would be to setup mdadm mirrors and then span them with lvm
[17:11] <heath|work> really, I need to use both?
[17:11] <heath|work> I have raid10 up and running with just mdadm at home right now
[17:47] <stephank> Hi! I'm trying to set up slapd with tls. So far so good it seems, it finds the certificate and key, a remote host can connect using ldapwhoami. My problem is that phpldapadmin doesn't connect, saying "Could not start TLS."
[17:48] <stephank> It looks like I've ended up in a fight with gnutls. It's not picking up my ca cert in /etc/ssl/certs! Does gnutls have a different default location somewhere?
[17:49] <stephank> (I got ldapwhoami working by setting TLS_CACERT in /etc/ldap/ldap.conf, but phpldapadmin is not picking this up :(
[18:04] <stephank> bah, gnutls is winning... at losing from openssl o_O
[18:06] <pioni> can anyone help me with setting up a lvm mirrored disk?
[19:58] <toehio> hello
[19:59] <toehio> can somebody please explain to me how you should set-up users on a server that has multiple services (games, ftp, web, irc, etc)
[20:06] <sommer> toehio: most applications will use system user's by default, so adduser and useradd are good utilities for that
[20:07] <toehio> ok
[20:07] <toehio> but how about the files for all the servers such as the web server and game server?
[20:10] <sommer> toehio: not sure what you mean?
[20:10] <toehio> I am running a game server (wolfenstein enemy territory)
[20:11] <toehio> and it has lots of files
[20:11] <toehio> where should it be installed?
[20:11] <sommer> toehio: I usually install third party stuff like that into /opt
[20:11] <sommer> toehio: so /opt/wolf or something similar is what I'd do
[20:12] <toehio> ok, thank you for you help
[20:12] <sommer> toehio: then you can symlink any binaries into /usr/bin or /usr/local/bin
[20:12] <sommer> toehio: np
[20:12] <toehio> wait
[20:12] <toehio> the default installation dir for this game is "/usr/local/games/enemy-territory"
[20:12] <toehio> would that be a good place?
[20:13] <sommer> toehio: sure, really the best thing with third party apps is to place them somewhere you'll remember
[20:14] <toehio> how about starting it?
[20:14] <sommer> toehio: I like /opt/ because the path is shorter than /usr/local, but it's really just a preference
[20:14] <toehio> what user should i use?
[20:14] <toehio> because its not a daemon with its own user
[20:14] <sommer> toehio: should work with any user with rights to /usr/local/games/enemy-territory
[20:15] <toehio> ok
[20:15] <toehio> thank you
[20:15] <sommer> welcome
[20:26] <kapipi_> Hi, where can I find a good ressource that will help me pick a server motherboard? Most sites seems to be focused on gaming boards, but thats not what I need.
[20:27] <kapipi_> I'm looking for something to run a intel core 2 quad, to host a few virtual machines using kvm.
[20:46] <xinel> hello everyone, i got openvpn on my server, it connects to the outside world, but i cannot get any of the computers on my inside network to connect through it, any ideas?
[21:16] <RainCT> The OpenSSH version from Intrepid seems to work fine on Hardy lowering two dependencies. Should I request a bacport or does anyone know of a problem with this?
[21:19] <Faust-C> RainCT: what
[21:19] <CppIsWeird> i was formating a drive over ssh and i wanted to printscreen the info from the mkfs.ext3 but pressed pause/break instead. Issuing the mkfs command again i get "/dev/sda1 is apparently in use by the system; will not make filesystem here!" how do i resolve this?
[21:20] <uvirtbot`> New bug: #315896 in freeradius (universe) "freeradius upgrade broken in hardy backports" [Undecided,New] https://launchpad.net/bugs/315896
[21:20] <Faust-C> CppIsWeird: umount the drive then format over it
[21:20] * Faust-C tires to figure out how to install linksys wireless card on ubuntu server
[21:21] <CppIsWeird> it is notmounted
[21:21] <Faust-C> CppIsWeird: are there any processes using it
[21:21] <Faust-C> anything accessing it
[21:21] <CppIsWeird> how do i deduce that?
[21:22] <CppIsWeird> so far as i know the process accessing it (mkfs.ext3) was killed when i pressed pause break
[21:22] <Faust-C> ps faux
[21:22] <Faust-C> see if anything is using it or trying to
[21:23] <Faust-C> worst comes to worse reboot
[21:23] <CppIsWeird> heh, so it is still running
[21:23] <CppIsWeird> it told me it stopped
[21:24] <CppIsWeird> should i kill it and start over?
=== SchneeSchwarz_ is now known as SchneeSchwarz
=== backenfutter is now known as backenfutter_bas
=== backenfutter_bas is now known as bafu_at_c-base
[22:28] * RainCT will request the backport then
[22:32] <RainCT> NCommander: ping
[22:34] <jpds> RainCT: Why do you need to backport openssh?
[22:34] <RainCT> jpds: for chroot
[22:35] <RainCT> bug #286337 - there you have the reasons explained
[22:35] <uvirtbot`> Launchpad bug 286337 in hardy-backports "Please backport OpenSSH 5.1 to Hardy" [Wishlist,Won't fix] https://launchpad.net/bugs/286337
[22:35] <RainCT> else I'll just maintain a backport in my PPA, but -backports would be better
[22:38] <jpds> RainCT: Looks like N.Commander's already commented..
[22:38] <RainCT> that's why I just pinged him
[22:38] <RainCT> I've found this just right now
[22:39] <NCommander> RainCT, pong
[22:39] <RainCT> NCommander: no chance to get openssh backported?
[22:39] <NCommander> I'm *extremely hestant* to do it
[22:40] <RainCT> Reason being? That it'll still need to be maintained after Intrepid reaches EOL?
[22:43] <RainCT> NCommander: ^
[22:54] <jam59> Hello folks. Just installed Ubuntu server including the LAMP option but can't get Apache2 to parse PHP files. They run from the command line, however. Any ideas?
[22:56] <RainCT> jam59: any error message?
[22:56] <RainCT> and, just to be sure, you have libapache2-mod-php5 installed?
[22:57] <agentk> jam59: Worked out of the box for me w/ 8.04 and 8.10
[22:57] <jam59> RainCT: The browser tries to download the file with the message: "You have chosen to open [blank] which is a application/x-trash"
[22:58] <jam59> I've run the suggested tests to see if PHP module is installed and it is.
[22:59] <Faust-C> jam59: you restarted apache
[22:59] <jam59> Faust-C: I did.
[23:02] <jam59> Any ideas?
[23:08] <NCommander> RainCT, I'm VERY VERY VERY scared of doing a openssh backport; if it breaks, we're in the ****
[23:09] <RainCT> jam59: how are you trying to access the file?
[23:09] <ScottK> NCommander: + about a billion.
[23:09] <ScottK> NCommander: BTW, did you see what happened with the unbound backport?
[23:09] <RainCT> ohh, it contains ssh-keygen, nice package :P
[23:10] <jam59> RainCT: I'm trying to access it via http and the command line.
[23:10] <NCommander> ScottK, no, obviously something broke if your telling me
[23:10] <RainCT> jam59: yeah, but which URL?
[23:10] <NCommander> Oh
[23:10] <NCommander> FTBFS
[23:10] <jam59> RainCT: The default: jamarks.com
[23:10] <RainCT> NCommander: it's OK, I'll go the PPA way then
[23:10] <ScottK> NCommander: Yeah. Fix committed already.
[23:10] <NCommander> SchneeSchwarz, sorry about that
[23:10] <NCommander> ...
[23:10] <NCommander> damn autocomplete
[23:11] <jam59> RainCT: Right now, index.php is in the default directory for jamarks.com
[23:11] <RainCT> jam59: oh, dedicated server? :). did you modify some config file, and if so can you paste it somewhere?
[23:12] <RainCT> jam59: http://jamarks.com/index.php - works
[23:12] <jam59> RainCT: No, I didn't modify any config files. I just installed Ubuntu - including the LAMP option - and started using the server. index.html works fine when it's enabled. index.php doesn't.
[23:13] <RainCT> jam59: I see a index.php which is working, and the "save.." dialog being showed by index.html
[23:16] <jam59> RainCT: Ok, damn. It's working now. :)
[23:16] <jam59> RainCT: Why do configurations fail UNTIL you ask someone? :)
[23:16] <RainCT> hehe
[23:17] <RainCT> jam59: oh, that's the magic of computing..
[23:17] <jam59> RainCT: Thanks for, you know, whatever you did or didn't do, or for allowing me to look foolish. :)
[23:17] <RainCT> LOL. Always a pleasure ;P
[23:19] <jam59> RainCT: This is weird, though (and maybe why I thought it wasn't working): jamarks.com/index.php works but jamarks.com (without expressly requesting index.php) doesn't.
[23:19] <jam59> RainCT: index.php should be served if no specific page is requested, shouldn't it? Maybe I need to look at the config file. Isn't that always the default?
[23:20] <RainCT> jam59: no, index.html and some other files come before it (perhaps also some default.<something>, not sure if those come before or after index.php)
[23:21] <RainCT> jam59: is index.php the only file you have in there?
[23:22] <jam59> RainCT: I just changed index.php to test.php and reinstated index.html
[23:22] <jam59> RainCT: So now, there are those two files: test.php and index.html
[23:23] <jam59> RainCT: And it's not seeing the index.html by default file when you go to jamarks.com
[23:24] <jam59> RainCT: Except it is in another browser (Safari)... Maybe my Firefox browser is hosed...
[23:25] <RainCT> jam59: try removing/renaming index.html
[23:25] <RainCT> wait, if you renamed index.php nvm
[23:25] <jam59> RainCT: Yeah, it's gotta be the browser. Several other browsers are pulling up the index.html file by default without any problem...
[23:25] <jam59> RainCT: So, again, I look foolish! :)
[23:26] <RainCT> w3m works too
[23:26] <RainCT> jam59: not you, Firefox looks foolish ^^
[23:26] <jam59> RainCT: Thank you. You are too kind.
[23:27] <Pete_> Hello. Can anyone help me get loggerhead to work on apache? I have it running on the localhost:80, but cant get it to work when someone types in : http://bzr.website.com
[23:29] <RainCT> jam59: the files are on /var/www?
[23:32] <jam59> RainCT: Yes, they are at the moment. I'll be setting virtual-name hosts next.
[23:50] <Pete_> no one can help?
[23:54] <ScottK> Pete_: Maybe on #bzr?
[23:55] <Pete_> Scottk: Thanks