[00:09] hi - every time I restart, (hardy) and then ssh in, it seems to go back top the default ubuntu ssh motd, rather than my own custom one. any idea why? [00:12] Salutations. How can I test that my locally running NTP server is in fact working - that is, serving time? (Without access to another machine :( [00:13] ntpdate -v localhost ? [00:13] hmm, no, that wont work [00:13] Nope, socket in use :) [00:14] socket in use error go! [00:14] heh yep [00:14] Hmm, which port does NTP use? [00:15] netstat -anp|grep ntp [00:15] I could make an ssh tunnel and do it from a machine outside the network. [00:15] i dont think it's tcp [00:15] No, UDP port 123 [00:16] I really don't want to point my CISCO router at this NTP server until I know that it's working :( [00:19] Hmm, UDP over SSH means UDP -> TCP -> SSH -> TCP -> UDP, not something you setup for fun :( [00:20] indeed [00:20] easier would be just to allow external access from your specific ip and then try [00:20] Unfortunately that's behind several firewalls, not really a possibility. [00:21] oh, i misunderstood what you meant to do with your router [00:22] The router is currently using an external NTP server and is experiencing severe jitter. It's causing grief with VoIP accounting, the recommendation was to use an internal NTP server, and I happened to have one - but I'd like to test it before we do any changes. [00:24] yeah i just understood [00:24] if you've got multiple interfaces (or make a second virtula interface or add an extra ip to one of your interfaces [00:25] e.g. ip addr add 127.0.0.2/32 dev lo [00:25] and get ntpd to bind to one ip and use ntpdate bound to another [00:25] ooh, that's *evil*, I like that :) [00:25] i need to pee, gl [00:25] Dunno if it will work and I'm going to have to think about it before breaking my network, but thanks. [00:29] I think I can bind ntpd to an interface, but I don't see how I can do that with ntpdate. [00:30] get ntpd to bind to a non-default source ip [00:30] eg, to avoid network breakage [00:31] ip addr add 127.0.0.2/32 dev lo [00:31] and get ntpd to bind to 127.0.0.2 [00:32] Hmm. [00:33] * owh tests this locally first :) [00:33] If I come off the 'net, it broke :) [00:33] likewise [00:34] # ip addr show lo [00:34] 1: lo: mtu 16436 qdisc noqueue link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo inet 127.0.0.2/32 scope host lo [00:34] looks ok here [00:35] * owh is rtfm-ing on how to change the source ip for ntpd. [00:38] hmm [00:38] doesn't appear possible [00:38] bug reported in 2004 [00:38] 2005* [00:38] still doesn't appear to be resolved [00:38] Yeah, that makes two of us. [00:39] You'd think for such an important protocol there'd be some testing methods :) [00:42] Deeps: The only thing I can see is ntpq [00:43] duhof course [00:44] Well AFAICS, it shows what the daemon thinks it's doing, but it doesn't tell the story from the client side. [00:45] it queries the daemon to find that information out though [00:45] same as what the remote client would do [00:45] Hmm, learnt something new :) [00:46] Note to self: Debugging ntpd server, use ntpq -p [00:47] Tah Deeps [00:48] anyway :) [00:48] anytime even [00:49] :) [04:41] New bug: #253436 in samba (main) "Windows Network not recognized" [Undecided,New] https://launchpad.net/bugs/253436 === MajorP47^ is now known as MajorP === MajorP is now known as MajorP47 [05:04] anyone here running a database and web server using kvm on 8.04.1? [05:16]  Hello - I have an issue with root emails from cronjobs, I added a root: my@email.com in /etc/aliases then did newaliases and according to logs it still tries to send the email to root@domain.com [05:27] no-one is awake here ? :p [05:31] To1: Did you reload postfix afterward? [05:31] yep [05:32] it's trying to send the email with a relay but I took out the relay from main.cf then reloaded pf... [05:33] must be the local bind MX [05:35] how can I force root to send out emails locally ? [07:53] New bug: #255895 in php5 (main) "found bug on PHP5" [Undecided,New] https://launchpad.net/bugs/255895 === emgent is now known as pint === pint is now known as emgent [11:10] Can anyone help me install the GUI on Ubuntu server 6.06? [11:15] Saladin: There's no GUI on a server traditionally. If you want to install the desktop then you can `apt-get install ubuntu-desktop` - from then on out you'll probably want #ubuntu support. [11:15] Ah, okay, hads. [11:16] The problem I'm having is that I tried that, but I get returned with errors about broken packages [11:17] Make sure you `apt-get upgrade` first, there shouldn't be broken packages usually. [11:17] Upgrade rather than update? [11:17] Alright, I'll give that a try [11:17] I'd been told to do 'apt-get update' [11:21] New bug: #256014 in php5 (main) "escapeshellcmd() security fix generates problems with mediawiki and other web-apps" [Undecided,New] https://launchpad.net/bugs/256014 [11:21] hads, I still get the same error message after that: "The following packages have unmet dependancies. ubuntu-desktop: Depends: x-window-system-core but it is not going to be installed. E: Broken packages" [11:50] <_ruben> sudo apt-get install -f *might* fix that [12:03] hads, _ruben, thank you. [12:03] I am currently installing the Ubuntu desktop [12:04] Now, just one more question... How do I add a user to sudoers from the command line? [12:04] ((At the moment I have only the root user)) [12:15] <_ruben> only root? how did some custom installation or smth? [12:15] <_ruben> and you just need to add any user to the admin group, which will grant that user sudo right [12:15] <_ruben> s [12:15] It is a hosted dedicated server. [12:15] They did the install. [12:16] ((How do I add users from terminal?)) [12:16] <_ruben> two tools .. adduser and useradd [12:16] <_ruben> both work, just slightly different syntac [12:16] <_ruben> x [12:18] Ah, okay. [12:18] What's the syntax? [12:18] man adduser, man useradd [12:20] Thanks [12:33] Alright, I just installed the ubuntu-desktop, and added a user to root, do I need to now restart my server for it to take effect? It should load the GUI automatically, right? [12:33] <_ruben> Saladin: what kind of access do you have to this server? [12:35] I have access through something called an eRic card - which simulates being sat at the actual machine - so I can access BIOS etc [12:35] <_ruben> ah ok [12:36] <_ruben> 'sudo invoke-rc.d xdm start' should do the trick i guess [12:36] Ah, without rebooting? [12:36] <_ruben> yeah ... and thats pretty much where ubuntu-server support ends [12:37] Ah, okay. [12:37] Though, that came up with an error: "unknown init script" [12:37] Rebooting should do it though, right? [12:38] <_ruben> hmm .. i'd think xdm would be part of ubuntu-desktop .. then again, i dont use ubuntu-desktop [12:39] Ah, I see. [12:39] I'll try rebooting to see what happens. [12:39] <_ruben> or just do a clean install of ubuntu (desktop) instead [12:39] I can't. No access ACTUAL physical access to the server. [12:40] Is there a command to reboot from terminal? [12:41] ((This is why I'm installing the GUI... I'm not good enough yet to use the command line only.)) [12:44] <_ruben> sudo reboot [12:44] Thank you [13:52] http://et.redhat.com/~rjones/virt-p2v/ [13:52] pretty cool tool for migrating physical machines to virtual. [14:04] thus the "p2v". You see, the "p" stands for "physical", and the "v" stands for "virtual", thus symbolizing the transition the machine goes through when having this program applied to it. Physical to Virtual. [14:38] kirkland: there's a new RAID section in the serverguide covering software raid and friends... I would greatly appreciate any feedback when you have time [14:39] kirkland: also the bootdegradedraid testing procedure you wrote up was a great help in writing the docs :) [15:00] New bug: #240984 in samba (main) "Copying dirs from samba shares fails" [Undecided,New] https://launchpad.net/bugs/240984 [15:26] Kamping_Kaiser: ping [15:26] Anyone here using the 'backuppc' package? [15:27] (Or are we all busy watching the Olympic opening ceremony?) === forces_ is now known as forces [15:27] <_ruben> that's a double "no" for me ;) [15:28] _ruben: Ta :-) [15:34] no and yes [15:35] I am using the regular 7.04 but I have LAMP installed, I need help determining while no one outside can see my server since enabling Samba. Stopping Samba does not help [15:36] Shane-S: apache? [15:36] it seems to drop connectivity randomly as well. Like 10 minutes ago I could get ot the internet, now I can't [15:36] Apache2 yes [15:37] How are you connected to the internet? [15:37] but it seems to be something on the systems, apache is listening and stuff, seems more hardware to me, or would it be apache itself [15:37] It is plugged into a DMZ port on a Business Class Cable Modem/Router [15:37] it has a static IP assigned [15:38] but it is not specified. It worked until Samba was setup [15:38] Check: ipaddress/interfaces; routes (default route); Are services listening correctly (netstat -lt) [15:39] did that and I have 0's for the Rec/Sent but *:www *:* on foreign State is Listen [15:39] I checked iptyables _L there are no entries [15:42] im lost at this point as to what is causing it, anything else I can check? [15:42] Shane-S: what is the problem? [15:45] sommer: excellent, thanks. i'll definitely review the server guide raid stuff [15:46] my webserver loads locally, but I can not access it from anywhere in the network or the web [15:46] it only happened after Samba was started, but I also gain and lose internet randomly, so it seems like a network issue [15:48] unsure what to do, as netstat shows apache listening, I can load it locally,but I can't load it via IP form and systems [15:48] I can ping it and it can ping other systems [15:54] kirkland: cool, it looks like doc.u.c isn't updated yet, but you can check out the xml using bzr branch lp:ubuntu-docs [15:54] kirkland: should be updated this evening though :) [15:55] sommer: thanks, i'll probably wait for d.u.c ;-) I've got a few other things to do today [15:58] oh dear apparently snoop dogg does bollywood now [16:01] zul: link plz [16:01] snoop snoopaloop, yaaa :) === c1|freaky is now known as fReAkY[t] === |W8TAH| is now known as w8tah [16:36] Deeps: bbc website [16:36] what about it? Russia is at war with Georgia? [16:37] ****ing BBC blocking US people from viewing video [16:41] lukehasnoname: You haven't paid your license fee. [16:42] hmph. [16:48] lukehasnoname: BBC is blocking *non-uk* ip addresses [16:51] New bug: #256112 in samba (main) "Samba should be version 3" [Undecided,New] https://launchpad.net/bugs/256112 [16:53] thefish: I figured. In any case, I still don't know what zul was pointing at with deeps, unless it was an inside thing. [16:54] 1558.38 < zul> oh dear apparently snoop dogg does bollywood now [16:54] 1601.21 < Deeps> zul: link plz [16:54] 1636.07 < zul> Deeps: bbc website [16:54] heh [16:58] jdstrand: ping, regarding ecryptfs-utils and auth-client-config [16:58] kirkland: I thought that got uploaded? [17:04] jdstrand: oh yeah, it did [17:04] jdstrand: i wanted to circle back on whether or not it would be possible to automatically run that auth-client-config command on ecryptfs-utils install/uninstall? [17:05] jdstrand: i've gotten a fair amount of feedback from people complaining about running that command [17:05] jdstrand: why can't they just install the package, and the like [17:05] kirkland: it is possible, but a policy needs to be developed to safely do it. I believe all the necessary functionality is there to do it [17:05] jdstrand: i need to hash this out with slangasek, then? [17:06] kirkland: pitti had a similar idea, but slangasek says his stuff will be ready. as such, developing a policy ofr auth-client-config is likely wasted effort [17:06] kirkland: pitti went a different route until slangasek is done [17:07] (pitti's situation was slightly different than yours, btw) [17:08] kirkland: so basically, yes-- talk to slangasek. it is unlikely he would approve a policy using a-c-c right now anyway [17:08] jdstrand: okay, sounds good, he's on schedule to talk to me about that tomorrow [17:08] sorry, today [17:09] kirkland: it might be worth noting that if he isn't able to do it in time, we can work to use a-c-c as a packaging stop-gap so you aren't blocked [17:09] kirkland: but we should wait to see what he says [17:09] jdstrand: right... so my main concern is this.... [17:10] jdstrand: for the first few weeks of testing, I had people using: sudo auth-client-config -p ecryptfs_standard -t pam-auth,pam-session [17:10] jdstrand: which was missing pam-password [17:10] jdstrand: i needed to get the password change hooks working right and tested [17:10] jdstrand: now it's there [17:11] jdstrand: i've gotten a few people opening duplicate bugs about them changing their password and the wrapped passphrase not getting updated [17:11] kirkland: just need to add ',pam-password' to that command [17:11] jdstrand: it's "fixed", but those individuals have to manually run sudo auth-client-config -p ecryptfs_standard -t pam-auth,pam-session,pam-password [17:11] kirkland: but yeah, I see what you're saying [17:11] jdstrand: yeah, it's done on my wiki page [17:11] jdstrand: it's just i'd like to "fix" that for people with a version bump, tell them to apt-get upgrade, you know..... [17:11] kirkland: well, it is a development release, and we can't do this automatically yet [17:12] jdstrand: yeah [17:12] jdstrand: okay, thanks for listening [17:12] jdstrand: i'll catch up with slangasek later today [17:13] kirkland: however, we will fix it one way or another. if slangasek finishes, great, if not, we can figure out an alternative with a-c-c. [17:13] jdstrand: ogey doke [17:13] kirkland: unfortunately, neither will be *right now* ;) [17:14] jdstrand: okay. i was hoping to get something into one of the alphas [17:16] kirkland: I'm offline in 45 minutes for 9 days, so I won't be much good there. :( if you are really keen on it, you can play with a-c-c-- there are ideas in /usr/share/doc/auth-client-config/README about its use in maintainer scripts [17:17] jdstrand: okay, you're on vacation too! :-) [17:17] kirkland: if you decide to develop the a-c-c maintainer scripts usage policy, then I would definitely try to get others involved-- soren is likely an excellent choice [17:18] I bounce stuff off him all the time. mathiaz is very thoughtful too [17:18] (not that others aren't-- just trying to think who will be in town :) [17:44] hi room [17:45] im lookin for help [17:46] !ask | dew2 [17:46] dew2: Please don't ask to ask a question, ask the question (all on ONE line, so others can read and follow it easily). If anyone knows the answer they will most likely answer. :-) [17:47] :D.. ok.. im wanting to know what to set my hostname to to make a server work [17:48] its an online game called tremulous which the master server cant connect to me [17:50] I suppose i basically need to know the steps from setting my hostname in host file, interfaces, how to set up an ip for a server on this computer which isnt the eth0 adapter address === macd_ is now known as macd [18:40] is the default ubuntu encoding uft-8? [18:41] as in iconv character encoding === fReAkY[t] is now known as c1|freaky [19:22] hey im looking for an SMB/LDAP expert to help me out [19:23] erreur LDAP: Can't contact master ldap server (IO::Socket::INET: connect: Connection refused) at /usr/share/perl5/smbldap_tools.pm line 282. [19:23] Populating LDAP directory for domain WGSORG (S-1-5-21-1990269258-2767708890-2597390790) [19:23] (using builtin directory structure) [19:23] Can anyone lend a hand? [19:24] please? [19:27] waiiiitttt... doh [19:30] Hi, im trying to use the find command to find specific files by date then copy them to a specific directory. [19:30] find /opt/zimbra/ -mtime -3 -name "*.msg" -exec cp -arfvp * /var/tmp/ariba/ {} \; [19:30] Can someone help me modify that to work? [19:32] hello [19:32] looking for someone who knows a little about SMB/LDAP [19:33] anyone? [19:35] zul: ping [19:35] zul: could I please get you to take a look at https://bugs.launchpad.net/ubuntu/+source/ecryptfs-utils/+bug/256154 and sponsor my fix? [19:35] Launchpad bug 256154 in ecryptfs-utils "pam_ecryptfs should respect ~/.ecryptfs/auto-[u]mount files" [Low,In progress] [19:36] zul: I have tested it thoroughly, and I'm pushing it upstream too [19:37] kirkland: sure gimme a sec === c1|freaky is now known as freaky[t] [19:41] kirkland: done [19:41] zul: rock! [19:54] nevermind, i figured it out [19:54] thanks for all the help #ubuntu-server ! [20:25] hello, some virtual machine specialist here? [20:25] i need an important suggest. [20:25] soren kirkland ? [20:26] i dont saw vmware in ubuntu intrepid and hardy.. [20:26] please suggest me a good software for run virtual machines [20:26] ScottK siretart zul ? [20:27] what is the best software packaged in ubuntu for virtualization ? [20:27] :-| [20:28] uvirtbot` do you know? :) [20:28] dldc: Error: "do" is not a valid command. [20:28] !vistualization [20:28] Sorry, I don't know anything about vistualization [20:28] :-[ [20:28] !virtualisation | dldc [20:28] dldc: There are several solutions for running other operating systems (or their programs) inside Ubuntu, while using the native CPU as much as possible: !QEmu (with !KQemu), !VirtualBox, !VMWare, as well as !WINE and !Cedega for Windows applications [20:28] Deeps what is the best sotfware? [20:28] VirtualBox ? [20:29] what OS's do you want to virtualise? [20:29] linux [20:29] linux? windows? bsd? [20:29] only linux? [20:29] kvm [20:29] i'm in ubuntu but i should virtualize another system for some test [20:29] zul kvm ? [20:29] !kvm [20:29] kvm is the preferred virtualization approach in Ubuntu. For more information see https://help.ubuntu.com/community/KVM [20:29] if you have a newish CPU on the system which has the vt extentions (cat /proc/cpuinfo) then yes, KVM for sure [20:29] !vmware [20:29] VMWare Player is in Ubuntu's !Multiverse repository (package "vmware-player", only for Feisty and Edgy), and http://www.easyvmx.com/easyvmx.shtml can create VMs for it. Instructions can be found at https://help.ubuntu.com/community/VMware - See also !virtualizers [20:29] vmware sucks. [20:30] otherwise, i'd recommend xen [20:30] i need a fast tool [20:30] as a failsafe, vmware's always a good bet, performance is pretty good too [20:30] uhm.. [20:30] xen and kvm have a gui ? [20:30] not that i know of, read their relevant pages for more info though [20:30] see above for the kvm page [20:30] !xen | dldc [20:30] dldc: XEN is a virtual machine monitor for x86 that supports execution of multiple guest operating systems with unprecedented levels of performance and resource isolation. Information on installing it for Ubuntu can be found at https://help.ubuntu.com/community/Xen [20:31] virt-manager is a gui for both dldc [20:31] there you go [20:31] but its still not reached 1.0 [20:31] afaik [20:31] thefish virt-manager can manage kvm too ? [20:31] dldc: yes [20:31] nice! [20:31] if you are not comfortable with a bit of console work, vmware is the way to go though [20:32] it`s a very great info [20:32] dldc: last time i used it, it was not perfect [20:32] nah i like console but i`d like too little clean gui for manage it [20:32] and you will have to set up networking manually iirc [20:32] no prolem [20:32] sounds good, i will write a script for it [20:33] i go to try kvm+virt-manager [20:33] :) [20:33] i need only gentoo with commandline [20:33] not desktop manager [20:33] it`s only for test :) [20:40] !kvm [20:40] kvm is the preferred virtualization approach in Ubuntu. For more information see https://help.ubuntu.com/community/KVM [20:44] thefish: virt-manager, like from redhat, can manage xen? [20:48] lukehasnoname: yes [20:49] i think that was its original purpose, kvm was added later [20:50] freakin' sweet! I'm going to be messing with FreeBSD and Solaris as well as Debian, Ubuntu and CentOS when I get back up to Tech, and obviously I can't use KVM for all those hosts. [20:50] why not? [20:50] * _ruben just installed VMware ESXi .. kinda sweet [20:51] lukehasnoname: bsd and solaris will run in kvm guest [20:51] for all those HOSTS. If I'm testing out running Unix as the host, I need xen or vmware [20:52] btw _ruben I just found out today that vmware ESXi is free, and has graphical tools with it. Might be worth a look... though I am trying to stick open-srouce [20:53] ah gotcha ;) [20:59] <_ruben> lukehasnoname: esxi is kinda picky wrt its hardware tho [20:59] !VmWare [20:59] VMWare Player is in Ubuntu's !Multiverse repository (package "vmware-player", only for Feisty and Edgy), and http://www.easyvmx.com/easyvmx.shtml can create VMs for it. Instructions can be found at https://help.ubuntu.com/community/VMware - See also !virtualizers [21:25] Later gentlemen [21:47] thefish one question [21:47] my virtual machine is in 10.0.2.15 (ip) [21:47] my real pc have 1.0.0.109 (ip) [21:47] i opened ssh server in virtual machine [21:48] how i can join in it ? [21:48] if i try in my real pc ssh root@10.0.2.15 i cant connect to virtual [21:48] but virtual surf fine internet [21:48] some suggest ? [21:48] dldc: how did you set up the networking [21:49] networking work fine in virtual machine [21:49] but i cant join in it if i use real machine [21:49] how can i fix it ? [21:49] what are you using? vmware? kvm? [21:49] quemu [21:49] qemu [21:49] ok [21:49] in the guest, "route -n" [21:49] i guess you are using nat [21:50] route -n in my real pc [21:50] in the guest [21:50] check the line with UG [21:51] also, what netmask is the guest using? [21:51] gatway is 10.0.2.2 [21:52] gateway [21:52] uhm.. [21:52] ok if you are using /24 then you should be able in the guest to ssh 10.0.2.2 [21:52] ssh root@10.0.2.2 ? [21:52] i was try nmap -sP 10.0.2.1/24 and not host up [21:53] :( [21:53] if the host is ubuntu, then that wont work unless you have enable the root account [21:53] ssh 10.0.2.2 [21:53] dont understand [21:53] ssh: connect to host 10.0.2.2 port 22: Network is unreachable [21:54] and in virtual machine ssh is started [21:54] can you pastebin "ifconfig" on the host? [21:54] eth0 on ip 10.0.2.15 [21:54] netmask is 255.255.255.0 [21:54] k [21:55] this in virtual box. [21:55] i thought you said qemu [21:55] ? [21:55] this is in the guest you mean? [21:55] * dldc virtualisation newbie [21:55] yes guest virtual box [21:56] dldc: you are using virtualbox to run the vm? [21:56] not [21:56] quemulator [21:57] ok [21:57] on the host [21:57] the "real" pc [21:57] qemu called with command: qemu -M pc -hda /home/dldc/gentoobox -smp 2 -m 600 -cdrom /home/emgent/install-x86-minimal-2008.0.iso -net nic,vlan=0 -net user,vlan=0,hostname=emu -monitor pty -boot d [21:57] this is the flag on qterminal [21:58] in the real pc i have wlan0 on ip 1.0.0.109 netmask 255.255.255.0 [21:58] real gateway is 1.0.0.1 [21:58] s/qterminal/quemulator/ [21:59] thefish some idea to fix it ? [22:00] oh fixed. [22:00] nice [22:01] well there we go [22:02] dlc dont use my server for this test please. [23:22] Hey guys... Does anyone have any experience with ircd-hybrid? I'm having trouble getting it configured properly... [23:37] Hey guys... Does anyone have any experience with ircd-hybrid? I'm having trouble getting it configured properly... [23:37] No one? [23:37] =[ [23:45] IRC is not an instant fix, you'll often need to wait hours for an answer. [23:53] * eruisto sighs