[00:21] <MagicFab> hi all
[00:21] <MagicFab> I am creating a small bash script to be invoked from cron. Where would a sysadmin expect to find such a file ?
[00:23] <SpamapS> MagicFab: if its tied to a deamon, then /usr/local/bin or /usr/local/lib. If its tied to a user, I'd recommend putting it in their home directory, $HOME/bin works.
[00:23] <SpamapS> MagicFab: I sould say, /usr/local/lib/daemon-name not /usr/local/lib directly
[00:24] <MagicFab> not, it's just a regular maintenance task - check if XYZ exists, then do ABC
[00:24] <MagicFab> /usr/local/bin is what I thought but yes, the guide mentions /home. tx.!
[00:26] <MagicFab> SpamapS, thank you
[00:57] <RoAkSoAx> 6/win 17
[00:57] <RoAkSoAx> -_-
[01:47] <allquixotic> I am trying to generate a CSR for a FQDN SSL certificate matching the form example.org (and NOT subdomain.example.org). Should I put example.org as the system hostname, or does it have to have an arbitrary hostname that does not include the domain it sits on?
[02:16] <ND-movie> hello all, could someone help me
[02:16] <ND-movie> i am trying to set up a Serial Console
[02:16] <ND-movie> using a Tandy TRS-80 Model 100 as a dumb terminal
[02:16] <ND-movie> but i'm having problems
[02:17] <ND-movie> the tutorial that i am reading talks about how to configure correctly with /etc/inittab
[02:17] <ND-movie> which ubuntu no longer uses
[02:17] <ND-movie> so i'm somewhat stuck :(
[02:20] <ND-movie> can anyone help?
[05:28] <kuttan_> hi
[05:28] <kuttan_>  need help with grub2 on ubuntu (10.04) and xen on Centos
[06:21] <Jordan_U> kuttan_: With support channels on IRC you should just ask your question from the start (after reading the channel topic).
[06:23] <kuttan_> so anything besides ubuntu server ( which I am on ) , cannot be asked ?
[07:35] <corpse> Hi, I had some slow wifi problems last night which i fixed with installig a perticulare driver. Today when i left the house i had a file downloading to my server at 1.5mbps now I got home and it was going at 1-5 kbps. i cant seem to figure out why i lost my speed again. any ideas?
[07:36] <corpse> this computer is on the same network and I speed test at 23mbps so its not my connection either
[08:31] <Moayad1980> good morning ppl
[08:31] <Moayad1980> i need help on how to build a file server on ubuntu and shared through the intenet
[08:34] <Moayad1980> i need help on how to build a file server on ubuntu and shared through the Internet anyone?..help?
[08:36] <joschi> Moayad1980: https://help.ubuntu.com/10.04/serverguide/C/file-servers.html
[08:37] <Moayad1980> joschi	thnx alot .. i appreciate it..
[08:40] <akrill> anyone around with experience building ubuntu-based EBS-backed AMIs?
[08:47] <alex88_> hi guys, i've a problem on my server, i'm trying to connect via ssh and it says "ssh_exchange_identification: Connection closed by remote host", the last thing that can matter is that i've created keys for both ssh on server and client
[08:47] <alex88_> but i haven't changed the sshd config
[08:52] <joschi> alex88_: any chance on accessing the syslog on the host running your sshd?
[09:25] <akrill> anyone around with experience building ubuntu-based EBS-backed AMIs?
[10:28] <kuttan_> Is something wrong with #ubuntu ? Why the channel is looking as #ubuntu-unregged ..
[10:28] <akrill> L2read topics and the annoying repeating msg from floodbot1
[10:28] <akrill> :-p
[10:28] <akrill> #ubuntu now requires that you register+identify before joining
[10:30] <kuttan_> akrill ? was that for me ?
[10:30] <akrill> yes
[10:30] <kuttan_> akrill - but I am registered
[10:30] <kuttan_> akrill: Can you help me out . What should I do now
[10:31] <akrill> i dont think you're identified though
[10:31] <akrill> you gotta identify to nickserv when you log in
[10:31] <kuttan_> akrill: What should I do , I am very new to irc stuff
[10:31] <akrill>  type in "/msg nickserv identify <password>"
[10:31] <akrill> that'll id you. then you can /join #ubuntu again
[10:32] <kuttan_> I forgot that password. , can I retrieve a new passwd
[10:32] <akrill> maybe. never had to do it. type in "/msg nickserv help" and look through the options
[10:32] <kuttan_> okay Thanks askrill
[10:32] <akrill> np
[10:32] <kuttan_> akrill Thanks
[11:28] <glick> hey when installing phpmyadmin and it asks for the password of the administrative user, is that the mysql root password?
[11:30] <zash> glick: yes
[11:32] <glick> thanks zash
[14:13] <Jimbowmac> Good morning!
[14:15] <Jimbowmac> I plan to deploy cacti in a production environment, and i'm wondering about the security risks of using SNMP, even if my Server is only on the LAN side.., Any suggestions/recommendations?
[15:08] <arvind_khadri> hi, I needed some help with installing jffnms
[15:20] <caution> how do I get the program 'screen' to show the stats bar at the bottom with cpu and memory usage?
[15:22] <clusty> caution: screen can do that?
[15:22] <caution> yep
[15:22] <clusty> my screen does not show anything
[15:22] <jpds> caution: "man screen" has the details.
[15:23] <caution> it has colours too
[15:23] <caution> I don't think my screen version is new enough
[15:23] <clusty> i am wondering if it's normal for parted to take 10h to resize a 1TB mostly empty partition by 1 MB
[15:23] <jpds> caution: You'd probably be better off just using byobu though.
[15:25] <caution> ah thanks!
[15:25] <jpds> clusty: You have to customize screen to make it do those things, it doesn't do anything by default.
[15:25] <clusty> baf
[15:25] <caution> looks like I was probably using byobu instead of screen
[15:25] <caution> or does screen end up looking like that too?
[15:25] <clusty> it fills like it's missing the spot with me. I am using screen as a NOHUP replacement
[15:26] <clusty> not as a terminal divider
[15:26] <clusty> launching stuff that takes a long time over ssh
[15:26] <clusty> and don't want them dieing when my ssh does
[15:27] <clusty> and nohup is annoying to use
[15:27] <jpds> caution: screen end up looking like that?
[15:27] <caution> alias screen='byobu'
[15:27] <caution> anything wrong with setting that alias?
[15:27] <jpds> caution: byobu is just screen with fancyness added.
[15:28] <caution> is it a separate version of screen or does it reconfigure screen?
[15:28] <jpds> The latter.
[15:51] <windydays> I have a LAMP server run UBUNTU10.04. I think upstart is really nice. But I found that apache is not started by upstart,that is why?
[15:51] <windydays> anyone here?
[15:52] <guntbert> windydays: several people - but if no one knows the answer noone will reply
[15:52] <windydays> I have a LAMP server run UBUNTU10.04. I think upstart is really nice. But I found that apache is not started by upstart,that is why?
[15:53] <guntbert> and reating won't help :)
[15:53] <windydays> OK
[17:44] <arvind_khadri> hi, I needed some help with installing jffnms
[17:45] <arvind_khadri> I get an error in the error log of apache telling that jffnms class is not found, in the config file
[18:12] <george__> I need to install VMware Server 2 on Ubuntu Server 10.04
[18:12] <george__> any ideas ?
[18:14] <george__> ?
[18:18] <george__> I need to install VMware Server 2 on Ubuntu Server 10.04 any ideas ?
[18:44] <bcomp> Are there any programs for ubuntu server that provide a more GUI-ish file browsing experience? I'm new to this.
[18:47] <kuttan_> bcomp - nautilus :D
[18:48] <bcomp> kuttan_ does it work over ssh?
[18:49] <kuttan_> bcomp vifm
[18:50] <bcomp> kuttan_ thx :)
[19:04] <bcomp> kuttan_ i just discovered mc while i was researching vifm... and it rules :D
[19:04] <binBASH> O_o
[19:05] <kuttan_> bcomp i prefer vifm , love vi .. ( only editor I know )
[19:21] <saravanan> Hi all :)
[19:21] <saravanan> i need to know if
[19:22] <saravanan> ubuntu server is a best match for virtual appliances to be run on cloud.
[19:22] <saravanan> ??
[19:28] <saravanan> hi all
[19:28] <saravanan> i got few doubts in xen
[19:28] <saravanan> on ubuntu server
[19:33] <saravanan> is there any there awake?
[19:36] <ChmEarl> saravanan, search archives at xen-users@lists.xensource.com and see how to custom build pv_ops kernel and xen 4.0 on lucid or karmic
[19:37] <saravanan> Hi ChmEarl ,
[19:37] <ChmEarl> saravanan, I've done it all in 3 hours or less: install OS, config for xen, config to build, build Xen, build kernel, install
[19:38] <saravanan> is ubuntu server a better option than centOS / fedora for virtualization?
[19:38] <ChmEarl> saravanan, if you want the latest+speed+efficiency
[19:39] <saravanan> could you please point me to such implementation references on XEN
[19:39] <ChmEarl> fedora has packages for dom0 and hypervisor if you hunt for 3rd party repo
[19:40] <saravanan> i need to support hypervisor too.
[19:40] <ChmEarl> saravanan, search archives at xen-users@lists.xensource.com (mailing list)
[19:40] <saravanan> so does ubuntu doesnt support ?
[19:40] <ChmEarl> saravanan, ubuntu has no packages, but is the best platform to build and runn
[19:42] <saravanan> and could you please suggest some tools/techniques to create virtual images?
[19:42] <saravanan> or virtual appliances.
[19:42] <ChmEarl> saravanan, xen tools (xm) and debootstrap/chroot does it all
[19:43] <ChmEarl> saravanan, nearly all distros have xen aware netboot installs
[19:46] <saravanan> ChmEarl, what open source tools used for creating virtual appliances for vmware?
[19:49] <ChmEarl> saravanan, you are wasting time. Do you want to run xen on Ubuntu or not?
[19:49] <saravanan> thats wat i am confused about,
[19:49] <saravanan> i need ti support xen,kvm, vmware and hypervisor
[19:50] <saravanan> whichever supports these i wil go for it.
[19:50] <saravanan> i need to design the infrastructure fr the same.
[19:51] <saravanan> so i am researching on the Server OS
[22:11] <allquixotic> Hi -- I would like to connect to libvirt remotely using an encrypted channel, so I've been using SSH so far. But virt-manager wants to login as root always. I want to disable logging in as root to reduce attack surface on the server. Any idea of a workaround to this?
[22:12] <qman__> any system that does need to log in as root over SSH should be using strong, well-guarded keys to authenticate, not passwords
[22:12] <qman__> significantly reducing the attack surface
[22:14] <allquixotic> qman__: I'm already using public key authentication, but it's even more secure to prevent root logins over SSH at all.
[22:15] <qman__> of course, and it's even more secure to not allow remote logins at all ;)
[22:15] <qman__> it's a tradeoff, security versus convenience
[22:16] <qman__> if you need more protection, I'd suggest blocking direct connections to that server from the internet, and instead using SSH tunneling to a computer at the gateway
[22:16] <allquixotic> I'm not looking for something that extreme. My question is about alternative ways of authentication for libvirt.
[22:17] <allquixotic> Right now, libvirtd is the only service that *requires* a root login over SSH on the box. For anything else, I use SSL with trusted certificates.
[22:17] <allquixotic> I see just now that virt-manager allows you to create a connection to libvirt with SSL and X509 certs... hmm... I guess my question now is how to set that up on the server. :)
[22:44] <benedikt> how do i create a virtual hard drive in libvirt/kvm ?
[22:46] <hallyn> in, or for?  you generally use qemu-img
[22:46] <hallyn> qemu-img create -f qcow my_hd.img 10G
[22:47] <benedikt> bah, i meant for :)
[22:47] <hallyn> Then you can mostly 'virsh edit <vm_name>' and copy-paste the disk section to hook in the new disk
[22:47] <hallyn> heh, just making sure :)
[22:49] <benedikt> vi!? This has to be fixed
[22:49] <hallyn> doesn't it just use $VISUAL?
[22:50] <benedikt> probably
[22:50] <hallyn> so replace it with ed and be happy :-)
[22:50] <allquixotic> benedikt: if you can get libvirt connected to virt-manager, you can create the HDD graphically... although I don't think virt-manager is yet as flexible as virsh, so YMMV.
[22:50] <benedikt> i was thinking more along the lines of emacs :P
[22:51] <hallyn> yeah i dont' know that you can use virt-manager to hook in virtio disks yet, in particular
[22:51] <benedikt> allquixotic: i connected with virt-manager but it doesn't seem to have any 'add hardware' features
[22:51] <allquixotic> I just asked a question about libvirt though; I'm setting up mine so that it only allows clients with signed X.509 certs (signed from the local CA) to connect
[22:51] <allquixotic> benedikt: Which version of Ubuntu?
[22:51] <benedikt> allquixotic: lucid
[22:51] <allquixotic> Same here... 10.04.1 Server
[22:51] <allquixotic> when I connect to the remote libvirtd using virt-manager (also on lucid), I can create hard disks for kvm graphically
[22:52] <allquixotic> it prompts you for the size and image type and all
[22:52] <benedikt> allquixotic: where? I didnt see it.
[22:52] <allquixotic> benedikt: it was when I first created the VM... although I'd think the same feature would be available with an extant VM
[22:52] <allquixotic> provided you shut it down first
[22:52] <allquixotic> can't add hardware to a running VM afaik
[22:53] <hallyn> benedikt: iirc you switch to 'edit VM' in the top menu of the window where you have the VM's screen up, and on the left there is 'add hardware'
[22:53] <allquixotic> ah yes, you have to view the details of the VM
[22:53] <allquixotic> then it lists the hardware pieces sorta like how VMware Server / VirtualBox do
[22:53] <benedikt> *cough* it might be a good idea to shut down the vm first
[22:53] <basso> how can i set a higher priority on a process
[22:53] <allquixotic> hehe, you had to shutdown and now you can add new disk? :)
[22:53] <hallyn> basso: renice
[22:54] <hallyn> (giveit a lower #)
[22:54] <basso> thx hallyn
[22:55] <hallyn> np
[23:01] <benedikt> hallyn: the image i created with qemu-img keeps on growing after i created it
[23:01] <hallyn> benedikt: yes, it'll keep growing as you fill it up, up to whatever size you specified
[23:02] <benedikt> hm
[23:02] <benedikt> meh, thats maybe not a bad idea
[23:12] <benedikt> hallyn: is it usable until it has reached the size?
[23:18] <hallyn> benedikt: hm?  of course.  if i understand you correctly
[23:18] <benedikt> then it was a classic case of the pebkac
[23:19] <hallyn> why?  did it break?
[23:19] <benedikt> the vm froze when i created the partition with fdisk
[23:27] <hallyn> jinkeys
[23:27] <hallyn> i've not actually had that happen.  Did you add it with the virt-manager gui, or virsh edit, or something else?
[23:27] <benedikt> virsh edit
[23:35] <hallyn> can you put the output of a 'virsh dump <vm_name>' on paste.ubuntu.com?  (or, is it working now?)
[23:36] <benedikt> hallyn: i just forced it off and tried again
[23:39] <benedikt> http://i.imgur.com/zUwRr.png
[23:39] <benedikt> it doesnt look too bright right now
[23:43] <hallyn> benedikt: i wanted to see the xml definition of the vm
[23:43] <benedikt> i konw, but thats not the problem :)
[23:44] <hallyn> oh - what is?
[23:45] <benedikt> thats the outbput from mkfs
[23:45] <hallyn> what is the problem i meant?
[23:45] <benedikt> something is corrupt
[23:46] <benedikt> not sure what yet
[23:46] <hallyn> Interesting - i've not seen the like
[23:46] <benedikt> im trying to create a disk on a different hard drive on the host machine
[23:47] <benedikt> its new and completely unused so it might be corrupted, but id have thought mkfs would have shown that when i partitioned it
[23:54] <benedikt> when formatting it stops on inode 42 and spits out kernel messages
[23:54] <benedikt> crated the disk with virt-manager and attached it with virt-manager this time
[23:54] <benedikt> oh wait, it got to inode 63 now
[23:58] <benedikt> seems to work much better when i create the vdisk on the same physical disk as the vm
[23:58] <allquixotic> I modified /etc/default/libvirt-bin to pass the --listen flag (I want libvirt to listen for SSL) but it won't... any ideas what I need to do differently?
[23:59] <allquixotic> it looks like Upstart does not read /etc/default/libvirt-bin
[23:59] <allquixotic> because libvirt is still started with `/usr/sbin/libvirtd -d'
[23:59] <allquixotic> no --listen