[00:44] Is there any way for a non-administrative user to have something run automatically at startup/ [00:45] tsrk: afteror before that user logs in? [00:45] JanC, before, when the system starts up [00:46] like when apache starts [00:49] tsrk: first of all you want to restrict what people can do in such a case [00:49] JanC, by default is there a way to do it? [00:53] tsrk: not AFAIK, as it's potentially dangerous... [00:53] JanC, ok, but how is it any more dangerous than user crontabs? [00:55] tsrk: well, if running as the user is okay, I guess user crontabs can already do what you want? [00:57] JanC, that wouldn't be ideal since I only want one instance running and it'd be best if I didn't have to wait for the next cron cycle for it to start [00:58] Regular init scripts start processes as a certain user all the time. [00:58] I'm not sure what you're asking for that's unusual. [01:00] ScottK: except if he wants the user to "install" arbitrary things to start? [01:01] No, but the question was run, not install. [01:01] You can have an init script start some thing as any user. [01:01] I want something like a user crontab but just for starting things when the system starts [01:02] So write a script to do what you want and have an init script fire it off. [01:08] and don't let users change it, except in a very controlled way... [01:10] ok [01:10] I'll try that, thanks [01:32] A user can start something at boot with cron via @reboot [01:35] hads, wow, thanks! that's exactly what i wanted! [01:35] it makes so much sense :P [01:38] Cool :) [04:44] Hello, I was wondering is there a to setup a Mail Server so it can pull a pop3 account like Evolution or Thunderbird? I have gmail. [05:16] is it possible to tell ubuntu-vm-builder or vmuilder vmbuilder to create an OVF Compliant image? [05:29] oh_noes: what is an OVF? [05:29] Oopen Virtualization Format [05:29] Open* [05:30] Or in others words, I'm having no luck getting vmbuilder/ubuntu-vm-builder to create a VM that ESX/ESXi can import. [05:31] Ah, so OVF is a new native format for ESX, Xen and whatever Microsoft's native virtualization is called? [05:33] I'm not sure specifically, but it's the first attempt to create a single image that all platforms support and can run [05:33] Cool. [05:33] qemu-img is a bitch [05:33] Not that I can actually help with your problem... [05:44] twb: ironically .. your might have just give me a workaround. I'm thinking I might have to use vmbuilder to spit out a XEN image, then qemu-img to convert to ESX [05:44] twb: do you know what package qemu-img comes in? [05:44] oh_noes: qemu [05:48] oh_noes: to save you time [05:49] Supported format: parallels qcow2 vvfat vpc bochs dmg cloop vmdk qcow cow host_device raw [05:53] twb: well,the interesting thing is that the vmdk `vmbuilder` is creating isn't a proper ESX vmdk [05:53] and it cant be imported [05:53] That's probably because it has some plain text shit at the top [05:54] try #qemu, I don't know much about it [05:54] Oh, really? I didnt realize the vmbuilder to vmdk creation was actually a qemu problem. Hrmmm [07:21] New bug: #335087 in samba (main) "samba segfault" [Undecided,Incomplete] https://launchpad.net/bugs/335087 [07:36] is it possible to apt-get install the developement/trunk version of vmbuilder? (it has ESXi support I need) [07:36] https://code.launchpad.net/~ubuntu-virt/vmbuilder/trunk [08:20] hi guys, I don't seem to have a debian-sys-maint account even though i've installed LAMP server [08:20] any ideas? [08:40] hi. I have a server (firewall) with 4 nic's. I have set one nic as gateway (the one connected to the DHCP ADSL modem), but DNS resolving still seems to use the wrong nic. how would I tell linux what nic to use for DNS? [08:42] jwstolk: you set your default gateway/interface [08:42] I did. (in /etc/network/interfaces) [08:43] so when you run route? [08:43] (pastebin the output) [08:46] http://pastebin.com/m79ca1ae3 [08:46] and which interface do you expect/want your traffic going out? [08:46] should go over eth2 [08:46] and where is it going? [08:48] not sure. it was working when I had the 10.0.0.0 subnet on eth1. I can still ping google and my http servers on the 10.0.0.x subnet. but can't ping "www.google.com" [08:48] (can if I use google IP directly) [08:49] well what's your DNS set to? [08:49] (cat /etc/resolv.conf) [08:50] output: 10.0.0.138 (my ADSL modem) [08:51] Speedtouch [08:51] well, you have your interfaces confused, probably [08:51] because there's no way it's routing 10.0.0.138 over anything but eth2 [08:51] I bet you got them switched [08:51] use ping -I ethX [08:51] btw [08:52] to confirm [08:52] I'll have another look. I checks hardware addresses, etc. [08:52] either there's some misconfiguration in your network [08:52] or you have your wires crossed [08:52] because your routes are fine [08:52] ok thanks. [08:52] and if you're able to get traffic to the internet ... then your computer can obviously contact .138 [08:52] since it's your gateway [08:52] so if .138 is also your dns [08:53] clearly you've broken dns or something [08:53] if I were you, I'd be using a tap/hub [08:53] and capturing traffic on each interface with another machine one by one [08:53] until I isolated the problem [08:53] (ping -I eth2 10.0.0.138 works fine) [08:53] as it should [08:53] and ping -I eth2 4.2.2.2? [08:54] hmm. too [08:54] ok [08:54] now "traceroute 4.2.2.2" [08:55] pastebin the output [08:55] don't have traceroute installed yet, and apt-get is tricky without working dns... [08:55] just copy the package over manually then [08:56] it doesn't have any dependencies beyond libc [08:56] usbkey, or something [08:56] ok [08:56] what release of ubuntu are you running? [08:56] ubuntu-server 8.10, 64-bit [08:57] hmm, packages search is down, lame [08:58] http://us.archive.ubuntu.com/ubuntu/pool/main/t/traceroute/traceroute_2.0.11-2_amd64.deb [08:58] just copy it over and run "dpkg -i traceroute_2.0.11-2_amd64.deb" [08:58] thanks. (I was adding the ubuntu server to hosts...) [08:59] yeah, that works too [08:59] http://91.189.88.31/ubuntu/pool/main/t/traceroute/traceroute_2.0.11-2_amd64.deb [09:03] any luck? [09:03] hosts didn't work. [09:03] what? [09:03] trying wget [09:03] I gave you the url with an ip [09:05] hello? [09:05] wget also doesn't work. I think I better re-check the cabeling. I will be back later. [09:05] ok [09:05] well I'm off to bed [09:06] ok thanks [09:07] moin [10:00] traceroute does have dependencies. like send :-( [10:03] <_ruben> jwstolk: whats the exact contents of /etc/resolv.conf? and you could modify your /etc/apt/sources.list and replace the hostnames by ips, no need to download packages manually then [10:05] something else is going on. I added the package server to the hosts file, and even wget with IP's doesn't work. [10:06] resolv.conf: http://pastebin.com/m2db01509 [10:07] <_ruben> oh .. i misread your comment on using wget with ip's [10:07] <_ruben> resolv.conf looks good [10:07] strange that wget doesn't work but ping does. [10:08] <_ruben> that's a diff problem [10:09] <_ruben> $ curl -I http://91.189.88.31/ubuntu/pool/main/t/traceroute/traceroute_2.0.11-2_amd64.deb | grep Loc [10:09] <_ruben> Location: http://archive.ubuntu.com/ubuntu/pool/main/t/traceroute/traceroute_2.0.11-2_amd64.deb [10:09] <_ruben> it redirects to the fqdn [10:09] oh [10:10] <_ruben> use 213.136.29.211 instead .. its the dutch mirror which doesnt do any redirecting [10:10] well, I copied traceroute using an usb stick, but now I need "send"... [10:11] I'm wondering it would be simpler to re-install ubuntu, with the modem connected to the correct nic in the first place. [10:13] <_ruben> just read a bit more history .. so you just changed the network port you hooked the modem on to? .. could you pastebin a small network diagram (which nic goes where), and the output of 'ip route' and 'ip addr' [10:16] 213.136.29.211 was the one I added to my hosts file. didn't work. [10:17] I insatlled ubuntu while connected using the on-board nick. then I configured the other 3 nics in /etc/networks/interfaces, and moved the modem to the new nic. [10:18] I a added firewall rule to allow everything from the firewall to the internet. [10:18] I'm logged into the firewall over SSH from the same subnet (and same nic) as the ADSL modem. (so the nic itself works) [10:18] try using nameserver 4.2.2.2 [10:19] open public recursive dns server [10:19] <_ruben> oh .. there are firewall rules in places as well .. then please pastebin the output of 'sudo iptables-save' .. and i do assume you restarted the networking of that box after changing wires and editing the interfaces file [10:19] yes [10:19] while box, several times [10:19] <_ruben> ok [10:23] <_ruben> (or flush all firewall rules to make sure those dont interfere) [10:23] iptables shows 279 lines. is that usefull? (I'm using "vuurmuur"). I think I should just sort out some things instead of waisting everyones time here. I'll be back later if thats ok. [10:24] <_ruben> it could very well that vuurmuur isnt aware (yet) of your altered nic usage [10:24] I installed vuurmuur after the change [10:25] <_ruben> didnt work befure you installed vuurmuur either ? [10:25] didn't try [10:25] <_ruben> so it could be a vuurmuur config problem [10:25] <_ruben> so i'd try disabling it for a bit, and see if anything changes [10:26] I already disbaled vuurmuur. should I flush the iptables rules as well? [10:26] <_ruben> if iptables-save still shows 279 lines, then yes [10:28] <_ruben> for a complete flush: echo -e "*filter\n:INPUT ACCEPT\n:FORWARD ACCEPT\n:OUTPUT ACCEPT\nCOMMIT" | sudo iptables-restore [10:29] that fixed it [10:29] I can ping www.google.com now [10:29] <_ruben> firewalls are the first thing to disable when troubleshooting network problems (when possible ofcourse) [10:30] started vuurmuur, no ping anymore. it's the problem [10:30] ok thank you. [10:33] <_ruben> :) [10:33] <_ruben> firewalls are a good thing, but only when properly configured :) [10:34] I have only accept rules, including one that alows everthing from firewall to internet. [10:34] <_ruben> "only accept rules", but probably a default policy of DROP or REJECT [10:35] yes [10:35] <_ruben> and only allowing from firewall to internet isnt enough, you'd have to atleast allow (inbound) related/established traffic for instance [10:36] <_ruben> tho i kinda assume (or hope actually) that vuurmuur takes care of that [10:36] <_ruben> and that's why i prefer to write my own firewall scripts/configs personally :) [10:36] :) [10:39] could have something to do with the fact that my hostname isn't "firewall" for some reason. after I added a rule for "any" the google ping works [10:40] I must hav picked the wrong host name the last time I re-installed ubuntu-server [10:40] <_ruben> i never user vuurmuur myself (only know it by name), cant really help with its config ;) [10:40] <_ruben> 'hostname' oughta tell you its hostname [10:40] <_ruben> as do most (bash) prompts [10:41] it was on the prompt, I just didn't notice it before [10:41] hello, I'm trying to restrict ssh access only to one user, I added "AllowUsers MyUser " in ssh_conf but others can access [10:42] <_ruben> achilles: you need sshd_conf [10:42] <_ruben> ssh_conf is for the client [10:43] _ruben, oh thank you [11:55] guys anyone know a guide on how to setup ubuntu server to connect to mssql? [11:56] cause all im finding is shit guides that don't work [11:56] and people doing "freetds ffs" [11:58] <_ruben> freetds is what a collegue of mine used ages ago, worked reasonably back then (years ago) [11:58] I can't seem to find a guide tho [11:58] one that works :D [12:25] _ruben: I think I found my problem (the biggest one at least) the Internet is slightly bigger than just the local sub-net where my ADSL modem is... I just installed the last nic (5th) and it's going great. === ogra_ is now known as ogra [12:36] i have url --url http://192.168.254.254/ubuntu/ in my ks.cfg file for my local repo to be used. the installer still looks at http://za.archive.ubuntu.com/ubuntu/... for the packages file though and not my local repos, how can i see why this is happening? [12:36] kickstart issue [12:36] soz :) [12:43] <_ruben> jwstolk: why so many nics btw? [12:45] seperate wan/lan/home/wifi/dmz [12:45] it's a firewall :) [12:48] <_ruben> jwstolk: ah .. had some trouble coming up with 5 zones that'd reside behind a dsl link (which tend to be for home usage) :) [12:49] we don't need a very fast network [13:16] morning all [13:18] hi guys [13:18] I need to get the first two lines from a file and transform into user and pass on htpasswd [13:19] can anyone give me a hand? [13:23] fevel: maybe like this: head -2 /tmp/testfile.txt | awk -v ORS='' '{print $1":"$2}' [13:45] thx [13:45] (wrong win) [14:16] anyone know dhcpd at all? i have a subnet { with 2 range xxx.xxx.xxx.xxx yyy.yyy.yyy.yyy statements, but these dont seem to be working === Gargoyle is now known as Gargoyle|Away [14:25] thefish: paste conf please [14:42] cemc: you want the entire conf? [14:42] the culprit line is just the range... bit [14:42] was working with just one [14:46] <_ruben> thefish: you need to define a shared-network in order to have 2 ranges for a single interface [14:54] _ruben: ok thanks, what is a shared-network [14:54] and the ranges are on the same /24 network [14:54] its just a non-contiguous space [14:57] <_ruben> thefish: oh .. then shared-network isnt what you're looking for [14:58] <_ruben> do you get any error when loading such a config? [14:58] no error [14:59] ah, it seems now a client got an anddress in the new range :) [14:59] and all i did was think "i wish it would work" three times :D [14:59] <_ruben> 2nd range wont be used untill first is full [15:03] cool, thanks _ruben [15:03] [15:23:55] fevel: maybe like this: head -2 /tmp/testfile.txt | awk -v ORS='' '{print $1":"$2}' [15:05] im trying something like this [15:05] awk '{system("htpasswd -bp "$1" "$2" passwds")}' users [16:06] hey does anyone know what text based browser works well with a linksys router [16:07] Doonz: I like w3m, but links would probably work as well [16:07] unfotrtunately they dont render the stupid conguration pages right [16:07] configuration* [16:08] ive tried: elinks, lynx, links, links2, w3m [16:08] Doonz: do they use javascript or something? [16:10] i wish ubuntu installation has option to setup a nic bonding during install [16:10] what is that site where you submit your feature request? [16:12] axisys: probably brainstorm.ubuntu.com [16:12] sommer yeah [16:12] sommer: yep.. thats the one.. thnx [16:13] Doonz: then I'll bet you're out of luck for using a text browser... at least I don't know of any that can do javascript, but there may be one and I just don't know [16:13] axisys: np [16:14] ok [16:29] some versions of (e)links can do (limited) JavaScript [16:32] http://elinks.or.cz/documentation/manual.html#ecmascript [17:00] i know x2100 has fake raid nvidia raid.. anyidea if x2100 m2 has similar raid as well [17:00] ? [17:01] ? [17:01] what's your problem with x2100? [17:02] yann2: i don't [17:03] yann2: i am wondering if x2100 M2 also have fake raid controller? [17:03] define fake? [17:03] I've had many disk issues with a x2100 if it has a weird controller that may explain [17:04] yann2: https://help.ubuntu.com/community/FakeRaidHowto [17:04] weird. don't think I had to do that. I think i must have had a normal raid card [17:05] when i enabled the raid in bios ubuntu recognized it.. and after installation when i take one of the disk out it remounted the root as read only [17:05] no wonder why recommend not to use nvidia fake raid [17:06] now i am installing it again by disabling the raid in bios and installing with software raid [17:53] how do I boot from a livecd iso over the network? [17:57] kirkland: is powernowd still installed by default on -server? [17:57] mathiaz: no [17:57] kirkland: IIRC it wasn't necessary anymore. [17:57] mathiaz: not needed [17:58] kirkland: ok - thanks. === Gargoyle|Away is now known as Gargoyle === Gargoyle is now known as Gargoyle|Away [18:35] guys, i'm tar'ing up my intranet on ubuntu [18:35] I can untar if just fine on the box, but when I copy it up to windows it won't open with 7zip or winrar [18:35] any ideas? XD [18:39] Ethosser: tar.gz ? should work in winrar, not 100% about bzip [18:39] Ethosser: don't know anything about windows, but 7zip should do it according to docu. What options to tar do you use? -> creating a .tgz (tar cvfz) ? [18:40] http://pastie.org/private/scqhgnnoinakjxj0ocsqw [18:40] i've tried with 7zip too [18:42] Ethosser: I really have no idea at all about windows... It could be that the .tgz throws it off. Try tar cvf first, than gzip www.tar - this way you should end up with www.tar.gz - maybe 7zip does know how to handle that? [18:43] thanks mate, i'll give it a go :) [18:46] Ethosser: winrar can handle .tgz, as can winzip [18:47] hmm [18:47] I thought so [18:47] Wonder what's going on [18:47] entirely possible 7zip's just having a baby over the .tgz extention instead of .gz [19:11] Hello, I am having a problem. I am running Folding@home. But it wont shutdown when i tell it too. [19:12] I am running it manually through a terminal, and I run it in SMP mode. I use the "ctrl+c" to to get back to the bash console, but when I issue "top" the FAHCORE is still running [19:12] killall FAHCORE and killall fah6 seem to work, my CPU gets relieved, but the processes get reinstated [19:12] and top shows they are back up and running [19:13] kk 'killall -9 fah6' worked [19:13] thanks all [19:14] :-) didn't think about the -9 option until i was typing it out === zul_ is now known as zul [20:46] how do I change this line so that I can see the OS from console ? currently I need to connect a monitor to see the grub .. [20:46] /boot/vmlinuz-2.6.27-11-generic root=/dev/md0 ro quiet splash quiet [20:47] may be vga=txt ? [21:02] from console? [21:02] a monitor is your console [21:02] axisys: you mean thru serial ? [21:07] cemc: yes :-) [21:09] how can i make a file executable ? [21:12] orudie: chmod +x file_name [21:17] cemc: https://help.ubuntu.com/community/SerialConsoleHowto [21:17] it's more than just working with grub [21:17] that might be a tad out of date -- so use common sense [21:17] cemc: The Dapper clamav backport is done today. Thanks again for your help. [21:25] ScottK: that's good news [21:25] cemc: followed your advice, but it still didn't work [21:25] drbobb: about the grub installing thing? [21:25] yeah [21:26] i mean i ran setup from inside grub [21:26] sorry cemc, that was meant for axisys [21:26] giovani: yeah, i got it ;) [21:26] drbobb: and did it install correctly? [21:26] now it finds stage1.5 on the hdd, but gets stuck there [21:27] yeah the message was that it succeeded [21:27] so i'm still stuck with keeping a boot floppy in the fdd all the time [21:27] (not that i need the fdd for anything else) [21:28] and you have a simple SATA hdd on sda, and that's it ? [21:29] nothing fancy ? [21:29] weird, i've installed linux on ~100 pc's or so, never seen this before [21:29] me neither [21:29] well there is a plain ATA controller, two channels, only thing on it is the dvd/cd [21:29] drbobb: did you try just starting fresh with a new install? [21:30] and a onboard SATA in addition to that [21:30] yes it was a fresh install, from the hardy server edition [21:31] but you've just tried to repair since, no? did you try just doing a reinstall since the problem started? [21:31] nope, why should i reinstall [21:32] it works fine, other than grub [21:32] because you've tried 5 ways of repairing and it's not working? [21:32] only tried reinstalling grub in 3 different ways [21:33] ... [21:33] I clearly wasn't trying to be exact [21:33] via grub-install, and under grub's native shell [21:33] the point being, you've tried every repair method we can think of [21:33] and it hasn't resovled the issue [21:33] right [21:33] so ... it may be time to cut your losses, and try and full reinstall, in case this is some odd problem that won't be fixed with these solutions [21:34] only other idea i can think of is to try lilo insted [21:34] ... [21:34] heh [21:34] have fun === penguim is now known as alexandrosilva_B [21:35] my best guess is that maybe the bios is buggy in some way === alexandrosilva_B is now known as Alexandro_BA [21:35] cause iiuc grub uses bios calls to load its stuff from the hdd [21:38] i did some stressing of the machine and it seems to be working fine, other than that booting issue [21:39] i mean like a full kernel recompile, and an rsync of a few dozen gigs of data across the LAN [21:51] Anyone know what could be stopping WoL from working? Got ubuntu server 8.10 wired mobo ethernet connection. supports pumbg and is set to g using an init.d script that is working [21:51] using DHCP and a BT Home Hub router/modem (which is always good fun...) [22:06] nobody wants to get involved with Wake on Lan support? heh [22:08] anyone know of a good batch scheduling system? only thing i can find is this arcane thing called job scheduler [22:09] docta_v: what do you mean by "batch scheduling system"? [22:10] Reminds me of something on AIX. [22:11] dsmith-work: and what did that do? [22:11] Kind of like a printer queue, and in fact, used a lot of the same machinery. [22:11] You could submit batch "jobs" to it, kind of like cron. [22:12] But it would run them in sequence, not at a specific time. [22:12] ah, something to emulate pre-multitasking operating systems? ツ [22:12] (j/k) [22:12] Well, aix. [22:13] I suppose it would need support for priorities and rescheduling and such [22:20] something that supports job chains and multiple batch servers [22:20] so if a batch server dies you can rerun the chain on another system, etc. [22:20] or if a chain fails you can rerun with the correct order [22:23] docta_v: slurm is the sensible batch scheduler [22:23] ah, that sounds like you might want to look into some of the cluster-related packages [22:24] docta_v: don't know if it does any of the fancy stuff though, but it does batch execution [22:25] kirkland: What happend to bug #296952? Not enough background from me? [22:25] Launchpad bug 296952 in mysql-dfsg-5.0 "mysqlhotcopy failed on table with hyphen in name" [Undecided,In progress] https://launchpad.net/bugs/296952 [22:25] cool i will take a look [22:27] andol: hi there [22:28] andol: actually, i think it was the Alpha Freeze [22:28] andol: i'll get that uploaded [22:28] kirkland: great [22:29] oooh debdiff [22:29] that's easy enough :) [22:41] ebox vs webmin: i am newby and i know everybody says that ebox is supoorted and webmin no, i have play with the 2 and find webmin esier and with more functions that ebox..WHY should i use ebox???? [22:42] !webmin | Rafael_ [22:42] Rafael_: webmin is no longer supported in Debian and Ubuntu. It is not compatible with the way that Ubuntu packages handle configuration files, and is likely to cause unexpected issues with your system. See !ebox instead. [22:43] jpds: can you please elabore a little your answer? [22:44] webmin will probably break your system. [22:46] thanks [22:59] Sorry for the noob question, but how do I get snmpwalk to show the dskTable? Right now it just shows very basic system info. === jpds_ is now known as jpds === jpds is now known as Guest18936 === MatBoy_ is now known as MatBoy === jussio1 is now known as jussi01 [23:49] how can i setup centralized logins for my network, so that home folders and usernames/passwords are kept on a server? [23:59] Anyone using the latest ESXi support in vmbuilder from trunk?