/srv/irclogs.ubuntu.com/2008/06/14/#ubuntu-server.txt

a13xthanks for helping me out with my broken server, turns out the processor was busted00:17
emgentkirkland: here?01:14
=== lamont` is now known as lamont
teamcobraanyone here use ubuntu 8.04 as a xen dom0?01:54
thenewguy_this might help http://www.howtoforge.com/high-performance-xen-on-ubuntu-8.04-amd6402:23
teamcobrathanks, reading it now :)02:25
teamcobrad'oh02:25
liassisthello, i need to setup a dia-up ppope interface on the ubuntu server on the lan card eth005:42
airstrikeivanovHello everyone07:58
airstrikeivanovI have recently reinstalled my server, but my new hard disk reports:07:58
airstrikeivanovata1.00: status: { DRDY ERR }07:58
airstrikeivanovAny way to fix it?07:59
=== mindframe_ is now known as mindframe
geegollygaucheanyone arownd?08:23
FuRomHey, does anyone know of a good way to estimate a site's download speed?08:38
geegollygauchehow do you mean furom?08:44
=== VK5FOSS is now known as Kamping_Kaiser
=== JaxxMaxx|Away is now known as JaxxMaxx
* delcoyote hi15:15
LMJhi16:35
TechiedragonI have been pulling my hair out - when ever I run wpa_cli I get could not connect to wpa_supplicant retrying16:52
Techiedragongreets JanC16:56
osmosis_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:16
osmosis_help17:49
osmosis_Jun 14 09:45:23 [6258] - INFO: Changing type of thing.com -> host.thing.com -> apache_processes -> busy80 to GAUGE.17:49
osmosis_Jun 14 09:45:23 [6258] - ERROR: Could not rename file: No such file or directory17:49
osmosis_munin error17:49
osmosis_can someone paste a working munin-update.log for me so I can see what its suppose to look like?17:53
asisakosmosis_: what about you create an empty dir /var/lib/munin? (and chown it to munin:munin)?17:54
osmosis_asisak: yah, did that already.17:54
osmosis_asisak: munin is actually creating some files in there already17:54
asisakoh I see17:55
osmosis_asisak: and all permissions look okay17:55
osmosis_i have the web page being generated, no graph17:55
osmosis_errors look like this17:55
osmosis_http://dpaste.com/56609/17:55
asisakThis ERROR you cited seems pretty weird, error log does not say anything at all17:56
asisakCan you reach your munin-node?17:57
asisakE.g., telnetting to port 494917:57
osmosis_asisak: yah, that part works fine.17:58
asisakCan you also query plugins (i.e., do they provide data)?17:58
osmosis_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
osmosis_asisak: via telnet, yes plugins provided data17:59
osmosis_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
asisakThat should not hurt18:00
osmosis_asisak: i didnt think so. thats why I did it.18:00
asisak(except for losing previously acquired data)18:00
osmosis_asisak: well, i actually did a  mv, so I have all the old files still18:00
osmosis_asisak: check out the diff  http://dpaste.com/56610/18:01
asisakWell, looks very weird18:02
asisakSure that munin:munin is the owner of /var/lib/munin?18:03
osmosis_asisak: yup18:03
asisakOkay18:03
osmosis_munin-update.stats  never gets created. just a tmp.18:04
osmosis_and datafile doesnt exist18:04
osmosis_dont know what those files do18:04
asisakI try to have a look at a working installation18:06
osmosis_asisak: yah, i dont know what else to try. guess I could just put the old files back.18:06
asisakBTW why did you delete them?18:07
osmosis_asisak: i wanted to reset the data18:07
asisakIt seems that 'datafile' and 'munin-update.stats' both are refreshed18:07
asisakI guess it is enough to delete the directories18:07
asisakI am almost sure, actually18:07
osmosis_asisak: maybe i can try that18:08
osmosis_asisak: i even tried a  apt-get remove munin; apt-get install munin18:08
asisakYou might only copy datafile, munin-update.stats and munin-graph.stats back18:08
osmosis_asisak: that didnt seem to do anything. maybe i need to  dpkg --reconfigure or something like that ?18:08
asisakAnd check if it works again18:08
osmosis_asisak: i put back the old files and it looks like the errors are gone now.18:12
osmosis_asisak: no new graphs yet, but the errors are gone18:12
osmosis_okay, now I have graphs too18:12
osmosis_good thing I saved the files. :)18:12
asisakYep, sure :918:12
asisakI am not aware of your TZ but, the link you sent me (in private) seems to be okay for me18:13
osmosis_asisak: good idea on just deleting the rrd files. that might do what I need18:13
asisakI did that some times :)18:13
osmosis_i wonder if a apt-get reconfigure command would have recreated the missing files for me. hmm.18:14
osmosis_since this channel is DEAD, guess we'll never know.18:14
asisakIt is not dead18:15
asisakActually it is pretty much Saturday everywhere18:15
osmosis_hehe, most of the other hardcore channels stay strong through the weekend. no that thats healthy or anything, but its hardcore.18:15
asisak:D18:15
osmosis_there are dudes who are like there 24-7 answering questions i swear18:16
osmosis_i go away for 12 months, come back...they are still there. amazing. :)18:16
asisak12 months?18:17
osmosis_yah, like a break. go outside. get some sun. ya know.18:17
osmosis_come back, all kinds of new software to learn.18:18
asisakSounds cool18:20
osmosis_asisak: do it while you can. now im in a fast paced 9-5 director of development position.18:21
=== erichammon1 is now known as erichammond
=== c1|freaky_ is now known as c1|freaky
jamboodaDoes anyone know how to update megaraid on ubuntu server 8.0420:48
jamboodathe one that it ships with is an older version that isn't fully compatible with my Perc 6i raid controller20:49
jamboodaDell released an updated version but its an rpm package20:49
jamboodadoes anyone have any experience with this?20:49
sayotteis there a way to restrict ubuntu's nfs-kernel-server to NFSv3 or below?20:50
sayotteI 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 NFSv420:50
sayottereally what I'm aiming for is to figure out the absolute path of the file it's trying to find20:50
sayotteI know the relative path is valid somewhere, but I'm not sure what it's mounted20:50
sayotteand showmount -d lies in nfs-kernel-server20:51
KakuradyI 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).20:52
thenewguyKakurady: it should be owned by www-data i think21:00
sayotteKakurady: make apache run as user "www" or somethhing similar21:00
sayotteand change the group-ownership21:00
sayottemake the directories setgid and group-writeable21:00
thenewguyuse sudo to write to it more make it urs with chown21:00
sayottehe wants PHP to be able to write to it21:01
KakuradyOkay, and how do I add myself to www-data?21:01
sayotteedit /etc/group and add yourself to the line for www-data21:02
Kakurady... is there any other way...?21:02
sayotteI'm sure there is some hamstrung half-assed GUI tool out there21:03
sayotteif that is what you're asking21:03
sayotteif you want to do it programmatically I think you'd call "id <user>" to ge ta list of current groups, then use "usermod <user> -G<group list, including the new group>"21:04
sayotteor were you even asking if there is any other way to add someone to a group?21:04
sayottethere are other ways to make the directory writeable21:05
KakuradyI meant GUI, but command line is fine too,21:05
Kakuradythough modifying seemed to work...21:06
sayotte:)21:06
KakuradyNautilus still won't let me write in it.21:06
sayottetry this on a command-line: touch /var/www/blahfile21:07
sayotteif that succeeds, it's a Nautilus problem21:07
sayotteif not then you still don't have write permission21:07
KakuradyNope, can't create empty file.21:07
KakuradyNeither does mkdir work...21:07
sayotteok do: ls -l /var | grep www21:07
sayotteand then do: id <your username>21:07
KakuradyDid all those already21:08
Kakuradydrwxrwxr-x  3 www-data www-data 4096 2008-06-14 15:49 www21:08
Kakuradyuid=1000(nekoyasha) gid=1000(nekoyasha) 组=1000(nekoyasha),4(adm), ..., 33(www-data), ...21:08
sayottewell that's odd... try logging out/back in? or reconnecting if you're on a shell21:09
sayotteI wonder if he just found a really obvious solution and left immediately21:14
sayotteor if he's just logging out/in21:14
KakuradyYes, it works now.21:15
sayotteexcellent :)21:15
sayottedid you have to log out/in to make it work?21:15
KakuradyYeah.21:15
Kakurady... but Apache can't open what I throw into /var/www ...21:16
KakuradyOh21:16
sayotteps -ef | egrep 'http|apac'21:17
KakuradyNev21:17
Kakuradynvm21:17
sayotteok21:17
KakuradyMaybe I should just let it run under my user/group since I'm probably only running this for myself.21:17
sayotteI'm just guessing here21:18
sayottebut I bet that whatever user apache runs as by default has a restricted or invalid shell21:18
sayotteexpressly for security reasons21:18
Kakuradywww-data:x:33:33:www-data:/var/www:/bin/sh21:19
KakuradyEven nobody has a valid shell...21:19
sayotteI can't help you any more right now, but my vote is "no" to making apache run as your user21:20
sayotteit's a really bad habit to get into21:20
sayotteand whatever is holding you up is probably something small21:20
sayottethat you will find after a bit more investigation21:21
sayotteyou're close at this point21:21
KakuradyYeah...21:21
KakuradyI 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:22
sayottechmod g+s /var/www21:26
sayottefor that matter21:26
sayottechmod -R g+s /var/www; chgrp -R www-data /var/www21:26
* Kakurady facepaws21:30
KakuradyThanks...21:34
thenewguywat does g+s do21:34
Kakurady+s = sticky, I think...21:35
thenewguyahh and wat does chgrp do21:35
sayottefor directories g+s makes any file created in that directory be owned by the group that owns the directory21:35
sayottefor executable files g+s makes the program take on the group that owns the program, rather than the group of the person who ran it21:36
sayotteand chgrp changes which group owns a file or directory21:36
thenewguyis it bad to make /var/www user right able so it is essier to put files on it21:36
thenewguywrite*21:37
sayotteit is bad to make apache run as a normal user, and in particular to make it run as the primary user on a system21:37
air-wolf-000THIS is magpy need a bit of server side get_browser advice, any one at home21:50
=== cropalat is now known as cropalato
trappistI 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 denied22:52
trappistI de-chrooted postfix, added postfix to the sasl group, and checked the perms on /var/run/saslauthd22:52
trappistwhat could I be missing?22:52
sommer!serverguide23:14
ubottuFactoid serverguide not found23:14
sommertrappist: the serverguide has a section on postfix and configuring it to use dovecot sasl: https://help.ubuntu.com/8.04/serverguide/C/postfix.html23:16
sommertrappist: 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:16
trappistsommer: I'll check out the howto... postfix is in the sasl group23:18
trappistwhat 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 difference23:19
sommerthere'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 it23:21
trappistI've successfully used cyrus with postfix chrooted too, it's just more work23:22
sommerwith 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 problem23:22
trappistyeah I won't have anything else using sasl for authentication23:23
sommerI take a look at dovecot sasl it's pretty easy to setup23:23
trappistI 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 link23:24
jamboodaHello,  Has anyone had any experince with Ubuntu Server 8.04 and the Perc 6i/6E RAID controllers?  In particular the megaraid drivers23:26

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