[00:17] thanks for helping me out with my broken server, turns out the processor was busted [01:14] kirkland: here? === lamont` is now known as lamont [01:54] anyone here use ubuntu 8.04 as a xen dom0? [02:23] this might help http://www.howtoforge.com/high-performance-xen-on-ubuntu-8.04-amd64 [02:25] thanks, reading it now :) [02:25] d'oh [05:42] hello, i need to setup a dia-up ppope interface on the ubuntu server on the lan card eth0 [07:58] Hello everyone [07:58] I have recently reinstalled my server, but my new hard disk reports: [07:58] ata1.00: status: { DRDY ERR } [07:59] Any way to fix it? === mindframe_ is now known as mindframe [08:23] anyone arownd? [08:38] Hey, does anyone know of a good way to estimate a site's download speed? [08:44] how do you mean furom? === VK5FOSS is now known as Kamping_Kaiser === JaxxMaxx|Away is now known as JaxxMaxx [15:15] * delcoyote hi [16:35] hi [16:52] I have been pulling my hair out - when ever I run wpa_cli I get could not connect to wpa_supplicant retrying [16:56] greets JanC [17:16] I broke my munin server install by rm -rf /var/lib/munin/* Now my munin-update.log says ERROR: Could not rename file: No such file or directory. Any ideas? Can i use apt-get to reload the default files or something? [17:49] help [17:49] Jun 14 09:45:23 [6258] - INFO: Changing type of thing.com -> host.thing.com -> apache_processes -> busy80 to GAUGE. [17:49] Jun 14 09:45:23 [6258] - ERROR: Could not rename file: No such file or directory [17:49] munin error [17:53] can someone paste a working munin-update.log for me so I can see what its suppose to look like? [17:54] osmosis_: what about you create an empty dir /var/lib/munin? (and chown it to munin:munin)? [17:54] asisak: yah, did that already. [17:54] asisak: munin is actually creating some files in there already [17:55] oh I see [17:55] asisak: and all permissions look okay [17:55] i have the web page being generated, no graph [17:55] errors look like this [17:55] http://dpaste.com/56609/ [17:56] This ERROR you cited seems pretty weird, error log does not say anything at all [17:57] Can you reach your munin-node? [17:57] E.g., telnetting to port 4949 [17:58] asisak: yah, that part works fine. [17:58] Can you also query plugins (i.e., do they provide data)? [17:59] asisak: i telnet'd to the hosts and all. munin-update log shows all the connections working fine. at the end of each run though, it spits out those errors and never prints the finished msg. [17:59] asisak: via telnet, yes plugins provided data [18:00] asisak: the only thing that has changed in my environment was that I did a rm -rf /var/lib/munin/* on the server. [18:00] That should not hurt [18:00] asisak: i didnt think so. thats why I did it. [18:00] (except for losing previously acquired data) [18:00] asisak: well, i actually did a mv, so I have all the old files still [18:01] asisak: check out the diff http://dpaste.com/56610/ [18:02] Well, looks very weird [18:03] Sure that munin:munin is the owner of /var/lib/munin? [18:03] asisak: yup [18:03] Okay [18:04] munin-update.stats never gets created. just a tmp. [18:04] and datafile doesnt exist [18:04] dont know what those files do [18:06] I try to have a look at a working installation [18:06] asisak: yah, i dont know what else to try. guess I could just put the old files back. [18:07] BTW why did you delete them? [18:07] asisak: i wanted to reset the data [18:07] It seems that 'datafile' and 'munin-update.stats' both are refreshed [18:07] I guess it is enough to delete the directories [18:07] I am almost sure, actually [18:08] asisak: maybe i can try that [18:08] asisak: i even tried a apt-get remove munin; apt-get install munin [18:08] You might only copy datafile, munin-update.stats and munin-graph.stats back [18:08] asisak: that didnt seem to do anything. maybe i need to dpkg --reconfigure or something like that ? [18:08] And check if it works again [18:12] asisak: i put back the old files and it looks like the errors are gone now. [18:12] asisak: no new graphs yet, but the errors are gone [18:12] okay, now I have graphs too [18:12] good thing I saved the files. :) [18:12] Yep, sure :9 [18:13] I am not aware of your TZ but, the link you sent me (in private) seems to be okay for me [18:13] asisak: good idea on just deleting the rrd files. that might do what I need [18:13] I did that some times :) [18:14] i wonder if a apt-get reconfigure command would have recreated the missing files for me. hmm. [18:14] since this channel is DEAD, guess we'll never know. [18:15] It is not dead [18:15] Actually it is pretty much Saturday everywhere [18:15] hehe, most of the other hardcore channels stay strong through the weekend. no that thats healthy or anything, but its hardcore. [18:15] :D [18:16] there are dudes who are like there 24-7 answering questions i swear [18:16] i go away for 12 months, come back...they are still there. amazing. :) [18:17] 12 months? [18:17] yah, like a break. go outside. get some sun. ya know. [18:18] come back, all kinds of new software to learn. [18:20] Sounds cool [18:21] asisak: do it while you can. now im in a fast paced 9-5 director of development position. === erichammon1 is now known as erichammond === c1|freaky_ is now known as c1|freaky [20:48] Does anyone know how to update megaraid on ubuntu server 8.04 [20:49] the one that it ships with is an older version that isn't fully compatible with my Perc 6i raid controller [20:49] Dell released an updated version but its an rpm package [20:49] does anyone have any experience with this? [20:50] is there a way to restrict ubuntu's nfs-kernel-server to NFSv3 or below? [20:50] I am having trouble getting a network install over NFS to work and need some insight into what's going wrong, but ethereal can't decode NFSv4 [20:50] really what I'm aiming for is to figure out the absolute path of the file it's trying to find [20:50] I know the relative path is valid somewhere, but I'm not sure what it's mounted [20:51] and showmount -d lies in nfs-kernel-server [20:52] I installed LAMP on Ubuntu-server. But /var/www/ is owned by root:root, and I want to write to it somehow (and allow PHP to write to it too). [21:00] Kakurady: it should be owned by www-data i think [21:00] Kakurady: make apache run as user "www" or somethhing similar [21:00] and change the group-ownership [21:00] make the directories setgid and group-writeable [21:00] use sudo to write to it more make it urs with chown [21:01] he wants PHP to be able to write to it [21:01] Okay, and how do I add myself to www-data? [21:02] edit /etc/group and add yourself to the line for www-data [21:02] ... is there any other way...? [21:03] I'm sure there is some hamstrung half-assed GUI tool out there [21:03] if that is what you're asking [21:04] if you want to do it programmatically I think you'd call "id " to ge ta list of current groups, then use "usermod -G" [21:04] or were you even asking if there is any other way to add someone to a group? [21:05] there are other ways to make the directory writeable [21:05] I meant GUI, but command line is fine too, [21:06] though modifying seemed to work... [21:06] :) [21:06] Nautilus still won't let me write in it. [21:07] try this on a command-line: touch /var/www/blahfile [21:07] if that succeeds, it's a Nautilus problem [21:07] if not then you still don't have write permission [21:07] Nope, can't create empty file. [21:07] Neither does mkdir work... [21:07] ok do: ls -l /var | grep www [21:07] and then do: id [21:08] Did all those already [21:08] drwxrwxr-x 3 www-data www-data 4096 2008-06-14 15:49 www [21:08] uid=1000(nekoyasha) gid=1000(nekoyasha) 组=1000(nekoyasha),4(adm), ..., 33(www-data), ... [21:09] well that's odd... try logging out/back in? or reconnecting if you're on a shell [21:14] I wonder if he just found a really obvious solution and left immediately [21:14] or if he's just logging out/in [21:15] Yes, it works now. [21:15] excellent :) [21:15] did you have to log out/in to make it work? [21:15] Yeah. [21:16] ... but Apache can't open what I throw into /var/www ... [21:16] Oh [21:17] ps -ef | egrep 'http|apac' [21:17] Nev [21:17] nvm [21:17] ok [21:17] Maybe I should just let it run under my user/group since I'm probably only running this for myself. [21:18] I'm just guessing here [21:18] but I bet that whatever user apache runs as by default has a restricted or invalid shell [21:18] expressly for security reasons [21:19] www-data:x:33:33:www-data:/var/www:/bin/sh [21:19] Even nobody has a valid shell... [21:20] I can't help you any more right now, but my vote is "no" to making apache run as your user [21:20] it's a really bad habit to get into [21:20] and whatever is holding you up is probably something small [21:21] that you will find after a bit more investigation [21:21] you're close at this point [21:21] Yeah... [21:22] I think I need to search the forum for this, but basically, every file I copy into /var/www gets owned by nekoyasha:nekoyasha, not www-data:www-data. [21:26] chmod g+s /var/www [21:26] for that matter [21:26] chmod -R g+s /var/www; chgrp -R www-data /var/www [21:30] * Kakurady facepaws [21:34] Thanks... [21:34] wat does g+s do [21:35] +s = sticky, I think... [21:35] ahh and wat does chgrp do [21:35] for directories g+s makes any file created in that directory be owned by the group that owns the directory [21:36] for executable files g+s makes the program take on the group that owns the program, rather than the group of the person who ran it [21:36] and chgrp changes which group owns a file or directory [21:36] is it bad to make /var/www user right able so it is essier to put files on it [21:37] write* [21:37] it is bad to make apache run as a normal user, and in particular to make it run as the primary user on a system [21:50] THIS is magpy need a bit of server side get_browser advice, any one at home === cropalat is now known as cropalato [22:52] I think I'm pretty close to getting sasl auth to work, but I'm stuck on this: warning: SASL authentication failure: cannot connect to saslauthd server: Permission denied [22:52] I de-chrooted postfix, added postfix to the sasl group, and checked the perms on /var/run/saslauthd [22:52] what could I be missing? [23:14] !serverguide [23:14] Factoid serverguide not found [23:16] trappist: the serverguide has a section on postfix and configuring it to use dovecot sasl: https://help.ubuntu.com/8.04/serverguide/C/postfix.html [23:16] trappist: but if you need to use cyrus sasl you might double check that the postfix user is in the sasl group (or whatever group owns the sasl dir) [23:18] sommer: I'll check out the howto... postfix is in the sasl group [23:19] what differences are there between dovecot sasl and cyrus that I would need to use cyrus? I'm trying to auth against system accounts, if that makes a difference [23:21] there's not much that I know of... more apps use cyrus at the moment, but the good thing about dovecot sasl is that you can leave postfix in a chroot and still use it [23:22] I've successfully used cyrus with postfix chrooted too, it's just more work [23:22] with cyrus you to use postfix in a chroot you have to change it's directory which can cause issues with other apps, but depending on your server that may not be a problem [23:23] yeah I won't have anything else using sasl for authentication [23:23] I take a look at dovecot sasl it's pretty easy to setup [23:24] I got a guy in #postfix who's maybe onto something, I'll definitely check out dovecot if he runs out of ideas, thanks for the link [23:26] Hello, Has anyone had any experince with Ubuntu Server 8.04 and the Perc 6i/6E RAID controllers? In particular the megaraid drivers