=== PrivateVoid is now known as PrivateVoid_ === PrivateVoid_ is now known as PV_Away === PV_Away is now known as PrivateVoid [01:51] Hi all, has vmware-server for hardy been released yet? [01:54] I've looked through the partner repository and I cannot seem to locate it. [01:59] * owh pokes nijaba in the eye with a fish. === macd_ is now known as macd [02:52] äÏÂÒÏÇÏ ×ÒÅÍÅÎÉ ÓÕÔÏË ×ÓÅÍ! ôÕÔ ÍÏÇÕÔ ÐÏÍÏÞØ Ó samba! Hi all! I need help by samba, pls!! [03:04] nxvl: you were looking for me? [03:08] kirkland: yep [03:08] nxvl: what up [03:08] kirkland: i was wondering, how will the Encrypted Private Directory handled on the upgrade process from hardy to intrepid [03:08] nxvl: not sure yet, we're still discussing it [03:09] or people will need to reinstall to use it [03:09] nxvl: definitely not reinstall [03:09] nxvl: it'll probably be two commands... [03:09] yep, because the policy said you can't touch user dirs [03:09] nxvl: apt-get install ecryptfs-utils [03:09] nxvl: ecryptfs-setup-private [03:10] kirkland: if you don't include them as dependency of (for example) ubuntu-desktop [03:10] nxvl: we added it to the server seed [03:10] nxvl: i think we're going to create a Private directory, perm it 700, and drop a symlink in there that points to ecryptfs-setup-private [03:10] but on desktop the server seed isn't used as far as i know [03:11] nxvl: right, this isn't finalized yet [03:11] so, the current state is "need discussion/work"? [03:13] lamont: If the convention over yet and did you get a chance to look at my scripts? === PrivateVoid_ is now known as PrivateVoid [03:26] hello - I was wondering whether it's possible in a root crontab to redirect STD Output to /dev/null but NOT the errors and warnings so that I get an email about it ? thanks [03:26] command > /dev/null [03:27] sorry I meant the opposite.... [03:27] http://tldp.org/HOWTO/Bash-Prog-Intro-HOWTO-3.html [03:28] actually what I said first was right - Ive made a script that triggers an error yet Im not getting any rmails with the command > /dev/null [03:30] doesn;t seem to be possible to split boths [03:31] so that's because your script doesn't use stderr otherwise > /dev/null would give you only the errors [03:32] http://paste.ubuntu.com/36363/ [03:34] nice example lol [03:35] i suppose I should find out first how those php functions react with stderr, maybe warnings arent stderr [03:36] chipzz@makker:~$ cat test [03:36] #!/bin/sh [03:36] echo out [03:36] echo err >&2 [03:36] chipzz@makker:~$ ./test 2>&1 >/dev/null [03:36] err [03:37] (order of 2>&1 and >/dev/null IS important; swap them around and you won't be getting any output at all) [03:38] ok let me decypher this :) [03:38] It's covered in the link [03:39] it will discard stdout and redirect stderr to stdout [03:40] and the stdout goes to > /dev/null so we dont get naything at all dont we [03:42] * A|ysum is lost [03:43] stgraber: does cron mail stdout, stderr or both? I always get confused about that [03:43] A|ysum: man bash [03:44] Chipzz: I'm not sure, I'd say it send both if something has been sent to stderr. I usually 2>&1 > /dev/zero and use real log files instead of mail [04:13] * Chipzz wrestles bash a little and fails :P [04:16] anyone intinamtely familiar with bash arrays present? [04:17] * Chipzz wonders if the following is possible: [04:17] #!/bin/bash [04:17] a[0]="first element" [04:17] a[1]="second element" [04:17] for z in "${a[@]}"; do echo $z; done [04:17] # Now how do you do this in a subshell??? [04:17] bash -c "for z in ${a[@]}; do echo $z; done" [04:18] (moving the for loop out of the subshell would NOT be a possibility in my case) [04:27] hi all. i'm trying to install calendarserver, and i'm getting a php backtrace. http://paste.ubuntu.com/36375/ does someone know a good place to ask about this? [04:28] because its error refers to /var/spool/caldavd, i'm thinking it might be introduced by the debian patches, but i dont know any python to test the theory [05:00] another question: does ubuntu hardy install suggests: by default? [05:01] kgoetz: No. [05:02] Not recommends either (except on meta-packages). [05:02] ScottK: thanks. guess the error from calendarserver was harmless then [05:30] for the logs: my python problem was a lack of xattr enabled on teh filesystem [06:29] Anyone succeded in installing chrootssh? === chmac is now known as chmac_away [08:40] moin === chmac_away is now known as chmac === chmac7 is now known as chmac [09:40] Hey guys I am running a copy of ubuntu 8.04 server, base install, i have install iptables yet it doesn't log to syslog, what could be stopping this ? i have kern.* /var/log/firewall - restarted syslogd, generated iptables traffic, but nothing gets written to the log ? [09:41] dusty_: are you telling iptables to log? [09:41] of course [09:41] -j LOG --log-level 7 [09:41] its bizarre and driving me mad [09:41] ye wierd [09:41] its not turning up in syslog is it? [09:44] nope [09:44] its not turning up in any logs [09:45] I turned on klogd and got this in kern.log: [09:45] Aug 11 00:18:13 stoned-hacker kernel: Cannot find map file. [09:45] Aug 11 00:18:13 stoned-hacker kernel: No module symbols loaded - kernel modules not enabled. [09:48] dusty_: Er... 7 is DEBUG. [09:48] dusty_: They're unlikely to get logged by default. [09:48] ok what shall i put it to [09:49] Depends. 0 wil most certainly get them logged. [09:49] iptables -A OUTPUT -j LOG --log-tcp-sequence --log-prefix "FIREWALL: OUTPUT PAC$ [09:49] ok [09:49] ...but is not reall appropriate. [09:49] iptables -A OUTPUT -j LOG --log-tcp-sequence --log-prefix FIREWALL: OUTPUT PACKETZ: --log-level 0 [09:49] i changed to that [09:49] lets see [09:49] I'd probably do 4 (WARNING) or 5 (NOTICE). [09:50] Aug 11 00:18:13 stoned-hacker kernel: Cannot find map file. [09:50] Aug 11 00:18:13 stoned-hacker kernel: No module symbols loaded - kernel modules not enabled. [09:50] nothing gets logged dude [09:50] hello [09:51] soren, why wouldn't it log? [09:51] anybody here install ubuntu on dl380 g2? [09:51] dusty_: And you're sure this rule is matched? [09:51] thats a pretty broad rule [09:52] if its output [09:52] Um.. No. [09:52] It's at the end of the chain, so if something else matches, it won't trigger. [09:52] yes, soren i've tested it by flushing all rules and adding: iptables -A INPUT -j LOG [09:52] true [09:52] I have tested by adding this rule: iptables -A INPUT -j LOG [09:52] and only that rule [09:52] and still no logs get generated? [09:52] I don't know what the default log-level is. [09:53] i've tried with --log-level 4 [09:53] let me try again [09:53] Try with 0. That'll get things logged for sure. [09:53] ok [09:53] ...and then adjust afterwards. [09:53] two secs [09:54] Default is 4 (WARNING) [09:55] Is it in dmesg? [09:58] soren, http://rafb.net/p/3YK1tU56.html [09:58] I tested by connecting via ssh and running an nmap scan [09:58] nothing was generated [09:58] but [09:58] if i run dmesg [09:58] its in there [09:59] IN=venet0 OUT= MAC= SRC=81.157.86.77 DST=78.129.229.34 LEN=52 TOS=0x00 PREC=0x00 TTL=47 ID=62548 DF PROTO=TCP SPT=59229 DPT=22 WINDOW=220 RES=0x00 ACK URGP=0 [09:59] IN=venet0 OUT= MAC= SRC=81.157.86.77 DST=78.129.229.34 LEN=100 TOS=0x00 PREC=0x00 TTL=47 ID=62549 DF PROTO=TCP SPT=59229 DPT=22 WINDOW=220 RES=0x00 ACK PSH URGP=0 [09:59] root@stoned-hacker:~# [09:59] how come if i run dmesg its in there? [09:59] why is it not gettting logged to /var/log/firewall ? [09:59] how do i fix this now [09:59] im a little clsoer [10:08] You say klogd is running? [10:38] soren, no its not running at the moment: [10:38] root@stoned-hacker:~# ps aux | grep klogd [10:38] root 7253 0.0 0.2 3008 748 pts/0 S+ 10:38 0:00 grep klogd [10:38] root@stoned-hacker:~# [10:40] soren, why is it going to dmesg if i cat /var/log/dmesg there is nothing in there, if i run the command dmesg i see the logs ? [10:49] <_ruben> dmesg shows the kernel messaging ring buffer .. which usualy is read by klogd and fed to syslogd [10:51] ok well i started klogd -s and it still does not output it into any /var/log file [10:54] any ideas ? [10:54] <_ruben> you shouldnt have to start klogd by hand, though .. perhaps your install is just botched [10:54] hrm well [10:54] can start it via /etc/init.d [10:55] this is the same for all 3 virtual servers i ahve [10:55] not a botched install [10:55] <_ruben> 3 botched installs then [10:55] nope [10:55] ill stat the kernel logger from init.d [10:55] how do i fix this [10:56] root@stoned-hacker:/home/dusty# ps aux | grep klog [10:56] root 10048 0.0 0.2 1776 544 pts/0 S+ 10:55 0:00 /bin/sh /etc/init.d/klogd start [10:56] klog 10064 0.0 0.1 1716 400 pts/0 S+ 10:55 0:00 /sbin/klogd -P /var/run/klogd/kmsg [10:56] klog 10065 0.0 0.0 0 0 ? Zs 10:55 0:00 [klogd] [10:56] root 10087 0.0 0.2 3012 752 pts/1 S+ 10:55 0:00 grep klog [10:56] root@stoned-hacker:/home/dusty# [10:56] Aug 11 10:55:30 stoned-hacker kernel: Cannot find map file. [10:56] Aug 11 10:55:30 stoned-hacker kernel: No module symbols loaded - kernel modules not enabled. [10:56] thats in /var/log/kern.log [10:56] <_ruben> sure doesnt look healthy to me [10:56] ok so [10:56] how would one fix it [10:56] i can reinstall but the same thing happens [10:57] its a virtual environemnt [10:57] its a slice on an openvz host [10:57] i ahve reprovisioned the server a couple times, same effect.. so its not a botched install [10:57] <_ruben> no experience with openvz .. dunno how/it that interferes with its 'guests' [10:57] <_ruben> well .. perhaps the provisioning is flawed in some way [11:01] <_ruben> the fact that klogd turns into a zombie sure aint good [11:05] argh [11:05] dusty_: There's supposed to be a dd process ffeeding stuff from /proc/kmsg into klogd [11:05] ok [11:05] dusty_: I don't know where that could have gone. [11:05] so what do you suggest i do ? [11:06] Dunno. Figure out why it's not starting? [11:06] i've just removed and reinstall klogd/sysklogd [11:06] It's supposed to be started by /etc/init.d/klogd [11:06] yes [11:06] it takes ages starting it [11:06] Try starting it by hand and see what happens. [11:06] /bin/dd -b -m -- bs=1 if=/proc/kmsg [11:06] run that command ? [11:10] sommer, ? [11:10] soren, ? [11:11] look guys~: http://rafb.net/p/wNExwl27.html [11:13] dusty_: Yes. [11:13] what do i do from here [11:13] 10:06:34 < soren> Try starting it by hand and see what happens. [11:13] 10:06:35 < soren> /bin/dd -b -m -- bs=1 if=/proc/kmsg [11:14] root@stoned-hacker:~# /bin/dd -b -m -- bs=1 if=/proc/kmsg [11:14] /bin/dd: invalid option -- b [11:14] Try `/bin/dd --help' for more information. [11:14] root@stoned-hacker:~# [11:14] sorry, my bad. [11:14] /bin/dd bs=1 if=/proc/kmsg [11:15] that works [11:16] <0>IN=venet0 OUT= MAC= SRC=81.157.86.77 DST=78.129.229.34 LEN=52 TOS=0x00 PREC=0x00 TTL=47 ID=53538 DF PROTO=TCP SPT=61114 DPT=22 WINDOW=922 RES=0x00 ACK URGP=0 [11:16] <0>IN=venet0 OUT= MAC= SRC=81.157.86.77 DST=78.129.229.34 LEN=100 TOS=0x00 PREC=0x00 TTL=47 ID=53539 DF PROTO=TCP SPT=61114 DPT=22 WINDOW=922 RES=0x00 ACK PSH URGP=0 [11:16] 77492+0 records in [11:16] 77492+0 records out [11:16] 77492 bytes (77 kB) copied, 5.66328 s, 13.7 kB/s [11:16] root@stoned-hacker:~# [11:16] i set up a ubuntu server via samba for sharing and store files in there, i would like to add a printer but i don't know how to do it. and is this is the best way to share files and store files(trough samba) or there is another? [11:17] dusty_: What about: [11:17] /bin/dd bs=1 if=/proc/kmsg of=/var/run/klogd/kmsg [11:18] just hangs there ? [11:18] no [11:18] root@stoned-hacker:~# /bin/dd bs=1 if=/proc/kmsg of=/var/run/klogd/kmsg [11:18] then it doesn't do anything [11:18] What makes you say that? [11:18] nothing is returned like in the last command [11:18] There's more to "doing" than "returning", you know. [11:19] ok so what should i be checking [11:20] soren, ?! [11:20] We wanted to see if that command worked. It seems to. [11:20] ok [11:20] dusty_: Calm down, please. [11:20] sorry [11:20] i have 3 servers like this im getting worried [11:20] So now you need to work out why the init script fails, when running dd from the command line works fine. [11:21] # shovel /proc/kmsg to pipe readable by klogd user [11:21] start-stop-daemon --start --pidfile $kmsgpidfile --exec /bin/dd -b -m -- bs=1 if=/proc/kmsg of=$kmsgpipe [11:21] thats what it runs [11:21] root@stoned-hacker:/etc# ls /boot/ [11:21] root@stoned-hacker:/etc# [11:22] # Use KLOGD="-k /boot/System.map-$(uname -r)" to specify System.map [11:22] # [11:22] KLOGD="-P $kmsgpipe" [11:22] there doesn't appear to be that file [11:22] and look what it errors with in kern.log: [11:22] Which file? [11:22] Aug 11 10:55:30 stoned-hacker kernel: Cannot find map file. [11:22] Aug 11 10:55:30 stoned-hacker kernel: No module symbols loaded - kernel modules not enabled. [11:22] the System.map-$(uname -r) [11:22] it says it cant find the map file [11:22] there isn't one in boot [11:22] That shouldn't matter. [11:22] oh [11:22] ok [11:23] i dont know then? [11:23] Don't know what? [11:23] i dont know why this isnt working then [11:23] Well, no. You wouldn't be here if you did, would you? :) [11:23] /bin/dd -b -m -- bs=1 if=/proc/kmsg of=$kmsgpipe [11:23] thats the dd command it runs [11:23] That won't work. [11:23] " -b -m" is for start-stop-daemon. [11:24] # shovel /proc/kmsg to pipe readable by klogd user [11:24] start-stop-daemon --start --pidfile $kmsgpidfile --exec /bin/dd -b -m -- bs=1 if=/proc/kmsg of=$kmsgpipe [11:24] yeah [11:24] Please stop pasting that. [11:24] I have the same file here. [11:24] sorry [11:25] there is not much in that file to go wrong ? [11:25] are you 100% sure it doesn't need system map [11:25] no. [11:27] ...but it's not klogd that is failing, is it? [11:30] well what is ? [11:30] klogd fails to start? [11:31] what is fialing then soren ? [11:31] dd, it would seem. [11:32] hrm [11:32] ok [11:32] so how do i fix it ? [11:32] I can't imagine why. Did you change the script at all? [11:34] want me to pastebin it? [11:34] have you changed it? [11:34] Give me the md5sum first. [11:34] no i have not changed it, how do i find the md5sum ? [11:35] md5sum /etc/init.d/klogd [11:36] root@stoned-hacker:/etc# md5sum /etc/init.d/klogd [11:36] a670af296df67a3c3ad544ee5f5b5152 /etc/init.d/klogd [11:36] Doesn't match mine. Please pastebin it. [11:36] ok [11:37] http://rafb.net/p/2nu8WZ60.html [11:38] Does rafb.net offer raw downloads? [11:38] no idea [11:38] where would you prefer me to paste? [11:38] Anything but rafb, probably [11:38] !pastebin [11:38] pastebin 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) [11:38] i could just cat /etc/init.d/klogd >> to my webspace ? [11:38] Whereever. [11:39] http://paste.ubuntu.com/36492/ [11:40] Looks close enough. [11:40] hrm [11:42] soren, http://paste.ubuntu.com/36497/ might be of some use ? [11:42] I don't know dude. I'd try stracing it or something. [11:42] That looks fine. [11:42] ok [11:43] I'd try "sudo strace -f -o foo.log /etc/init.d/klogd start", kill it after a while and then look at the parts relating to dd. [11:44] ok [11:47] hrm [11:47] http://www.fuckthegov.co.uk/foo.log soren take a look at that [11:48] there are a lot of no such file or directory [11:48] so im guessing im missing something ? [11:49] No, that's fine. [11:49] It looks like it worked fine. [11:49] hm [11:49] wtf [11:49] so what now ? [11:50] Don't know. right now, I'm suspecting openvz. [11:50] And I'm also going to lunch. [11:50] ok [11:50] what could be that openvz wont allow logging? [11:52] <_ruben> i'd contact the owner of that box to see if its a common issue or smth [11:53] i already have they are not aware of anything [11:53] but they dont know much themselves [11:55] <_ruben> scary [11:56] im tempted to reprovision the server to some other distro and see if it works on there [11:56] like centos [12:04] ok [12:05] just reprovisioned the sevrer with debian on [12:05] and it worked fine [13:07] ti0tltp [13:20] Evening all [13:21] New bug: #256920 in nagios2 (universe) "nagios2 won't install/update" [Undecided,New] https://launchpad.net/bugs/256920 [13:24] morning [13:54] Yep. Morning here too. [14:05] agreed [14:09] kirkland: hey, the doc.u.c probably won't be updated for a while due to layout changes, but the raid section is up here: http://doc.ubuntu.com/~mdke/test/serverguide/C/ [14:09] just fyi :) [14:10] sommer: cool, thanks [14:10] sommer: i'll take a look [14:10] kirkland: great, no big rush [14:10] sommer: hmm, first thing i notice is that that page doesn't contain the word "RAID" :-) [14:11] sommer: what section? [14:11] sommer: ah, installation [14:11] kirkland: ya, sorry advanced installation... I was thinking another advanced section would be lvm === jonesy_ is now known as jonesy [15:29] Any zealots around? Trying to piece together an argument for 8.04LTS over SuSE LES for a webapp cluster deployment, but it my fire seems to die out after "I don't like YaST". [15:30] package management ftw [15:31] no licence tracking (dependintg on where the cluster is of course) [15:34] pwagner: debian :p [15:34] <_ruben> bah .. why does irssi clear ur scrollback when you get reconnected a server :/ [15:35] i dont get that :/ [17:30] Hi, does this channel provide support for ubuntu-vm-builder ? [17:31] #ubuntu-virt I think [17:32] thanks :) [18:13] Anyone succeded in installing chrootssh? [18:53] ScottK: got home about 2AM last night [18:53] ScottK: today is honey-do and recovery, I'll be catching up on -dev stuff tomorrow after work [18:59] OK. Thanks. [18:59] lamont: I've got other stuff that's dependent on that, so ... [19:01] anybody here install ubuntu on dl380 g2? [19:01] ubuntu-server* [19:04] LudeRacer: yes. [19:04] :D awsome i read around on the forum and tried some of the things they suggested but have been able to do it [19:05] do u have any links or anything i can read on how i may do it couse for me the install freezes [19:05] ehrm. works fine for us. [19:06] what controller card? [19:06] smart array 5i? [19:06] Just works for us too. Hm. Not sure we have done a ubuntu-installer install on them in modern days though. [19:06] a dl380 g2? [19:06] werid [19:07] coudl be a g3, but I think we did g2s too. [19:07] i knw the g3 has no problem installing [19:07] its supported [19:07] g2 is the p3 ones, g3 is netburst, right? [19:07] yes [19:07] oh. actually dl385 g2s... [19:08] let me go check the machine room. :) [19:08] hehe thanks [19:08] i been trying for weeks [19:08] reading [19:09] yea. can't find a dl380 g2, just the dl385 g2s [19:10] yeh diff [19:10] this is a dl380R02 [19:10] ie dl380 g2 [19:10] hm. none currently running, but we have a couple on a shelf and I'm pretty sure they have been booted up and poked around in. [19:11] but then, we install through FAI [19:11] ScottK: ok. tomorrow it is [19:11] Thanks. [19:11] FAI? [19:11] over lan img program/? [19:12] http://www.informatik.uni-koeln.de/fai/ [19:12] ScottK: meh. /me has a 3:30 in town... so I'll get about 30 min in around 1830 UTC, and then more after that [19:12] OK. [19:12] you' [19:12] ll be around? [19:12] Should be. [19:12] I need to run to the bank at some point. [19:12] LudeRacer: so I'm not sure I can help out very much. what version are you trying to install? hardy? [19:13] yes 8.04 [19:13] lamont: You mean tomorrow? [19:13] i have also tried 7.10 to with no luck [19:13] lamont: No, I'll be offline during the day tomorrw. [19:13] also read around and black listed drivers durning install with no luck [19:13] * ScottK will be doing data analysis onsite with a customer. [19:19] maswan, think maybe you could please ask any co-workers if they have done so? [19:20] i got sum stuff i gotta try so ill be idle for a bit [19:20] if u could just shoot me a pm pls [19:20] thanks [19:25] LudeRacer: is this repeateable on serveral dl380 g2s, or just the one? [19:58] zul: can you sponsor the patch attached to https://bugs.launchpad.net/ubuntu/+source/ecryptfs-utils/+bug/255795 ? [19:58] Launchpad bug 255795 in ecryptfs-utils "Gnome Screensaver doesn't unlock if ecryptfs is set in pam" [High,Confirmed] [19:59] kirkland: perhaps.. [20:01] kirkland: done [20:01] zul: rock on, thanks! [20:04] np [21:04] Hola [21:04] Spanish? [21:05] English [21:05] :( [21:05] !es [21:05] En la mayoría de canales Ubuntu se comunica en inglés. Para ayuda en Español, por favor entre en los canales #ubuntu-es o #kubuntu-es. [21:05] pero necesito ayuda sobre server :D [21:05] I can't understand that. [21:08] http://gizmodo.com/5035456/blue-screen-of-death-strikes-birds-nest-during-opening-ceremonies-torch-lighting [21:34] someone please refesh my memory... where can I new environment variable be permanently added? For all users and scripts to make use of? [21:46] maw_: /etc/profile perhaps? [21:57] kirkland: thank you for select-editor! [21:57] no mora nano nightmare \o/ [21:57] nxvl: ;-) [21:58] yesterday i saw it while using my intrepid VM [21:58] it's awesome [22:00] nxvl: did you, say, "Whoa, what's that?" [22:04] kirkland: exactly [22:04] kirkland: i was like "woohhoo, what's what, that's awesome!!" [22:04] i get really exited, i need to tell the true [22:05] nxvl: ;-) glad you're in favor [22:05] i am setting up my vpn in ubuntu server when i run this command . ./vars i appear it no such file or directory [22:07] -bash :/whichopensslcnf :no such file or directory === macd_ is now known as macd [23:05] nxvl: why not just use update-alternatives ? [23:54] Can anyone tell me what is wrong here: http://rafb.net/p/xukEz028.html it doesn't log any traffic ?