=== _Techie_ is now known as _TechAway_ | ||
ZacharyNewb | can someone help me get remote access working on my server? | 00:06 |
---|---|---|
ZacharyNewb | using ssh? | 00:06 |
ZacharyNewb | on the server, and putty on windows 7? | 00:07 |
eriksson25 | Just install openssh | 00:09 |
ZacharyNewb | already did | 00:09 |
ZacharyNewb | I don't know what to do from here | 00:09 |
ZacharyNewb | http://beyond-sight.com/ | 00:10 |
ZacharyNewb | router is forwarding correctly | 00:10 |
eriksson25 | Oki, on putty, just set your server ip, port 22, and press open | 00:10 |
ZacharyNewb | eriksson25: Connection refused. | 00:11 |
ZacharyNewb | eriksson25: my router is probabaly not forwarding that port, one moment | 00:11 |
eriksson25 | Exactly | 00:11 |
eriksson25 | =) | 00:11 |
ZacharyNewb | How can I set my ubuntu ethernet ipaddress? | 00:12 |
ZacharyNewb | 192.168.1.250 for example? | 00:12 |
ZacharyNewb | it's currently 192.168.1.9 | 00:12 |
eriksson25 | Depends on, you can set it from the router. Binding its mac to a ip. | 00:13 |
eriksson25 | You can set it grafical if you have it on the server. Or you can set it in commandline. | 00:13 |
eriksson25 | did ssh work now? | 00:13 |
eriksson25 | You shuld not have it on port 22. | 00:14 |
ZacharyNewb | havne't forwarded the port to the pc yet | 00:14 |
ZacharyNewb | verizon fios router | 00:14 |
ZacharyNewb | doesn't say anything about a mac address | 00:14 |
eriksson25 | before you do that, change the port. | 00:14 |
ZacharyNewb | change port how? | 00:15 |
eriksson25 | to a higher number like 5022 or something. | 00:15 |
ZacharyNewb | I don't know how to change the openssh port to something else | 00:15 |
eriksson25 | open file /etc/ssh/sshd_conf | 00:15 |
ZacharyNewb | 26254 in this case, is what I'd like. | 00:15 |
ZacharyNewb | okay | 00:15 |
ZacharyNewb | sudo nano | 00:15 |
eriksson25 | and there go down to port= and change it to whatever. | 00:15 |
eriksson25 | Then you need to run /etc/init.d/ssh restart | 00:16 |
eriksson25 | http://codesnippets.joyent.com/posts/show/319 | 00:17 |
eriksson25 | Thats how you set static ip to whatever you want on the server. | 00:18 |
ZacharyNewb | hm | 00:18 |
ZacharyNewb | ssh_restart | 00:18 |
ZacharyNewb | or ssh restart | 00:18 |
eriksson25 | no _ | 00:18 |
ZacharyNewb | nog being found as a command | 00:18 |
eriksson25 | ssh restart | 00:19 |
nich0s | Restarting SSHD? | 00:19 |
ZacharyNewb | I cd ed to the directory init.d | 00:19 |
eriksson25 | No need. | 00:19 |
ZacharyNewb | ssh restart isn't doing anything | 00:19 |
eriksson25 | Just type "/etc/init.d/ssh restar" | 00:19 |
SpamapS | kirkland: hey, how come ubuntu-vm-builder doesn't accept maverick inside maverick? | 00:19 |
nich0s | sudo service ssh restart | 00:19 |
eriksson25 | And press enter. | 00:19 |
SpamapS | VMBuilder.exception.VMBuilderUserError: Invalid suite: "maverick". Valid suites are: dapper gutsy hardy intrepid jaunty karmic lucid | 00:20 |
ZacharyNewb | ssh start/running, process 1631 | 00:20 |
eriksson25 | or that way as nichos says | 00:20 |
eriksson25 | Yes, now its using the new port. | 00:20 |
ZacharyNewb | awesome | 00:20 |
eriksson25 | Portforard it and you are good to go. | 00:20 |
nich0s | ZacharyNewb: Welcome to Ubuntu. | 00:21 |
s093294 | Hmm, wierd hehavior on iptables. I use iptables -t nat -A PREROUTING -i ppp0 -p tcp --dport 4000 -jDNAT --to-destination 82.211.214.96 This dont work if i try to connect to ip of the ppp0 interface, if i change ppp0 to eth1 and connect to that ip the packages are send of to 82.211.214.96 (are there some special thing with pptp connections) ? | 00:21 |
ZacharyNewb | eriksson25: those instructions on that link aren't working | 00:22 |
ZacharyNewb | no interfacing directory or file | 00:22 |
ZacharyNewb | wow, just found it nevermind | 00:22 |
eriksson25 | =) | 00:22 |
TDoubleDg | Anyone familiar with using DRBD to create an active/active ISCSI target? | 00:23 |
ZacharyNewb | sudo nano interfaces | 00:23 |
ZacharyNewb | eriksson25: okay, I changed my ip address in the config file, and it matches that text except | 00:25 |
ZacharyNewb | he kept having "192.168.0.1" | 00:26 |
ZacharyNewb | I put "1.1" | 00:26 |
eriksson25 | Yes ofc, since that would be your router. | 00:26 |
ZacharyNewb | is my rendition correct? | 00:26 |
ZacharyNewb | ofc = ofcourse, ah. xD | 00:27 |
ZacharyNewb | okay | 00:27 |
ZacharyNewb | do I need to reset the ethernet connection somehow for the change to take effect? | 00:27 |
ZacharyNewb | eriksson25: | 00:27 |
eriksson25 | Yes, Dont remember how.... | 00:27 |
nich0s | sudo service networking restart | 00:28 |
eriksson25 | there you goo. | 00:28 |
ZacharyNewb | ah | 00:29 |
ZacharyNewb | eriksson25: nich0s Thanks, I also found "/etc/init.d/networking restart" | 00:29 |
ZacharyNewb | with yours, sudo service, IO'm getting "restart: unknown instance" | 00:30 |
eriksson25 | Yup, two ways of doing the same thing. | 00:30 |
ZacharyNewb | the one I found works | 00:31 |
ZacharyNewb | requires sudo though | 00:31 |
ZacharyNewb | also | 00:31 |
ZacharyNewb | sudo ifdown -a | 00:31 |
ZacharyNewb | to bring them down | 00:32 |
ZacharyNewb | sudo ifup -a | 00:32 |
ZacharyNewb | back up | 00:32 |
ZacharyNewb | to turn the network adapters on and off all-together | 00:32 |
ZacharyNewb | okay | 00:32 |
ZacharyNewb | eriksson25: Router is portforwarding 26254 | 00:32 |
ZacharyNewb | hm | 00:33 |
ZacharyNewb | connection refused | 00:33 |
eriksson25 | on the server, run ifconfig | 00:33 |
eriksson25 | And se if it says the correct ip | 00:34 |
ZacharyNewb | yes | 00:34 |
ZacharyNewb | correct ip | 00:34 |
eriksson25 | Is the server within the same lan? | 00:34 |
ZacharyNewb | yes | 00:34 |
ZacharyNewb | beyond-sight.com | 00:34 |
eriksson25 | Then you dont need portworading, thats only from outside. | 00:35 |
ZacharyNewb | is correctly being forwarded port 80 to the server, I get the web test page | 00:35 |
ZacharyNewb | true. | 00:35 |
ZacharyNewb | I travel sometimes as well | 00:35 |
ZacharyNewb | for now I'll test the network, you're right | 00:35 |
eriksson25 | Yes, but we get it to work internat first. | 00:35 |
eriksson25 | =) | 00:35 |
eriksson25 | In putty, did you sett the internal ip? like 192. and then the new port | 00:36 |
ZacharyNewb | putty 192.168.1.250 port 26254 | 00:36 |
ZacharyNewb | connection refused | 00:36 |
ZacharyNewb | however in the ethernet adapter settings you had me view, it's showing "bcast" (broadcast) as 192.168.0.255 | 00:36 |
eriksson25 | I say, reboot the server. Might me something with the ip numbers scruwing with you. | 00:36 |
eriksson25 | That is correct. | 00:37 |
ZacharyNewb | doesn't it need to be 0.1 ? | 00:37 |
eriksson25 | Or waait, now its noot. | 00:37 |
ZacharyNewb | like I changed all the others? | 00:37 |
eriksson25 | Shuld be 1.255 | 00:37 |
ZacharyNewb | -nods- I missed that then | 00:37 |
eriksson25 | everyting has to be 192.168.1.x | 00:38 |
ZacharyNewb | and "network" 192.168.0.0 should be 192.168.1.1 ? | 00:39 |
ZacharyNewb | network card reset | 00:40 |
ZacharyNewb | trying again | 00:40 |
eriksson25 | 1.0 | 00:40 |
ZacharyNewb | k | 00:40 |
ZacharyNewb | fixed again | 00:42 |
ZacharyNewb | trying putty again | 00:42 |
eriksson25 | dont know with win7, you might need to run it as admin. | 00:42 |
eriksson25 | I use xp as my windows comp. | 00:42 |
ZacharyNewb | connection refused still | 00:43 |
ZacharyNewb | using local lan address | 00:43 |
ZacharyNewb | I'm going to ping beyond-sight.com to see if I get response | 00:43 |
ZacharyNewb | and see if the web default page still pops up | 00:43 |
ZacharyNewb | web default page still up | 00:43 |
ZacharyNewb | do I need to configure open ssh further perhaps? | 00:44 |
eriksson25 | Reboot the server. | 00:44 |
ZacharyNewb | back in it's config file? | 00:44 |
ZacharyNewb | alright | 00:44 |
ZacharyNewb | do you know how I can do that from command line? | 00:44 |
eriksson25 | you shuldent need to. | 00:44 |
eriksson25 | sudo reboot now | 00:44 |
ZacharyNewb | thanks | 00:44 |
PatrickDK | hmm, sudo reboot lastnight :) | 00:44 |
ZacharyNewb | sudo reboot lastnight? sat mean? | 00:45 |
eriksson25 | He was funny | 00:45 |
PatrickDK | wishful thinking :) | 00:45 |
ZacharyNewb | I don't get it | 00:45 |
eriksson25 | =) | 00:45 |
ZacharyNewb | Zachary newb here doesn't get it. >.> | 00:45 |
ZacharyNewb | I didn't realize I typed "I don't get it" | 00:45 |
PatrickDK | that is more funny than my lame attempt :) | 00:45 |
eriksson25 | its ok. | 00:45 |
eriksson25 | LAte night humur. | 00:46 |
ZacharyNewb | it had better be | 00:46 |
ZacharyNewb | awesome server back up | 00:46 |
eriksson25 | Oki, try again and se what hapends. | 00:46 |
ZacharyNewb | connection refused again | 00:46 |
eriksson25 | Oki, try port 22 | 00:46 |
eriksson25 | just for the fact. | 00:47 |
ZacharyNewb | whoa | 00:47 |
ZacharyNewb | got something new | 00:47 |
eriksson25 | Wants to save a key? | 00:47 |
ZacharyNewb | "the server's host key is not cached in the registry" | 00:47 |
ZacharyNewb | yes | 00:47 |
eriksson25 | Save it | 00:47 |
PatrickDK | ah, it's looking for a date | 00:47 |
ZacharyNewb | ... | 00:48 |
ZacharyNewb | what it called? | 00:48 |
ZacharyNewb | deflection? | 00:48 |
PatrickDK | your attempting to move it to an alternate port? | 00:48 |
eriksson25 | Yes | 00:48 |
ZacharyNewb | yes, one previous attempt apparently failed | 00:48 |
ZacharyNewb | however changing the ip address did work | 00:48 |
PatrickDK | just edit /etc/ssh/sshd_config | 00:48 |
eriksson25 | That what I told him. | 00:48 |
PatrickDK | Port xxxx | 00:48 |
ZacharyNewb | sshd ? | 00:49 |
ZacharyNewb | there's also a ssh_config | 00:49 |
PatrickDK | service ssh restart | 00:49 |
PatrickDK | ssh_config is for the client, sshd_config is for the server | 00:49 |
ZacharyNewb | nor did I restart it before I restarted the server | 00:49 |
PatrickDK | so ssh_config == outgoing | 00:49 |
PatrickDK | sshd_config == incoming | 00:49 |
eriksson25 | <eriksson25> open file /etc/ssh/sshd_conf | 00:49 |
ZacharyNewb | awesome | 00:49 |
eriksson25 | what I typed earlier | 00:49 |
PatrickDK | eriksson25, ya, I didn't scroll back that far :) | 00:49 |
eriksson25 | Its cool | 00:50 |
* PatrickDK never runs ssh on alternate ports | 00:50 | |
ZacharyNewb | oh my god | 00:50 |
eriksson25 | Thats why I asked him to change putty to 22, since I belived he would missed it. | 00:50 |
ZacharyNewb | so much easier typing it into putty here next to this window | 00:50 |
eriksson25 | =) | 00:50 |
eriksson25 | So putty up and running? | 00:51 |
* PatrickDK has never used putty | 00:51 | |
eriksson25 | =), well some of us plays computergames, and dont come dragging about wine. | 00:51 |
eriksson25 | I use linux, for Server, Router, HTPC | 00:52 |
ZacharyNewb | service ssh restart isn't working | 00:52 |
PatrickDK | heh, I use linux for everything | 00:52 |
PatrickDK | only use windows for vcenter | 00:52 |
ZacharyNewb | alright | 00:52 |
ZacharyNewb | nevermind, has to have sudo | 00:52 |
eriksson25 | =) | 00:52 |
ZacharyNewb | Yes, Putty works, now I've switched opensshd port to 26254 | 00:52 |
ZacharyNewb | including the client ssh port on the server too | 00:53 |
eriksson25 | Good boy | 00:53 |
eriksson25 | Now you are redy to do some real work. I am off to bed now. | 00:53 |
ZacharyNewb | YAY | 00:53 |
PatrickDK | man, I do like these new hp blades so much better than the old ones :) | 00:53 |
ZacharyNewb | Thank you, mother. >.< | 00:53 |
ZacharyNewb | PatrickDK: I'm on a netbook | 00:54 |
eriksson25 | No problem. | 00:54 |
eriksson25 | Have fun. | 00:54 |
ZacharyNewb | PatrickDK: The Asus 1201n Dual core 1.6ghz, hyperthreading/4 virtual cores, with ion graphics, including a GPU | 00:54 |
ZacharyNewb | and it's overclockable to 2 ghz | 00:54 |
ZacharyNewb | $500 | 00:54 |
PatrickDK | I can't use netbooks | 00:55 |
ZacharyNewb | this one is really nice | 00:55 |
ZacharyNewb | 3-4 hours regular use battery life, nicely sized keyboard, 11 inch screen | 00:55 |
ZacharyNewb | Full HD video | 00:55 |
PatrickDK | heh, I'm all about 6hours battery | 00:56 |
ZacharyNewb | I can run two 1080p monitors on this, dual screen, one on the VGA port and another on hdmi | 00:56 |
PatrickDK | using a t61p currently | 00:56 |
ZacharyNewb | This thing is wayyy too powerful to be compared to netbooks | 00:56 |
PatrickDK | I'm lacking hdmi on this one, my last one had it, loved it | 00:56 |
PatrickDK | lately I've been lazy | 00:56 |
ZacharyNewb | Actually, They compare my netbook to fully priced laptops | 00:56 |
PatrickDK | and just use my droid2 for everything | 00:56 |
ZacharyNewb | I'm jealous | 00:57 |
ZacharyNewb | I have a samsung propel | 00:57 |
ZacharyNewb | anywho | 00:57 |
PatrickDK | nothing is better I think than ssh+rsync on my phone :) | 00:57 |
ZacharyNewb | I need to configure the web server somehow | 00:57 |
ZacharyNewb | where to start? | 00:59 |
ZacharyNewb | PatrickDK: apache is installed | 01:00 |
ZacharyNewb | My website is residing on the secondary hard drive (500 GB) | 01:02 |
ZacharyNewb | formatted probabaly as NTFS | 01:02 |
ZacharyNewb | sudo mkdir /media/windows | 01:04 |
ZacharyNewb | sudo mount /dev/hda1 /media/windows/ -t ntfs -o nls=utf8,umask=0222 | 01:04 |
ZacharyNewb | clear | 01:35 |
ZacharyNewb | can someone help me? | 01:35 |
ZacharyNewb | I've just installed Ubuntu Server. With your peoples' extensive help, I've configured it's ip address, mounted an extra drive and I'm not remotely accessing it through putty | 01:38 |
smoser | kirkland, regarding MIRs, if the -desktop is an official supported image, it can only include things in main | 02:08 |
kirkland | smoser: i think for Natty we should prove something unsupported, using Universe first | 02:09 |
kirkland | smoser: before we commit to stuff in Main | 02:09 |
smoser | we basically have something unsupported | 02:09 |
smoser | and have for 2 releases | 02:09 |
kirkland | smoser: right; i'm thinking we should get heavier feedback on that for a cycle before we start picking and choosing what needs to go into Main | 02:28 |
smoser | thats fine. but for that we dont really need to do anything. | 02:28 |
smoser | a couple cloud-init scripts that allow people to test | 02:28 |
ZacharyNewb | Do any of you know how to format a second hard drive? | 02:37 |
=== jjohansen1 is now known as jj-afk | ||
=== ZacharyNewb is now known as ZacJstSetUpHisSr | ||
ZacJstSetUpHisSr | lol | 02:51 |
=== ZacJstSetUpHisSr is now known as NewSrvrUsrRdyToH | ||
=== NewSrvrUsrRdyToH is now known as SrvrUsrRdyToHelp | ||
SrvrUsrRdyToHelp | :D | 02:51 |
gksmithlcw | Hello? | 03:05 |
SrvrUsrRdyToHelp | Are people here? | 03:30 |
SrvrUsrRdyToHelp | Hello? | 03:32 |
SrvrUsrRdyToHelp | hello? | 03:32 |
SrvrUsrRdyToHelp | hello? | 03:32 |
SrvrUsrRdyToHelp | LaND HO | 03:32 |
ScottK | SrvrUsrRdyToHelp: There are people here, but this channel is usually pretty quiet this time of day. | 03:42 |
SrvrUsrRdyToHelp | ScottK: I see | 03:43 |
SrvrUsrRdyToHelp | ScottK: Well, I'm slowing peicing together my ubuntu server | 03:43 |
ScottK | Great. | 03:45 |
SrvrUsrRdyToHelp | ScottK: remote access via putty with windows 7 netbook I have is working, ports, right now I just figured out how to format and mount a second hard drive, put it into the startup script to mount automatically, and now I'm thinking about how to configure apache server to serve my site, off of the second mounted hard drive | 03:45 |
ScottK | Sounds like you're making progress. | 03:46 |
SrvrUsrRdyToHelp | ScottK: Definitely. Manually set all ethernet settings, etc etc etc | 03:46 |
SrvrUsrRdyToHelp | ScottK: Hours of fun, Are you enjoying your day? | 03:46 |
* ScottK has had a decent day, but is just about to head for bed. | 03:46 | |
* SrvrUsrRdyToHelp is sorry to hear that. :( | 03:47 | |
b0gatyr | hi everyone | 03:59 |
SrvrUsrRdyToHelp | hi there | 03:59 |
SrvrUsrRdyToHelp | what's up? | 04:00 |
SrvrUsrRdyToHelp | b0gatyr: what's up? | 04:00 |
b0gatyr | not much ya know | 04:00 |
b0gatyr | how about you? | 04:00 |
TDoubleDg | Anyone here used DRBD to create an ISCSI Target? | 04:27 |
SrvrUsrRdyToHelp | someone here? | 04:33 |
SrvrUsrRdyToHelp | hello? | 04:33 |
TDoubleDg | sup | 04:41 |
TDoubleDg | ..... | 04:44 |
TDoubleDg | :-\ | 04:44 |
kaushal | hi | 05:17 |
kaushal | can someone please guide me about https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/379329 ? | 05:17 |
uvirtbot | Launchpad bug 379329 in openssh "CVE-2008-5161: OpenSSH CBC plaintext recovery" [Low,Fix released] | 05:18 |
Dark-Sun | hello people; | 05:38 |
SpamapS | kaushal: what about it? | 05:40 |
Dark-Sun | here's my scenario: i should make a web interface for iptables, (yes, it's a firewall web panel). problem is apache runs web page as "nobody" so i can't execute "iptables". question is "since there's a apache process run as root, is it possible to make apache use that process to run a web page?" | 05:43 |
SpamapS | Dark-Sun: no | 05:44 |
SpamapS | Dark-Sun: that process is only responsible for listening on port 80, which is restricted to root access (all ports below 1024 are) | 05:45 |
SpamapS | Dark-Sun: You can, however, run iptables commands with sudo. However, I do not recommend this as this would mean anybody who can break into your web code can run any iptables command... | 05:46 |
SpamapS | Dark-Sun: is there any reason you don't want to use one of the existing iptables frontends, like smoothwall for instance? | 05:47 |
Dark-Sun | SpamapS: you mean that apache process can't do anything else but listening? | 05:47 |
SpamapS | Dark-Sun: basically, yes | 05:48 |
SpamapS | Dark-Sun: it just listens, and hands accepted connections to the child processes. | 05:48 |
Dark-Sun | SpamapS: actually i was about to do some other stuff beside firewall, and i was curious how they do this | 05:50 |
Dark-Sun | i got some work around clues, like jailing, a daemon running on the web server, but i don't know which one should i choose | 05:51 |
kaushal | SpamapS: hi | 05:57 |
kaushal | sorry was away | 05:57 |
kaushal | is there a fixed version available for 8.04 ? | 05:57 |
kaushal | I mean openssh-server | 05:57 |
SpamapS | Dark-Sun: a daemon that is chrooted off and very simple would work, as long as it has a way to verify who is communicating with it. | 06:06 |
SpamapS | kaushal: looks like https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/379329/comments/3 has a workaround that will work for hardy. | 06:07 |
uvirtbot | Launchpad bug 379329 in openssh "CVE-2008-5161: OpenSSH CBC plaintext recovery" [Low,Fix released] | 06:07 |
kaushal | SpamapS: ok | 06:07 |
kaushal | so is it to add this Ciphers aes128-ctr,aes256-ctr,arcfour256,arcfour,aes128-cbc,aes256-cbc to to ssh_config and sshd_config and restart the daemon and restart openssh server ? | 06:08 |
kaushal | and then rescan the server again with OpenVAS Server ? | 06:09 |
Dark-Sun | SpamapS: hummm... i should read more about it, thanks ;) | 06:09 |
SpamapS | kaushal: also mdeslaur has replied in bug #651720 about why the patch was not pushed back to hardy. | 06:10 |
uvirtbot | Launchpad bug 651720 in openssh "Hardy OpenSSH version out-of-date - security risks" [Undecided,Invalid] https://launchpad.net/bugs/651720 | 06:10 |
Dark-Sun | SpamapS: did you mean "executing daemon with a user with limited root access"? | 06:11 |
kaushal | SpamapS: ok | 06:12 |
SpamapS | Dark-Sun: the daemon would have to either run as root, or use something like sudo to temporarily elevate its privileges for each command. | 06:16 |
Dark-Sun | SpamapS: i see. thanks :) | 06:20 |
uvirtbot | New bug: #676304 in samba (main) "Samba fails with files having colon in file name" [Undecided,New] https://launchpad.net/bugs/676304 | 07:24 |
Callum__ | is Empathy's MSN connecting broken for anyone else? the fix here: http://ubuntuforums.org/showpost.php?p=10003289&postcount=17 is already applied but it still doesn't want to connect | 08:30 |
twb | Callum__: that's probably offtopic for -server. | 08:31 |
Callum__ | oh, oops | 08:31 |
Callum__ | wrong channel | 08:31 |
Callum__ | haha | 08:31 |
twb | SpamapS: I would do it by having the web page write to (say) /srv/www/rw/netfilter.rules, and have a separate root-owned cron job or inotify watcher that ran iptables-restore on it. | 08:32 |
twb | Although obviously web-based management of ANYTHING is WRONG. | 08:33 |
alvin | m0n0wall? | 09:14 |
twb | alvin: what about it? | 09:16 |
alvin | It's only web-based | 09:18 |
twb | Are you suggesting it *isn't* wrong? | 09:19 |
alvin | Certainly. I prefer the command line, but m0n0wall is a very nice piece of software. | 09:24 |
twb | Maybe you just have lower standards than I do | 09:27 |
alvin | You wouldn't say that if you had used m0n0wall, or something like it. | 09:28 |
twb | Using PHP in the boot sequence doesn't sound very clever to me. | 09:28 |
twb | I can get behind standardizing on XML as a configuration file format, though. | 09:29 |
alvin | neither is using upstart | 09:29 |
twb | Oh, definitely. I hate upstart. | 09:29 |
binBASH | does someone know if drbd replication is only one way or is it possible to write in both machines? | 09:29 |
twb | alvin: the HTML they're using is pretty crap, at least. | 09:32 |
twb | I can see they're using tables for alignment and <td class=th> instead of <th>, in the first thirty seconds of RTFSing | 09:33 |
_ruben | binBASH: master/master is supported | 09:34 |
alvin | twb: You have m0n0wall running? Or do you mean their website itself? | 09:34 |
_ruben | does open up a nice can of worms though | 09:34 |
twb | alvin: I'm reading http://svn.m0n0.ch/wall/tags/release-1.32/webgui | 09:34 |
twb | alvin: obviously I'm not going to RUN anything PHP-based. | 09:35 |
alvin | ah, ok. Could be. But I only used it as an example of a well working and stable web-based systems. of course, there are others. Managing ZFS on Solaris web-based will simply not work, SWAT (samba) isn't the same as smb.conf either, and eBox isn't there yet. I only wanted to say there are exceptions. | 09:36 |
twb | _ruben: say, you have a clue, and you know about drbd. | 09:36 |
twb | _ruben: I have a deployment case with side-by-side identical hardware, each with a two-disk RAID1. I want the backup unit's disks slaved to the production unit. I have been doing nightly rsyncs, and I started looking at instead adding the slave's disks directly to the RAID1 (with --write-mostly) over AoE. | 09:36 |
twb | _ruben: is drbd a better idea than aoe in that case? | 09:36 |
twb | alvin: "it works" isn't the same as the Right Thing. | 09:37 |
twb | alvin: as far as "it works for me" goes, I'm relatively impressed by OpenWRT's solution, which involves a YAML-esque configuration format for everything, which has both a nvram get/set-style CLI and a lua-based web UI. | 09:38 |
alvin | twb: I agree. let's say: "it works very well and is stable". the Right Thing isn 't always the best solution. For example, Ubuntu removed libstdc++5 in Lucid. (Yes, the LTS). This broke many commercial applications and thus production systems. The right thing would have been to ask the commercial vendors to recompile their products, but you know you can't really do that. | 09:39 |
alvin | Good to know :) I'll look at OpenWRT | 09:39 |
twb | alvin: products that you can't recompile are inherently not The Right Thing :-) | 09:40 |
alvin | twb: No, but tell that to the management if your company really relies on it. | 09:40 |
twb | I could probably make a case that companies are the Wrong Thing, too -- but I'm not an economist :-) | 09:41 |
* twb impotently shakes fist at the world | 09:41 | |
alvin | that brings a smile to my face | 09:42 |
=== nijaba is now known as nijaba_afk | ||
_ruben | twb: afaik, drbd would be a nice a solution for that (dont have any hands-on experience with it yet though) | 10:30 |
twb | Nod | 10:30 |
twb | Now I have to convince <boss> to pay for another day of learning drbd (on top of aoe) | 10:31 |
_ruben | personally i'd prefer drbd over raid1+aoe | 10:32 |
_ruben | the latter sounds a tad hackish ;) | 10:32 |
twb | Nobody thought of drbd when aoe+md was proposed | 10:42 |
=== nijaba_afk is now known as nijaba | ||
_ruben | hehe | 10:58 |
twb | The rsync technique we've been using for ages -- before USB keys were bootable, and we were doing it from a live cd. | 11:01 |
uvirtbot | New bug: #676418 in etckeeper (main) "not installing http[s]+webdav" [Undecided,New] https://launchpad.net/bugs/676418 | 11:02 |
jpds | twb: csync maybe? | 11:04 |
jpds | Though I agree with the +1 for drbd. | 11:04 |
_ruben | so they're "offline" rsyncs?? | 11:04 |
_ruben | as in: not from the running system itself | 11:04 |
twb | _ruben: no no | 11:04 |
twb | We have the slave run a live image, so to failover, all the monkey has to do is unplug the CD/USB key, and move the ethernet/power cables | 11:05 |
twb | Er, s/power//, but you would need to reboot the slave | 11:05 |
_ruben | ah | 11:06 |
twb | monkey-based failover was a core requirement | 11:06 |
twb | Consider a lucid server running about twenty lucid containers (broadly, one per service). End users do not have access to the dom0, and creating/reconfiguring/destroying containers is an infrequent activity. | 11:10 |
twb | Is there ANY benefit to lxc-behind-libvirt instead of direct lxc? | 11:10 |
uvirtbot | New bug: #676439 in freeradius (main) "missing manpages, listed in the freeradius manpage" [Undecided,New] https://launchpad.net/bugs/676439 | 11:36 |
_ruben | grr, $PS1 gets set/reset/overwritten in tons of places .. /etc/bash.bashrc and also a .bashrc in each user's homedir, and even within those files there's multiple blocks to set $PS1 | 11:37 |
twb | _ruben: why is that bad? | 11:38 |
=== ihCiFriS is now known as SirFiChi | ||
_ruben | twb: no easy way to change the prompt globally | 11:39 |
_ruben | guess i should mess up /etc/skel/ prior to adding users | 11:39 |
twb | _ruben: why do you want to do that? | 11:40 |
twb | I mean, /etc/bash.bashrc would be the Right Way, but it sounds like you want to prevent users changing it back to whatever they prefer | 11:40 |
_ruben | twb: nah, i want to offer a saner default (fqdn instead of short name) | 11:40 |
twb | That's /etc/skel and/or /etc/bash.bashrc, then | 11:41 |
twb | And too bad for existing users | 11:41 |
_ruben | fresh servers and only handful of users, so it's not big a deal, is kinda annoying though .. the only diff between root's .bashrc and users' .bashrc is the bash autocompletion being disabled for root | 11:42 |
_ruben | a saner approach would've been to use /etc/skel/.bashrc as /etc/bash.bashrc and give root it's own .bashrc (which it already has) | 11:42 |
_ruben | current approach sems like a cludge to me | 11:42 |
twb | _ruben: I am *strongly* opposed to putting "clever" things in the default /etc/bash.bashrc | 11:43 |
twb | RHEL does that and it makes me livid | 11:43 |
twb | e.g. I ssh into a RHEL box and it changes my terminal title to gibberish | 11:43 |
twb | And if you, a user, want to *disable* such functionality, your .bashrc becomes horribly complicated by lines like "if I running on RHEL>=3 then unset magic_variable; magic_function() {:;}" | 11:44 |
_ruben | why would a .bashrc nee... oh, home-on-nfs for instance | 11:45 |
twb | Right | 11:45 |
twb | Or even if you store $HOME in a VCS | 11:45 |
twb | Even the bloody command-not-found stuff annoys me | 11:46 |
twb | unset command_not_found_handle # Ignore Ubuntu's attempt to slow exit(126) to a crawl. | 11:46 |
_ruben | if only i could trick bash to show the fqdn to show up for \h .. then again, even the supposed-to-work \H doesnt result in fqdn being displayed | 11:47 |
twb | Then there's http://paste.debian.net/100030/ for when you're sshing from Debian/Ubuntu to a server without locales | 11:48 |
_ruben | why not just install command-not-found? :P | 11:48 |
twb | _ruben: because I don't have root on all hosts | 11:48 |
_ruben | ah | 11:48 |
twb | And even if I did, other users might want that | 11:48 |
twb | (Remember those "server" things that have >>1 user? ;-P) | 11:48 |
* twb rages on re-discovering you can't use kvm -curses with the lucid installer | 11:49 | |
_ruben | i probably am the only user who actually cares about this stuff (users are sysadmins in my case, with only bare minimum linux knowledge) | 11:50 |
alvin | Is there an option for df I'm not seeing? I want df to output in bytes instead of kilobytes. | 11:52 |
twb | alvin: df -B 1 ? | 11:53 |
twb | WFM | 11:54 |
alcy | or df --blocksize=1 | 11:54 |
twb | Same thing | 11:54 |
alcy | yup | 11:54 |
alvin | twb: ok, a valid option I didn't see. Thanks. (It also appears that the manual is not entirely correct. 1k blocks are used by default while the manual says 512b) | 11:54 |
alvin | ...and that's also in the man. I was looking at the man of another version... | 11:55 |
_ruben | Disk space is shown in 1K blocks by default, unless the environment variable POSIXLY_CORRECT is set, in which case 512-byte blocks are used. | 11:55 |
alvin | Yes, just saw it :-) | 11:55 |
alcy | where can I check out the installer's code ? | 11:55 |
alcy | server installer | 11:56 |
jpds | alcy: apt-get source debian-installer | 11:56 |
alcy | jpds: doh. thanks. :) | 11:58 |
twb | One day I'll set POSIXLY_CORRECT just to laugh at how much breaks | 11:58 |
_ruben | ;) | 11:59 |
twb | Did we decide where -t cgroup should be mounted, since /cgroup is a FHS violation? | 12:01 |
_ruben | bah .. with linux you can create a tunnel using ipv6 endpoints and carrying both ipv4 and ivp6 inside (mode any), but you can't do so over ipv4 :( | 12:03 |
_ruben | oh well, enough reason to tunnel ipv4 over ipv4 and ipv6 over ipv6 | 12:03 |
twb | _ruben: just get native ipv6, man | 12:03 |
twb | Er, maaaaaan | 12:03 |
_ruben | twb: i do, but i don't have a vlan (yet) between the various pops | 12:04 |
* twb squints | 12:06 | |
twb | If you have a native ipv6 connection to the IPv6 internet, surely you don't need a vlan | 12:06 |
twb | unless you mean you want to encrypt ipv6 traffic passing across the ipv6 internet? | 12:07 |
=== oubiwann is now known as oubiwann-away | ||
* jpds hugs the native v6 internets | 12:08 | |
=== oubiwann-away is now known as oubiwann | ||
ZMo | hi, which is the better choise between maverick and luci for a KVM/corosync server? where i can get these kind of information, to know what is really changed about single kernel between these two distro? Thanks | 12:08 |
joschi | ZMo: if you plan to use that system some time, use the LTS release (-> lucid) | 12:11 |
joschi | ZMo: and for the kernel changes you'll need to check the kernel changelogs from kernel.org (or at least the short logs from kernelnewbies.org) | 12:11 |
_ruben | twb: dynamic routing between pops, that requires 'direct' connections between pops, so either vlans or tunnels | 12:13 |
ZMo | joschi, so is theren't a ubuntu kernel changelog? | 12:13 |
joschi | ZMo: yes, but these only contain infos about the patches applied by debian/ubuntu to the respective kernel versions | 12:14 |
alvin | ZMo: I'd also check Launchpad in order to know what bugs you will encounter in each version and whether they are important to you. | 12:15 |
_ruben | weird, openipmi package refers to /etc/sysconfig/ipmi .. didn't know debian/ubuntu even used to that dir | 12:18 |
twb | bad docs | 12:18 |
twb | bad docs? | 12:18 |
_ruben | ugh, more fail in the initscript | 12:29 |
_ruben | touches a file in /var/lock/subsys/, without checking if that dir even exists | 12:29 |
Ben604 | Hello! | 12:35 |
twb | Boo! | 12:35 |
Ben604 | don't suppose I could you trouble you guys for some support | 12:35 |
twb | Debian Policy requires that /var/run and /var/lock be supported as tmpfses | 12:35 |
twb | !ask | Ben604 | 12:36 |
ubottu | Ben604: Please don't ask to ask a question, simply ask the question (all on ONE line and in the channel, so that others can read and follow it easily). If anyone knows the answer they will most likely reply. :-) | 12:36 |
Ben604 | we're running ubuntu server within hyper-v, behind an internet proxy server | 12:36 |
Ben604 | we can ping to our internal network fine | 12:36 |
Ben604 | but can't reach the big wide world | 12:36 |
Ben604 | the proxy settings match our other, non-virtualised, linux boxes | 12:37 |
Ben604 | which can connect to the outside world fine. Which leads me to believe it's a problem with hyper-v? | 12:37 |
twb | Ben604: so on the virtual Ubuntu server, you're running http_proxy=http://proxy.example.org:8080/ w3m http://example.net/ ? | 12:37 |
Ben604 | yeah, that's correct | 12:37 |
twb | What error does it give? | 12:38 |
twb | Such issues are easiest to debug with "curl -vso/dev/null http://example.net/", but you probably don't have curl installed. | 12:38 |
twb | wget -vO/dev/null, I think, is the nearest equivalent | 12:39 |
Ben604 | actually, that worked... | 12:39 |
Ben604 | I'll be more specific | 12:39 |
twb | Ben604: OK, pastebin the output from curl | 12:39 |
Ben604 | we definitely haven't got curl installed, I've just been reliably informed | 12:40 |
twb | Oh, you mean the *w3m* call worked? | 12:41 |
Ben604 | it seems, that when I enter this command: http_proxy=http://proxy.example.org:8080/ w3m http://example.net/ ? it works fine, but it won't ping | 12:41 |
twb | ICMP won't work unless hyperv is bridging or natting traffic from the VM | 12:42 |
twb | If I were you, I'd ssh into your router(s) and start tcpdumping | 12:43 |
Ben604 | we're trying to get some packages through apt-get, but that won't find anything, we've added the proxy settings to the etc/apt/apt.conf | 12:43 |
Ben604 | (sorry about this, I'm sure you've noticed that I'm not exactly a long time Linux user!) | 12:44 |
twb | Ignorance is fine, as long as you're prepared to learn | 12:44 |
Ben604 | can I use "ping" instead of "w3m" as a command? | 12:45 |
twb | Sure, but ping uses ICMP, not HTTP/TCP | 12:46 |
_ruben | Ben604: if w3m worked, try: sudo http_proxy=http://proxy.example.org:8080/ apt-get update | 12:46 |
twb | _ruben: he just set $http_proxy in /etc/apt/apt.conf, so he should be OK for apt-get runs from now on | 12:46 |
_ruben | twb: trying to rule out a wrong apt conf | 12:47 |
twb | OK | 12:47 |
_ruben | also, on proxied systems like this, it might be "useful" to just export http_proxy | 12:47 |
_ruben | any decent proxy-aware app will then use the proxy | 12:48 |
Ben604 | right | 12:48 |
Ben604 | sudo http_proxy=http://proxy.example.org:8080/ apt-get update worked | 12:48 |
Ben604 | so it looks like the apt.conf file is the problem. | 12:49 |
_ruben | Ben604: so either fix the apt config, or add 'export http_proxy=http://proxy.example.org:8080/' to your login script | 12:49 |
twb | Preferably both | 12:50 |
_ruben | wouldn't harm indeed | 12:50 |
twb | $ ssh ueo cat /etc/apt/apt.conf | 12:51 |
twb | Acquire::http::Proxy "http://proxy:8080/"; | 12:51 |
twb | That's what is *should* look like. | 12:51 |
Ben604 | guys, thank you very much! nfs-common is now installing | 12:51 |
Ben604 | just checked apt.conf, didn't have "/" at the end, would that have been critical? | 12:53 |
_ruben | apparently ;) | 12:54 |
Ben604 | aw, isn't the linux community ace | 12:55 |
Ben604 | through irc too! It's almost as if it's 1997 again | 12:55 |
_ruben | aww bugger, ip's man page is horribly outdated | 12:56 |
eriksson25 | Need help, WARNING: missing /lib/modules/2.6.35-22-generic, I need to reinstall the kernel to /lib/modules | 12:58 |
eriksson25 | But how? | 12:58 |
_ruben | debian 504064 | 12:58 |
uvirtbot | Debian bug 504064 in iproute "ip: missing documentation for ip link add|del" [Normal,Fixed] http://bugs.debian.org/504064 | 12:58 |
alvin | Ben604: What version of Ubuntu are you running as a virtual machine? | 12:58 |
ojii | hi everyone | 12:59 |
ojii | I try to install rabbitmq-server on my ubuntu 8.04 server using the rabbitmq apt repository, but it complains about an old erlang-base version. how could I update that? | 13:00 |
twb | eriksson25: apt-get install --reinstall linux-image-2.6.35-22-generic ? | 13:06 |
twb | eriksson25: you should probably investigate what caused the issue | 13:06 |
twb | _ruben: my ip manpage explains ip link add... (sid) | 13:07 |
eriksson25 | Noob behind the keybord. | 13:07 |
eriksson25 | Thanks | 13:08 |
_ruben | twb: ah, nice | 13:09 |
twb | WTF, man | 13:09 |
twb | apt-get install ubuntu-keyring wants to pull in imagemagick and xloadimage | 13:09 |
_ruben | 10.10 does too apparently (list link add) | 13:10 |
_ruben | twb: only depends on gnupg (on lucid) | 13:10 |
eriksson25 | How do I solve this? | 13:13 |
eriksson25 | ***WARNING:*** You do not have the full kernel sources installed. | 13:13 |
eriksson25 | This does not prevent you from building the v4l-dvb tree if you have the | 13:13 |
eriksson25 | kernel headers, but the full kernel source may be required in order to use | 13:13 |
eriksson25 | make menuconfig / xconfig / qconfig. | 13:13 |
_ruben | either install the full kernel source or ignore the warning | 13:14 |
twb | Why are you trying to compile anything from source? | 13:14 |
eriksson25 | I am trying to compile mantis driver for a tv card. | 13:16 |
eriksson25 | And I get that error, and then | 13:16 |
eriksson25 | make[1]: Entering directory `/home/eriksson25/s2-liplianin/v4l' | 13:16 |
eriksson25 | perl scripts/make_config_compat.pl /lib/modules/2.6.35-22-generic/build ./.myconfig ./config-compat.h | 13:16 |
eriksson25 | File not found: /lib/modules/2.6.35-22-generic/build/include/linux/netdevice.h at scripts/make_config_compat.pl line 15. | 13:16 |
eriksson25 | make[1]: *** [config-compat.h] Error 2 | 13:16 |
eriksson25 | It worked fine before, but then I needed to reinstall ubuntu after a hdd crash, and now.... | 13:17 |
_ruben | i'd start by installing just the kernel headers, might be sufficient | 13:19 |
eriksson25 | sudo apt-get install mercurial linux-headers-$(uname -r) build-essential | 13:19 |
eriksson25 | not helping | 13:20 |
twb | How do you write an upstart job that takes an argument? | 13:22 |
twb | I want to write a dozen /etc/init/lxc-foo.conf with identical contents except for the VM name they refer to ("foo"). | 13:22 |
* _ruben makes an uneducated guess: not possible? :P | 13:23 | |
twb | Goddamn upstart | 13:23 |
twb | They have a special case for mounting filesystems, and a special case for rc.conf, but for us end users have to do everything by hand. | 13:24 |
twb | _ruben: I reckon I know | 13:28 |
twb | _ruben: you have lxc.conf that says "start on filesystem" and it's *body* is "for CONTAINER in $CONTAINERS; do start lxc-container CONTAINER=$CONTAINER; done" | 13:29 |
twb | Then you have lxc-container.conf which has a body referring to $CONTAINER | 13:29 |
soren | twb: Yup, that's what I'd do. | 13:39 |
soren | twb: (remember the "instance $CONTAINER" line) | 13:40 |
soren | twb: Otherwise it won't know to key off that variable. | 13:40 |
twb | Thanks. | 13:42 |
twb | soren: do you know offhand how to match "all filesystems are up and all interfaces are up"? | 13:43 |
soren | twb: There is no such notion. | 13:44 |
soren | twb: There never was. | 13:44 |
soren | twb: How will anyone know if I'm going to stick another USB disk or NIC in the box in two minutes? | 13:45 |
twb | I don't want to say e.g. "start when br-lan is up", because some containers will need a different interface | 13:45 |
twb | soren: OK, the debian lxc LSB hader I'm translating has Required-Start and Required-Stop of $syslog $remote_fs | 13:46 |
twb | My gods. That actually seemed to work | 13:52 |
twb | soren: care to sanity-check it? http://paste.debian.net/100036/ | 13:58 |
=== zul is now known as ep | ||
=== ep is now known as zul | ||
soren | twb: Is the space before .conf here intentional: do start lxc-container CONTAINER="$(basename "$CONTAINER") .conf" | 14:01 |
twb | Yes; it changes /etc/lxc/foo.conf to just foo | 14:01 |
soren | Um... No. | 14:02 |
soren | If it were inside the parentheses, yes. | 14:02 |
twb | # basename /etc/lxc/foo.conf .conf foo | 14:02 |
twb | Oh, sorry, I se | 14:02 |
twb | *see | 14:02 |
soren | That's not what you're doing, though. | 14:02 |
twb | It's because upstart conf files aren't sh, so Emacs doesn't highlight the ""'s correctly and I don't spot the mistake :-/ | 14:03 |
twb | scratch that, I still would've missed it | 14:03 |
soren | I wouldn't have thought export was necessary. | 14:03 |
soren | ...but other than that, it looks ok. | 14:03 |
soren | Hmm.. | 14:03 |
soren | Well, yeah, it's fine. | 14:04 |
twb | I'm not sure if it'll shutdown cleanly | 14:04 |
twb | Seems to have gone tits-up during reboot | 14:06 |
twb | Now I'm confused | 14:14 |
twb | after a reboot, "status lxc-container CONTAINER=hera" says there's no such instance -- but lxc-ls and lxc-ps can see it. | 14:14 |
twb | If I manually run "start lxc", I can see the "lxc-container (hera) start/running" line on tty1 | 14:16 |
twb | But "status lxc-container CONTAINER=hera" still fails. | 14:16 |
twb | THEN, I manually run "start lxc-container CONTAINER=hera", and it *does* start, I can see it on tty1 and I can see its processes | 14:16 |
eriksson25 | Anyone that can help me, have been strugeling with this for 3h straight. | 14:26 |
eriksson25 | make -C /home/eriksson25/s2-liplianin/v4l | 14:26 |
eriksson25 | make[1]: Entering directory `/home/eriksson25/s2-liplianin/v4l' | 14:26 |
eriksson25 | perl scripts/make_config_compat.pl /lib/modules/2.6.35-22-generic/build ./.myconfig ./config-compat.h | 14:26 |
eriksson25 | File not found: /lib/modules/2.6.35-22-generic/build/include/linux/netdevice.h at scripts/make_config_compat.pl line 15. | 14:26 |
eriksson25 | make[1]: *** [config-compat.h] Error 2 | 14:26 |
eriksson25 | make[1]: Leaving directory `/home/eriksson25/s2-liplianin/v4l' | 14:26 |
eriksson25 | make: *** [all] Error 2 | 14:26 |
hallyn | twb: one thing that came out of UDS-n was that auto-starting of containers (and bridges for them) ought to be handled by libvirt. (which means we first need to write a driver to have libvirt use contaienrs, but...) | 14:27 |
zul | wait i thought there was one already/ | 14:27 |
twb | hallyn: I have yet to find a compelling reason to install libvirt | 14:28 |
hallyn | zul: (assuming that was to me) no, you can pretend to some degree, but the contaienrs are different | 14:28 |
twb | Note: libvirt already knows how to use LXC containers, directly, not using lxc-*(8). | 14:28 |
Amgine | mysql, after upgrade, fails to start, no socket created at /var/run/mysqld/. Error 2002 when trying ~$ mysql. my.cnf appears vanilla, has correct socket =. | 14:29 |
hallyn | the libvirt contaienrs are very limited (and shoudln't exist in that form) | 14:29 |
Amgine | How do I further trouble shoot mysql? | 14:29 |
twb | hallyn: OK, you've encouraged me not to use libvirt for containers in lucid :-) | 14:30 |
hallyn | twb: to have libvirt work with lxc containers I had to do http://s3hh.wordpress.com/2010/09/07/easier-creation-of-libvirt-lxc-containers/. | 14:30 |
hallyn | twb: my original thought had been lets have an upstart script for lxc. the consensus at the talk was 'that's what libvirt does' <shrug> | 14:31 |
zul | hallyn: heh maybe i should bookmark that ;) | 14:31 |
twb | hallyn: but that won't happen until the next LTS for me, so basically I'll ignore it | 14:32 |
twb | hallyn: "(Mind you, shutdown from inside a container doesn’t work – you have to just kill init from the outside.)" | 14:33 |
twb | hallyn: did you solve that? | 14:34 |
hallyn | 08:32 < twb> hallyn: but that won't happen until the next LTS for me, so basically I'll ignore it | 14:34 |
hallyn | yup | 14:34 |
twb | I'm getting the same behaviour without libvirt | 14:34 |
twb | i.e. text-only dom0, text-only domu, run "lxc-start -n foo", log in and run "halt" -- it just sits there. | 14:35 |
twb | But "lxc-stop -n foo" works from a second shell on the dom0 | 14:35 |
hallyn | regarding shutdown, not solved for libvirt. lxc claims solve it somehow through the parent of the init | 14:35 |
hallyn | 'halt' works for me in lxc containers | 14:36 |
hallyn | oh, but im' on maverick | 14:36 |
twb | hallyn: inlxc 0.6 or 0.7? | 14:36 |
hallyn | yeah i don't really use 0.6 much | 14:36 |
twb | OK, I think that's something lxc fixed post-lucid. I'll try backporting maverick's lxc. | 14:36 |
eriksson25 | Hi, Anyway to remove linux headers, and source, and reinstall it all? How would I type then? | 14:37 |
twb | b0badabd2d3ec9c8506651bbb4900cc0ec3f8a16 | 14:37 |
twb | support shutdown/reboot with upstart within a system container | 14:37 |
twb | eriksson25: "aptitude reinstall <package name>"? | 14:38 |
zul | SpamapS: ping...lemme know when you are around | 14:38 |
hallyn | twb: when you get your upstart script tuned, can you send it to the lxc or contaienrs list? | 14:39 |
twb | hallyn: I might just give up and use the debian sysvinit script (which starts them asynchronously, and stops them synchronously). | 14:40 |
twb | Ping me about it next week, by which time I should have decided what to do | 14:40 |
hallyn | twb: will do, thanks | 14:40 |
twb | Where "next week" means, like, eight days from now, not next monday :0) | 14:41 |
twb | hallyn: btw, do you know how to define a container that has >1 virtual interface? | 14:42 |
hallyn | twb: pretty sure you just list two in your .conf file | 14:44 |
twb | How does it know where each stanzas ends? | 14:45 |
twb | never mind, I'll test it out sometime | 14:45 |
hallyn | the next 'lxc.network.type' i believe. | 14:45 |
uvirtbot | New bug: #676503 in openldap (main) "slapd 2.4.21 memory leak in syncprov" [Undecided,New] https://launchpad.net/bugs/676503 | 14:47 |
twb | Oooh. I had forgotten that "lxc-stop" is a hard-stop | 14:47 |
twb | I will need to fix the shutdown script do something like "timeout 2m lxc-execute -n $container telinit 0 || lxc-stop -n $container" | 14:49 |
a_ok | Is there a way to make cpufreq work on 10.04? | 14:57 |
a_ok | I seem to mis a few modules | 14:57 |
twb | a_ok: just set the scaling governor at boot time, then leave it alone | 15:00 |
a_ok | twb: how do I do that? | 15:01 |
twb | $ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor ==> ondemand | 15:01 |
twb | If you get that, you're done -- you have nothing to do | 15:01 |
a_ok | ah thanks! | 15:01 |
a_ok | twb: no such file... | 15:02 |
a_ok | the cpufreq dir does not even exist | 15:03 |
twb | OK, please pastebin the output of "lsmod" and "cat /proc/cpuinfo" | 15:03 |
twb | FWIW, I have a bog standard 10.04 install and it has picked the ondemand governor without any input from me. | 15:04 |
twb | If you're not using an Intel amd64 processor it might have a harder time... | 15:05 |
a_ok | twb: I don't have any cpufreq modules here (i mean not to be found anywhere) so that should explain it | 15:11 |
twb | "cpufreq" isn't a module | 15:12 |
a_ok | twb: on my 8.04 servers I have cpufreq_conservative.ko cpufreq_ondemand.ko cpufreq_powersave.ko cpufreq_stats.ko and cpufreq_userspace.ko | 15:14 |
a_ok | do you have those? | 15:14 |
twb | Well, sure. Those are the governors. | 15:15 |
twb | You also need a driver, like acpi-thingy or p4-clockmod | 15:15 |
twb | acpi-cpufreq | 15:15 |
afeijo | hi guys | 15:16 |
afeijo | I have an error with this script /usr/share/dtc/admin/cron.php | 15:16 |
afeijo | PHP Warning: Module imap already loaded in Unknown on line 0 | 15:16 |
afeijo | it is emailing me every 10 minutes, lol | 15:16 |
afeijo | I cant find the problem :( | 15:16 |
* cwillu_at_work fails to refrain from pointing out that your problem is php | 15:17 | |
afeijo | cwillu_at_work: probably, but I didnt install it, isnt dtc part of ubuntu? | 15:17 |
cwillu_at_work | !info dtc | 15:18 |
ubottu | Package dtc does not exist in maverick | 15:18 |
twb | cwillu_at_work: I have an infobot entry "most problems can be fixed by installing Debian". I should write another one: "most web problems can be fixed by removing PHP" | 15:18 |
a_ok | twb: http://pastebin.com/yVPVZVrD | 15:18 |
cwillu_at_work | "Most problems can be fixed by installing Debian. The remainder are fixed by removing PHP" | 15:18 |
a_ok | as you can see est is in there | 15:18 |
twb | cwillu_at_work: well, no. The implication of the former is that the other problems are the ones introduced by Debian | 15:19 |
twb | Like, say, "I can't play crysis anymore" | 15:19 |
cwillu_at_work | this is a problem? | 15:19 |
a_ok | twb: well as I don't have any goveners at all or acpi-cpufreq (p4-clockmod is presend but won't load manually) id say this kernel does not support it... | 15:19 |
twb | a_ok: "dmesg -c >/root/dmesg~; modprobe acpi_cpufreq; dmesg" | 15:20 |
twb | p4-clockmod is, unsurprisingly, for Pentium 4s | 15:20 |
twb | An E5520 is generationally about at acpi_cpufreq.ko | 15:21 |
a_ok | FATAL: Module acpi_cpufreq not found. | 15:21 |
twb | a_ok: well, WTF | 15:21 |
twb | a_ok: is this a stock 10.04 kernel? | 15:21 |
a_ok | twb: yep the server one that is | 15:21 |
twb | I give up, sorry | 15:21 |
a_ok | ill try to see if there is an update | 15:22 |
twb | 2.6.32-25-server x86_64 here, acpi_cpufreq exists and is in use | 15:22 |
twb | Sorry, I tell a lie. acpi_cpufreq doesn't exist, I *do* have working ondemand governor | 15:23 |
twb | acpi_cpufreq is apparently compiled in (i.e. =y) in Ubuntu kernels | 15:24 |
twb | a_ok: read through dmesg~, see if anything jumps out at you | 15:24 |
a_ok | twb: do I still need to install cpufreq-utils? | 15:25 |
twb | No | 15:25 |
twb | userspace packages have been obsolete for years | 15:26 |
a_ok | lol now they tell me | 15:26 |
twb | Sorry, I should've mentioned that at the start | 15:28 |
twb | Technically they're still useful if you want to switch from "ondemand" or "powersave" (on battery) to "performance" (on AC), but in practice you get that effect by just leaving it on "ondemand" | 15:29 |
a_ok | twb: yeah I want it on ondemand. I guess that 5520 is to new for the driver or something | 15:33 |
twb | dunno | 15:33 |
twb | i wouldn't have thought so | 15:33 |
a_ok | well nothing is loaded that is for sure | 15:33 |
twb | Hm, my Q9550 doesn't have it | 15:34 |
a_ok | ? | 15:34 |
a_ok | does not have what? | 15:34 |
twb | No /sys/class/devices/cpu | 15:34 |
TeTeT | any ideas why the following iscsi tgt targets.conf will not work in an exported target? Setting it up per command line is fine: http://pastebin.ubuntu.com/533489/ | 15:34 |
twb | Oops, that's an 8.04+openvz kernel | 15:35 |
a_ok | twb: you mentioned another dir by the way | 15:35 |
a_ok | /sys/devices/system/cpu/cpu0 | 15:35 |
twb | In 8.04+openvz I can modprobe acpi_cpufreq and get a governor | 15:35 |
twb | a_ok: cpu0 is just the first cpu (or core) | 15:35 |
a_ok | yeah I can do the same on my 8.04 | 15:36 |
a_ok | twb: I mean you are looking at class now | 15:36 |
twb | a_ok: same shit | 15:36 |
twb | /sys is incestuous | 15:36 |
a_ok | ow | 15:36 |
twb | it's 2:40AM, I'm going home | 15:37 |
a_ok | thanks for the help | 15:37 |
a_ok | Ill file a repport or something | 15:37 |
kaushal | Hi | 16:05 |
kaushal | Are there certifications for Individuals on Ubuntu Server similar in the lines of RHCE ? | 16:06 |
uvirtbot | New bug: #676544 in bacula (main) "package bacula-director-mysql 5.0.1-1ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/676544 | 16:06 |
talntid | running ubuntu server... i have three servers. server1 can ping server2 and server3 fine. the ping runs fast, and has low ping time. | 16:17 |
talntid | server2 and server3, when they ping each other, or the server1, the ping time is low, but when i press enter to ping, it can take up to 3 seconds for the ping result to show. but it is still 0.1ms... | 16:18 |
talntid | any ideas why the ping command would be so sluggish, but still return acceptable ping times? | 16:18 |
joschi | talntid: sluggish name resolution | 16:19 |
joschi | talntid: check the name servers in your /etc/resolv.conf | 16:19 |
talntid | they match the fast server, except.... | 16:21 |
=== SirFiChi is now known as ihCiFriS | ||
TeTeT | kaushal: the Ubuntu Certified Professional certification was suspended, currently there's nothing like RHCE. You can still do the Ubuntu Professional course though | 16:21 |
talntid | 10.21.2.21 is listed before 10.21.1.21 on the sluggish machines, and on the speedy one, 1.21 is listed first | 16:21 |
joschi | talntid: test them with `dig` on each machine | 16:23 |
talntid | actually, 10.21.1.21 isn't pingable...... | 16:23 |
joschi | talntid: so? icmp echo replies can be filtered | 16:23 |
talntid | right, but it's not... it was -down- | 16:24 |
talntid | now the machine is up | 16:24 |
talntid | ping is fast now. | 16:24 |
talntid | =] | 16:24 |
talntid | thanks! | 16:24 |
teep_ | I'm running Ubuntu Server 10.04 LTS on a DL-380, serving primarily as Apache+php+mysql server and I've suffered recurring failures... about once a month, the webserver would run and serve some pages but I wouldn't be able to access the file system or the database and eventually the whole thing would come to a grinding halt... after a hard reboot it would work fine and I'd find no clue other than that syslog stopped logging a few days before | 16:34 |
teep_ | I have the same problem at this very moment... I can ssh, list processes, kill processes and some other tasks... but shell will freeze completely on commands such as 'top' and 'ls /' | 16:35 |
teep_ | does anyone have any clue what it could be or what I could try to test, right now, to find out more? | 16:35 |
air^ | teep_: regular harddrives? hw raid? or san? | 16:40 |
alvin | teep_: see bug 407862 for the syslog. About the rest: have you tried logging in with another username? I have the same problem when encountering bug 635181. Logging in with another user works, and then I can reboot the system. | 16:40 |
uvirtbot | Launchpad bug 407862 in rsyslog "Messages not being sent to system logs" [Undecided,Confirmed] https://launchpad.net/bugs/407862 | 16:40 |
uvirtbot | Launchpad bug 635181 in linux "High load average on Lucid for nominal/idle system use" [Undecided,New] https://launchpad.net/bugs/635181 | 16:40 |
SpamapS | zul: pong I'm here now, wassup? | 16:40 |
teep_ | hw raid | 16:40 |
zul | SpamapS: we are behind in the merges wanna divide up the list and get cracking? | 16:41 |
SpamapS | zul: sure, I'm still working on php | 16:41 |
teep_ | I can log in at the moment and I think I can do a normal reboot... but I'd rather find out what's up | 16:41 |
zul | SpamapS: really? | 16:41 |
SpamapS | zul: well I had to stop to get my specs done | 16:41 |
zul | SpamapS: heh | 16:42 |
ScottK | teep_: hard drives full (df)? | 16:42 |
SpamapS | zul: is there any point in sending stuff back to debian while they're still frozen? | 16:43 |
teep_ | no, checked that, hard drives not full | 16:44 |
zul | SpamapS: not really...just queue it up | 16:44 |
SpamapS | zul: I mean I guess its good to get the stuff into BTS | 16:44 |
teep_ | I was killing syslog processes to see if they locked things up but that didn't help | 16:44 |
teep_ | interestingly, shutting down apache with /etc/init.d/apache2 stop worked fine, but restarting it with start threw an error that the socket is already in use | 16:45 |
ScottK | SpamapS: As long as you give it an appropriate priority (like the DSO linking stuff is still wishlist in Debian), it's good to go ahead. | 16:47 |
teep_ | commands like w and netstat cause the shell to freeze | 16:49 |
SpamapS | zul: I'm still wrapping up my last spec, if you want to pick a few merges I'll pick whats left and get started in about an hour. | 16:49 |
teep_ | and I notice now that doing a ps, those commands aren't listed | 16:49 |
talntid | teep_, hows memory usage? | 16:49 |
zul | SpamapS: | 16:49 |
zul | SpamapS: sure | 16:49 |
teep_ | talntid: how can I see this without running top? | 16:50 |
talntid | free | 16:50 |
zul | SpamapS: but first i must eat | 16:50 |
teep_ | free causes the shell to freeze | 16:51 |
talntid | i'm thinking your memory is full. memory leak maybe... but likely. it's full | 16:51 |
talntid | cat /proc/meminfo | 16:52 |
teep_ | talntid: I can still open new shells though... and if I don't use certain commands, the system appears quite responsive | 16:52 |
Mez | can anyone reccomend a good hosting company in DE? | 16:52 |
teep_ | talntid: ah, cat /proc/meminfo works and lists 6GB free out of 10GB | 16:53 |
talntid | ok.. hmm.. | 16:53 |
teep_ | cat /proc/loadavg yields 40.98 40.19 38.36 ... that seems a bit high? | 16:55 |
talntid | very high | 16:56 |
jpds | teep_: Nice. | 16:56 |
teep_ | now how to determine which process is running amock, without the help of top? | 16:57 |
talntid | and without ps | 16:57 |
talntid | lsof? | 16:57 |
talntid | see what files are open? | 16:58 |
teep_ | lsof causes a freeze, alas | 16:58 |
talntid | indeed | 16:59 |
bluethundr | I am attempting to patch openssh to add the LPK patch.. but the process is failing and I have a question about some things I am finding in the rej files | 16:59 |
bluethundr | http://pastebin.ca/1994725 | 16:59 |
bluethundr | to me it looks like (among other things) am missing some libraries | 17:00 |
bluethundr | shouldn't the ubuntu equivalent of red hat yum whatprovides be apt-cache search to find these missing libaries? | 17:00 |
talntid | brb | 17:01 |
=== jdstrand is now known as jdstrand_ | ||
alvin | teep_: That's an enormous load. Can you run iotop? | 17:11 |
teep_ | alvin, nope, iotop freezes | 17:11 |
teep_ | I notice now that apache2 never really stopped... trying to kill it | 17:12 |
teep_ | there is no pid file for apache2 | 17:13 |
talntid | killall apache2 | 17:16 |
teep_ | killall freezes | 17:17 |
teep_ | funny thing is... doing a kill -9 on an individual apache2 process doesn't seem to respawn it... instead, it just keeps running | 17:19 |
bluethundr | is there any ubuntu specific version of the openssh source? | 17:25 |
teep_ | right... I'm off for now... alvin , talntid and the rest... thanks for your help so far! | 17:27 |
bluethundr | I am attempting to patch it on 10.10 but dpkg is complaining about missing the debian/changelog | 17:28 |
burntoutlamp | hey people not sure if you're the right groupt o ask this or not but I need an open source alternative to active directory | 17:29 |
bluethundr | burntoutlamp, LDAP | 17:29 |
burntoutlamp | -.- anything easier than manually configging LDAP and Kerberos etc? | 17:29 |
burntoutlamp | apps perhaps similar to AD? | 17:29 |
bluethundr | configuring LDAP and kerberos IS easy ;) | 17:30 |
burntoutlamp | for you lol I am a n00b | 17:30 |
bluethundr | best way to become a non n00b is to practice my friend .. heh.. persistence pays | 17:30 |
c0nv1ct | doesn't samba3 have PDC support that is a bit more noob friendly? | 17:30 |
bluethundr | I think it does | 17:31 |
spike | hi | 17:31 |
c0nv1ct | or was that samba4 | 17:31 |
highvoltage | hu spike | 17:31 |
burntoutlamp | bluethundr, to be honest I am on a time constraint as well. I would love to take the time to do that but I am somewhat crunched. | 17:31 |
bluethundr | hmm ok.. not sure what to recommend other than LDAP.. sorry | 17:32 |
spike | I've deboostrapped lucid and bundled it for ec2 with --kernel $aki . the instance boots up and on getconsole I can see a login prompt but it seems to have done nothing else | 17:32 |
bluethundr | anyone have any idea on best way to deal with the lack of debian/changelog in patching openssh? | 17:32 |
spike | ie it doesn't seem like it even tried to start the network or any daemon | 17:32 |
burntoutlamp | bluethundr, thanks dude | 17:32 |
bluethundr | burntoutlamp, no prob | 17:33 |
spike | any idea what it might be? | 17:33 |
burntoutlamp | I did find 389 dir server but it's fedora :< | 17:34 |
bluethundr | 389 indicates LDAP does it not? is this some slick simplification of LDAP of which I am unaware? | 17:35 |
J_P | Hi all | 17:35 |
burntoutlamp | maybe I dunno? like I said I am new. It is LDAP but I think makes it easy for people like me. I think I just might have stumbled upon an Apache solution also | 17:37 |
burntoutlamp | apache directory server | 17:37 |
J_P | I have problem using this: smbmount //192.168.0.1/ti /home/pc/net -o username=test,password=test => mount error(1): Operation not permitted. Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) | 17:37 |
J_P | But if I execute that as superuser works.. | 17:38 |
burntoutlamp | so if anyone else is interested I managed to just stumble upon that. and the site osalt.com in case anyone is not aware. this is great | 17:38 |
J_P | But I need to mount with mormal user.. How I do? | 17:38 |
bluethundr | does anyone know where I can download karmic koala 9.10 server off the top of their head? | 17:38 |
bluethundr | nevermind :) http://releases.ubuntu.com/karmic/ | 17:39 |
zul | Daviey: ping | 17:40 |
Daviey | zul: o/ | 17:41 |
zul | Daviey: umm...did you review the merge? | 17:41 |
Daviey | zul: i branched it.... | 17:42 |
=== NG_ is now known as ng_ | ||
Daviey | zul: started looking :) | 17:42 |
zul | Daviey: uh huh :) | 17:42 |
J_P | anyone? | 17:44 |
zul | mathiaz: ping | 17:49 |
mathiaz | zul: o/ | 17:49 |
zul | mathiaz: so puppet in natty right now is a rc mind if we update it? | 17:49 |
mathiaz | zul: about to upload the final release | 17:50 |
mathiaz | zul: ie 2.6.3 | 17:50 |
zul | mathiaz: excelente thanks! | 17:50 |
Daviey | zul: branch looks awesome too me! | 17:51 |
zul | Daviey: cool ill upload it then | 17:51 |
Daviey | zul: sorry for the delay... really, i am | 17:51 |
zul | Daviey: riiiiight ;) | 17:51 |
NightDragon | hello all | 17:54 |
NightDragon | question: i have a Dell PE 6800, is there a way for me to install DRAC on it? | 17:54 |
NightDragon | specifically, the DRAC gui would be nice | 17:54 |
patdk-wk | isn't the whole point of drac is remote management? not local? | 17:55 |
NightDragon | yes, but i'm not sure how to access it | 17:55 |
NightDragon | (When you buy your server from an auction for 140 bux, documentation isnt really a big priority for the seller :-/) | 17:56 |
NightDragon | right now i can mess with IPMI a little bit through 'ipmitool' | 17:56 |
patdk-wk | it probably doesn't have real drac then, just drac-express | 17:56 |
NightDragon | no, the thing has a full blown DRAC if i remember correctly | 17:56 |
NightDragon | *2600, sorry | 17:56 |
NightDragon | well actually | 17:57 |
NightDragon | how do i check this? | 17:57 |
NightDragon | lspci? | 17:57 |
Daviey | zul / mathiaz: Should we look to unify the debian and ubuntu puppet packages? | 17:57 |
zul | Daviey: in the long run yes imho | 17:58 |
sahuaroaz | What is everyone using to set services to start at boot? Is chkconfig taking hold? | 17:58 |
Daviey | zul: If you are looking to do some work on puppet, would it be worth discussing it with the DM? We are currently on a higher version than they are | 17:58 |
NightDragon | init.d | 17:58 |
patdk-wk | oh yuk | 17:58 |
patdk-wk | pe2600 + drac is pretty much crap | 17:59 |
NightDragon | :-/ | 17:59 |
patdk-wk | it requires os support to do anything at all | 17:59 |
NightDragon | aah shit | 17:59 |
patdk-wk | http://support.dell.com/support/edocs/software/smdrac3/RAC/en/is/index.htm | 17:59 |
NightDragon | stupid windows | 17:59 |
zul | Daviey: yeah when debian unfreezes probably :) | 17:59 |
NightDragon | well, at least it makes a hell of a samba server for 140 bux :) | 17:59 |
Daviey | zul: i thought it had now thawed? | 17:59 |
NightDragon | actually, patdk i have a DRAC card at the ofic | 18:00 |
zul | Daviey: i thought it was still forzen | 18:00 |
NightDragon | *office | 18:00 |
NightDragon | for a 2650 | 18:00 |
NightDragon | its probably plug-and-play compatable, yes? | 18:00 |
patdk-wk | no idea | 18:01 |
patdk-wk | I have never used drac | 18:01 |
patdk-wk | I use ilo2 a lot though | 18:01 |
NightDragon | whassat? | 18:01 |
NightDragon | right now it would be great to be able to manage hardware features through a GUI of some sort on my 2600. | 18:01 |
NightDragon | it seems that DRAC does that, but if theres something else, then i'm all for it | 18:02 |
Daviey | zul: Unstable has had lotta uploads recently | 18:02 |
NightDragon | right now my only problem with the server whatsoever is that i'm getting correctable ECC memory errors that i have to clear | 18:02 |
zul | Daviey: meh.... | 18:05 |
mathiaz | Daviey: we're already in sync | 18:11 |
mathiaz | Daviey: I'm working from the debian maintainer tree | 18:11 |
Daviey | mathiaz: rly? | 18:11 |
mathiaz | Daviey: http://git.debian.org/?p=pkg-puppet/puppet.git;a=summary | 18:11 |
Daviey | mathiaz: ahh, rather than syncing? | 18:12 |
mathiaz | Daviey: natty and maverick branches are already hosted on alioth | 18:12 |
mathiaz | Daviey: because debian is frozen, the latest version of puppet is not in unstable | 18:12 |
mathiaz | Daviey: and the debian maintainers are focusing on squeeze | 18:12 |
mathiaz | Daviey: but we're already in sync | 18:13 |
mathiaz | Daviey: ie all the ubuntu changes are in the master branch | 18:13 |
Daviey | mathiaz: Ah, ok - that sounds great | 18:13 |
Daviey | mathiaz: Is there an ETA for an updated Unstable package? | 18:14 |
mathiaz | Daviey: nope | 18:14 |
mathiaz | Daviey: and unstable is currently used for getting packages into squeeze | 18:14 |
mathiaz | Daviey: so as long as squeeze is not released there won't be any new packages uploaded to unstable that are syncable | 18:14 |
Daviey | mathiaz: experimental ? | 18:14 |
mathiaz | Daviey: yes - that would be the case | 18:15 |
mathiaz | Daviey: however the master is not uploaded to experimental | 18:15 |
Daviey | mathiaz: are you one of the DM's? | 18:15 |
mathiaz | Daviey: no | 18:15 |
mathiaz | Daviey: I only have commit access to the git repo | 18:15 |
hggdh | JamesPage: what would we need to run Hudson now -- would, for example, http://cloudbees.com/ work? | 18:16 |
Daviey | mathiaz: zul seems to be keen to update the package to Final... if he pushes you a diff, can you sponsor it into debian git tree? :) | 18:16 |
mathiaz | Daviey: I'm about to upload the latest release to natty | 18:16 |
mathiaz | Daviey: the work is already done | 18:16 |
Daviey | mathiaz: hmm... the debian git tree still looks like rc3? | 18:17 |
mathiaz | Daviey: yes - because I haven't pushed it yet | 18:17 |
Daviey | ahh! | 18:17 |
Daviey | oh great... i'll shut up then :) | 18:18 |
=== luis__lopez is now known as luis_lopez | ||
J_P | hey.. anyone can help me with mount samba shared? | 18:22 |
J_P | I have problem using this: smbmount //192.168.0.1/ti /home/pc/net -o username=test,password=test => mount error(1): Operation not permitted. Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) | 18:22 |
J_P | with super user works | 18:23 |
b0gatyr | Hiya. | 18:36 |
SpamapS | kirkland: hey, approx is pretty nice.. :) | 18:38 |
SpamapS | kirkland: a lot easier than trying to make sure squid-deb-proxy-client gets installed. :) | 18:38 |
ScottK | SpamapS: But you still have an SRU to finish. | 18:40 |
SpamapS | ScottK: I have so .. so much to do. ;) Which one? the ipvsadm sru? The mongodb sru? :-P | 18:41 |
ScottK | SpamapS: Wasn't there one for squid-deb-proxy? | 18:41 |
SpamapS | ScottK: yes, there is... I suppose I should throw a branch up with "the solution" rather than just pointing out the problem. :) | 18:42 |
ScottK | Yes. | 18:42 |
SpamapS | I actually think for a simple LAN setup, pre-seeding squid-deb-proxy-client is probably easier than trying to override DNS... | 18:43 |
* ScottK doesn't have an opinion on the implementation, just that it ought to get fixed. | 18:44 | |
=== oubiwann is now known as oubiwann-away | ||
SpamapS | Indeed, its severely broken as it stands right now. | 18:46 |
=== oubiwann-away is now known as oubiwann | ||
=== zul_ is now known as zul | ||
* SpamapS wonders if somebody has already written a command like 'ec2build' that does your build on a fresh ec2/euca instance... | 18:49 | |
zul | SpamapS: yes its called vmbuilder :) | 18:53 |
RoAkSoAx | \/win 11 | 18:54 |
RoAkSoAx | arrrgghhh | 18:54 |
SpamapS | zul: err, huh? | 18:56 |
SpamapS | zul: vmbuilder makes me a VM ... I want it to spawn a VM, copy the source package up, and build it. | 18:56 |
zul | SpamapS: vmbuilder makes your euca/ec2 iimages for you | 18:57 |
SpamapS | zul: no I want to use the stock ec2 image | 18:57 |
SpamapS | like.. ec2build -d maverick-amd64-c1.medium php5_blah.src | 18:58 |
zul | SpamapS: ah ok...thats different | 18:58 |
SpamapS | yeah... its that or buy a cheap 4 core box for doing builds here at home | 18:58 |
zul | SpamapS: you might be iobound rather than cpubound when you are using the ec2 instances to build though | 19:02 |
zul | but cheap virtualized (fake) 4 core box | 19:03 |
ScottK | Riddell recently built all of KDE pretty quickly on EC2. | 19:05 |
SpamapS | zul: but I will not be killing my machine, which is the main goal. :) | 19:09 |
wiredfool | any reason that my 10.04 servers would be periodically contacting bignay|auckland|atemoya.canonical.com? it's not updates, as I have a local apt-proxy | 19:09 |
SpamapS | wiredfool: did your servers come pre-installed w/ Ubuntu by any chance? | 19:10 |
wiredfool | they're virtual machines | 19:10 |
wiredfool | so, no. | 19:11 |
SpamapS | wiredfool: ah, then probably just the root kit canonical puts in the regular builds phoning home waiting for world domination orders. ;) | 19:11 |
wiredfool | I'm sure that's what an auditor would think | 19:11 |
SpamapS | wiredfool: whether or not you have a local apt-proxy, it may be that apt isn't using it all the time. | 19:12 |
SpamapS | auditors think what they're paid to think | 19:12 |
wiredfool | hmm. maybe that's a dist-upgrade check | 19:12 |
ScottK | NTP defaults to using ntp.ubuntu.com. Not sure if that relates. | 19:13 |
=== xfaf is now known as zul | ||
zul | grrr.... | 19:13 |
* wiredfool has a supershort sources.list -- three lines. | 19:13 | |
wiredfool | port 80 | 19:13 |
ScottK | That's a good posibility too | 19:13 |
zul | SpamapS: thats why you should have a second machine | 19:13 |
ScottK | wiredfool: I'd grab it with tcpdump and look rather than speculate. | 19:14 |
SpamapS | zul: I do.. "in the cloud!" | 19:14 |
wiredfool | scottk: yeah. I was hoping that there was a quick answer | 19:15 |
zul | SpamapS: meh....im not going to argue about this right now ;) | 19:15 |
SpamapS | zul: I do builds all day on ec2 c1.medium's .. very quick and costs about $0.10 | 19:15 |
SpamapS | zul: much cheaper than a second machine, and no power usage incurred at Los Angeles's ridiculous rates. | 19:15 |
zul | SpamapS: yes but i dont want to give amazon 10cents everytime i do something | 19:15 |
SpamapS | zul: I can reasonably build a 4 core box with a few cheap SATA disks for $250 .. thats a lot of $0.10 builds. ;) | 19:16 |
=== 15SAA4B7R is now known as JJman6_ | ||
Aison | hello, when I logging to one of my ubuntu server with ssh, I get this nice welcom screen with the message about the current load and how many packages can be upgraded | 19:22 |
Aison | but on my 2nd ubuntu server I don't see anything, where can I turn that on? | 19:22 |
cwillu_at_work | Aison, /etc/update-motd.d/ I believe | 19:25 |
ZacharyNewb | Server is now web page serving! :D yay beyond-sight.com | 19:28 |
ZacharyNewb | the php is probably coded wrong, I need to fix the path links | 19:28 |
ZacharyNewb | anyone here? | 19:28 |
cwillu_at_work | the php is always coded wrong | 19:28 |
cwillu_at_work | poorly handled pages | 19:29 |
cwillu_at_work | or something | 19:29 |
cwillu_at_work | I like the black-on-black though | 19:29 |
ZacharyNewb | well | 19:29 |
ZacharyNewb | in this case | 19:29 |
ZacharyNewb | I've had to redo the php every time I put the site on another server | 19:30 |
ZacharyNewb | it's jst how it handles directories | 19:30 |
ZacharyNewb | It looks really nice when it's working | 19:30 |
ZacharyNewb | the navigation menu is distributed nicely among the leaves | 19:31 |
ZacharyNewb | and the links change colors to match the color scheme | 19:31 |
ZacharyNewb | Xalem: I need to configure the software firewall, mail server, printer server | 19:33 |
SpamapS | ZacharyNewb: you can help yourself a lot by never ever using local files in your code.. thats sooo 2001 | 19:36 |
ZacharyNewb | SpamapS: lol, what am I supposed to do? link to other sites? or link to my own site? | 19:37 |
ZacharyNewb | I can't trust other sites to keep the files up | 19:37 |
SpamapS | ZacharyNewb: if you're talking about includes, there's a path for that | 19:42 |
talntid | having trouble killing a process... | 19:46 |
talntid | tried kill, kill -9... it's still there.. it's firefox-bin.. any ideas? | 19:46 |
ZacharyNewb | talntid: sudo apt-get autoremove firefox ? | 19:53 |
ZacharyNewb | talntid: uninstalls it | 19:53 |
ZacharyNewb | sudo apt-get remove firefox | 19:53 |
ZacharyNewb | sudo apt-get autoremove firefox | 19:53 |
ZacharyNewb | sudo apt-get purge firefox | 19:53 |
talntid | it will still be in memory | 19:56 |
talntid | so long as its running | 19:56 |
ScottK | talntid: It's also not a very server related issue. | 19:59 |
dude1 | . | 20:08 |
ZacharyNewb | I need some help setting up the ubuntu print server? | 20:19 |
uvirtbot | New bug: #676672 in php5 (main) "FTBFS on natty: SASL LDAP check fails (and other DSO problems)" [Undecided,In progress] https://launchpad.net/bugs/676672 | 20:31 |
zul | SpamapS: https://lists.ubuntu.com/archives/ubuntu-devel/2010-November/031991.html | 20:39 |
SpamapS | zul: indeed, working on it how with php5 | 20:43 |
SpamapS | zul: its actually dumber than that, php actually thought sasl_version *should* be in -lldap .. even though it has always been a direct part of sasl2 | 20:44 |
zul | hehe | 20:44 |
zul | reason 1001 to hate php | 20:44 |
SpamapS | zul: maintaining PHP *will* teach you how to work around things done "the wrong way" | 20:44 |
zul | SpamapS: heh....im out of here l | 20:45 |
SpamapS | zul: Yeah I have to run some errands.. will hopefully wrap up php merge and ftbfs later today or tomorrow then get on top of those other merges | 20:45 |
zul | SpamapS: cool beans | 20:46 |
=== ng_ is now known as NG_ | ||
=== NG_ is now known as ng_ | ||
PeterNL | Hi. i can't ssh to my server, but I can ping it. Also apache doesn't seem to respond. What's happening? | 21:32 |
guntbert | PeterNL: no services running? | 21:34 |
PeterNL | There should be loots of things running | 21:34 |
guntbert | PeterNL: and please don't crosspost | 21:35 |
PeterNL | Sorry, but I thought there was noone here | 21:35 |
guntbert | I take it you cannot get to the server? | 21:35 |
guntbert | )in person) | 21:35 |
PeterNL | I'm sitting (almost) right next to it | 21:36 |
PeterNL | But theres no way I can connect a monitor or a keyboard | 21:36 |
guntbert | thinking... | 21:36 |
guntbert | PeterNL: test it with nmap | 21:38 |
PeterNL | ok | 21:38 |
PeterNL | Lots of ports are open, as they should be | 21:38 |
PeterNL | (exactly the ones I expexted to be open) | 21:39 |
guntbert | PeterNL: then you could try to reach other services... (just to see if it is alive at all - I sometimes had such failures with an old suse server, there only a manual reboot would help) | 21:41 |
PeterNL | ...nothing | 21:42 |
PeterNL | But I don't want to reboot it. The PSU fan has some problems with spinning up... Really... | 21:43 |
guntbert | PeterNL: with only a keyboard you could reboot it without powering down... | 21:43 |
PeterNL | I should try that. But the last time I booted it there was no keyboard present. I don't have any USB keyboards lying around, and PS/2 isn't hot swappable | 21:44 |
guntbert | PeterNL: well, I'm at the end of ideas then - sorry - but if it is an old machine it might have a reset button... | 21:47 |
PeterNL | It might... | 21:47 |
* PeterNL graps a flashlight | 21:47 | |
PeterNL | grabs* | 21:47 |
PeterNL | ...there goes my almost 300-days uptime... | 21:48 |
PeterNL | Wait | 21:48 |
PeterNL | I might have a usb keyboard after all... | 21:48 |
PeterNL | ...maybe... | 21:48 |
eriksson25 | Anyone in that can help me, updated to kernel 2.6.37 to try and fix one thing but didnt work. Now I want to reinstall the original 10.10 kernel. 2.6.35.22-generic | 21:58 |
air^ | reboot and select the proper kernel in grub? | 21:59 |
eriksson25 | I followed this steps and it was realy easy to change. But where do I finde the generic. | 21:59 |
eriksson25 | http://ubuntuforums.org/showthread.php?p=10112818 | 21:59 |
guntbert | eriksson25: server on a notebook? | 22:00 |
eriksson25 | I want to reinstall it, since It was giving me alot of errors that I didnt get with a new installed .37 | 22:00 |
eriksson25 | server | 22:00 |
eriksson25 | Trying to install mantis drivers, installed with dkms but didnt work so removed them and that made my system throwing me alot of weird errors. | 22:01 |
ZacharyNewb | could someone help me with the ubuntu server print server? CUPS? | 22:03 |
guntbert | eriksson25: sorry, no help from me there, I only wondered because the .37 was supposed to fix a wireless issue with iwg4395... | 22:03 |
RoyK | ZacharyNewb: as always, ask a questiin, don't ask to ask | 22:03 |
eriksson25 | mm, it was realy easy to setup | 22:03 |
eriksson25 | But didnt help me =/ | 22:04 |
ZacharyNewb | eriksson25: Thank YOU for your help yesterday. beyond-sight.com is now page serving thanks to you. ;) | 22:04 |
ZacharyNewb | RoyK: Well, I followed some tutorial, which described configuring the CUPS to listen on a certain port so I could configure it on a webpage over the network | 22:05 |
PeterNL | I just did connect a monitor to my server, and it says "[timestamp] BUG: soft lockup - CPU#0 stuck for 11s! [apache2:PID]" | 22:05 |
eriksson25 | No problem, my turn to sith with a problem. Just a litle more advance and hard to explain. | 22:06 |
PeterNL | ...and it doesn't respond to any key presses | 22:07 |
=== _TechAway_ is now known as _Techie_ | ||
ZacharyNewb | RoyK: Current problem, is I don't know why cups doesn't seem to be working on my server. I've rebooted it (managing it through putty on a windows 7 netbook) set which port to use for the http:631 configuration, but the web configuration page doesn't show up when I try to access it over the network | 22:08 |
hggdh | zul: there? | 22:09 |
hggdh | smoser: there? | 22:09 |
uvirtbot | New bug: #676714 in euca2ools (main) "pull euca2ools 1.3.1 into natty" [Undecided,New] https://launchpad.net/bugs/676714 | 22:11 |
ZacharyNewb | RoyK: eriksson25 I've reinstalled the CUPs with sudo apt-get CUPS | 22:12 |
ZacharyNewb | RoyK: eriksson25 still doesn't seem work. | 22:12 |
mathiaz | SpamapS: re https://code.launchpad.net/~clint-fewbar/ubuntu/natty/cheetah/natty-merge-with-debian/+merge/39881 | 22:15 |
mathiaz | SpamapS: are planning to go back to the merge before the EOW? | 22:16 |
eriksson25 | I dont know anything about cups sorry. | 22:21 |
eriksson25 | But google is your friend. | 22:21 |
PeterNL | maybe dpkg-reconfigure cups | 22:24 |
kirkland | hallyn: merging kvm now ... sorry for the delay | 22:37 |
hallyn | kirkland: np, thanks | 22:37 |
hallyn | hey does anyone know where the heck to get the openldap HEAD ? | 22:37 |
OneSoulLegion | Would anyone have some tips getting ubuntu server to install from a usb drive? | 22:38 |
eriksson25 | Easy, read on the ubuntu.com | 22:40 |
hallyn | ah there it is | 22:40 |
soren | hallyn: Are they still on cvs? | 22:40 |
OneSoulLegion | eriksson25: Oh, I've tried that. Unfortunately I've run into some problems. | 22:40 |
soren | hallyn: You could just use the bzr mirror on Launchpad. | 22:41 |
eriksson25 | Then say them. Hard for us to know what errors you have had. | 22:41 |
hallyn | soren: no i want to see the very latest | 22:41 |
soren | hallyn: I think that's HEAD. | 22:41 |
hallyn | http://www.openldap.org/devel/cvsweb.cgi | 22:41 |
hallyn | so i guess i'ts still cvs :) | 22:41 |
hallyn | no wonder googling for svn openldap was getting me nowhere | 22:41 |
OneSoulLegion | Aye, sorry. Basically, I'm trying to get it to install on an eeebox, and it tells me it can't find the cd-rom. Of course, the machine doesn't have a cd-rom drive and it's trying to install from a usb stick... | 22:42 |
kirkland | soren: did you get a chance to look at that live iso? | 22:42 |
soren | kirkland: Not at all, sorry. | 22:42 |
eriksson25 | Well, that is a boot problem in the box, have you set it to boot from the usb? | 22:42 |
eriksson25 | In my asus nootbook it is shown as a hdd. | 22:42 |
OneSoulLegion | Yeah, I've done that. And it finds the usb just fine, since it can start and run the installer. | 22:42 |
OneSoulLegion | It just fails partway through saying it can't copy the files from the cdrom. | 22:43 |
kirkland | soren: bummer; any chance you could boot that puppy in a kvm and see if it's something silly/easy I'm missing? | 22:43 |
kirkland | soren: give it 10 minutes or so attention? | 22:43 |
eriksson25 | And you did the usb with the usb creater software? | 22:43 |
OneSoulLegion | (as an aside, I was able to install the desktop version no problem with the same method, but then I realized I need the server edition) | 22:43 |
OneSoulLegion | I tried making it with the usb creator software, as well as unetbootn. | 22:43 |
eriksson25 | Why did you need it? | 22:43 |
eriksson25 | server eddi. | 22:44 |
OneSoulLegion | Been searching around various websites and tried everything for a few hours now. =) | 22:44 |
OneSoulLegion | Because I want to use the machine as a webserver? | 22:44 |
eriksson25 | Well, no problem, install desktop eddi, remove genome, and instal LAMP and you are done. | 22:44 |
eriksson25 | You got some more stuf there that is not needed but you wount notice. I run my server as desktop version for 3 years. Before I did a reinstall. | 22:45 |
OneSoulLegion | I'll have a look at that then... I guess I need it to accept my network card properly before I can get LAMP installed, though? | 22:46 |
eriksson25 | Well, yes to dl stuf its needed. And to be a web server its surly needed. | 22:46 |
OneSoulLegion | Yeah, I'll have to agree with that =) | 22:46 |
eriksson25 | =) | 22:47 |
OneSoulLegion | It seems mostly to have problems with the DHCP rather than the network card itself, at least. | 22:47 |
eriksson25 | Do it, and skip serching for a loong time. | 22:47 |
eriksson25 | Well, turn that of and put static ip on it then. | 22:47 |
OneSoulLegion | If I manually set the IP, it'll find and connect to my old webserver, but it won't find the gateway, nor will it get out to the 'net. So something seems a little wonky there. | 22:47 |
OneSoulLegion | (I'm basically trying to move over from my old Pentium-2 which is sounding like a lawnmower atm, to the new machine) | 22:48 |
eriksson25 | Thats becouse you havent set a static dns and gatway. | 22:48 |
OneSoulLegion | Aye, sounds likely. | 22:48 |
OneSoulLegion | Where would I do that? | 22:48 |
eriksson25 | hmm, dont remember on the top of my head. But google static dns ubuntu and you will find it. | 22:49 |
OneSoulLegion | Okay, thanks a lot for the help. =) | 22:50 |
kirkland | hallyn: done | 22:57 |
=== ng_ is now known as NG_ | ||
bluethundr | is there an automatic account management tool in ubuntu that is similar to auth-config under red hat that would allow automatic configuration of pam to do ldap lookups for it's information? | 23:45 |
mdeslaur | bluethundr: there's pam-auth-update | 23:50 |
bluethundr | mdeslaur, that's great thanks! | 23:50 |
mdeslaur | bluethundr: not sure if it'll do what you're looking for, but take a look | 23:51 |
bluethundr | hoping to get all of pam to listen to an ldap server | 23:51 |
bluethundr | I will look into it | 23:51 |
bluethundr | mdeslaur, yes I gave it a try, but no luck | 23:56 |
bluethundr | at any rate, here is how I tried to configure my /etc/pam.d/common-auth file: http://pastebin.ca/1995092 | 23:58 |
bluethundr | as an example of how I tried to set this up | 23:58 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!