[00:00] we release this keylogger to the wild hope it help system admin [00:00] never use it for your desktop it crash the gui [00:00] only for server [00:00] thx sarnold [00:01] btw sarnold couple of month back i saw in ubuntu website the license is 300 buck [00:01] skraito: probably the most useful thing for a hardening script would be /etc/adduser.conf setting DIR_MODE. Old-time Unix admins often wish the mode were 0750 or 0700. [00:01] but i cant find it anymore === markthomas1 is now known as markthomas [00:01] anyway thank you just check back 0x71.org for couple of weeks i start coding it next two week [00:02] see ya guys have a great day [00:04] Ah, okay. So, Aison, now to your question: [00:06] sarnold: are the init-bottom scripts stored in /etc/initramfs-tools? [00:07] markthomas: I see a pile of /usr/share/initramfs-tools/ http://paste.ubuntu.com/5624452/ [00:07] markthomas: (that's an apt-file search command) [00:08] sarnold: let me rephrase: my system has nothing in there at present, so I wasn't sure if they're kept there or if those dirs are for temporary storage only. [00:09] markthomas: ah, good question, don't know that either :( my /etc/.../init-bottom/ is also empty [00:09] Aison: Can you check your filesystem for init-bottom directories in /etc, or apparently in /usr/share, and see if you have any scripts laying around? That's on the system we're troubleshooting. [00:10] markthomas: I'd bet those are for local customizing, and the ones in /usr/share/... are also copied into the initramfs, just not expected to be modified for any reason [00:11] markthomas, ok [00:11] sarnold: that's reasonable. If Aison 's boot was hanging there, I was going to see if any packages had placed anything there that might be having trouble. If we can find it and disable it, we can regenerate initramfs and boot, then fix the problem. [00:12] markthomas: sounds like a good plan [00:12] Only thing I have under /usr/share/initramfs-tools/scripts/init-bottom is related to udev. And the splash screen (plymouth) [00:13] markthomas: mine has udev and plymouth. as i understand plymouth, there's no _need_ for it. udev feels less likely to fail and more important... [00:13] Yeah. I'm not sure how we'll troubleshoot udev with no visibility into the failure. === wedgwood is now known as wedgwood_away [00:15] Aison: I'm going to branch off in pursuit of an undomesticated water foul: are you comfortable doing a pastebin of your /etc/fstab? [00:15] markthomas, the initbottom in etc is empty [00:15] And don't worry if the joke doesn't translate. Neither does "wild goose chase". [00:15] the one in usr have got plymouth and udev files [00:15] Aison: okay. fstab? [00:19] markthomas, http://nopaste.info/667ecbce2c.html [00:21] Were those nfs mounts commented out before? [00:21] markthomas, yes [00:22] that's the first i tried [00:24] somehow update-initramfs hangs [00:24] Wait…update-initramfs hangs? [00:24] yes [00:24] just noticed that [00:25] Are you running that chroot, or in your live environment? [00:25] I chroot [00:26] Okay. And you tried -vvv or some such? [00:28] just running with -vvv [00:28] well, it hangs at Building cpio /boot/initrd.img-3.8.0-19-generic.new initramfs [00:28] Okay. [00:29] ... [00:30] what do I have to mount also before changeroot? [00:30] dev, proc, sys? [00:31] /boot if that is a separate device [00:31] it's not [00:31] I would mount those after chroot. /boot, too [00:31] That being said, I'm a bit stumped. [00:34] well, update-initramfs: Generating /boot/initrd.img-3.8.0-19-generic [00:34] is not working [00:34] the file /boot/initrd.img-3.8.0-19-generic.new is created [00:34] but it remains 0 in size [00:35] Aison: thinking... [00:37] Aison, I didn't see what your parent command is, but if you chroot into an install and want to run update-grub, you have to enxure that you first mounted /proc, /sys, and /dev, and rm /etc/mtab [00:37] ensure* [00:37] markthomas: a few ideas, full filesystem, can't read source files, incorrect calling of cpio _may_ expect input data via stdin?, ... [00:38] sarnold: I think the last one is negative. As for the others... [00:38] sarnold: what's the easiest way to revert to an earlier kernel nowadays? [00:38] markthomas: yeah, it seemed a longshot. but I've waited a long time for a 'grep' command waiting on stdin before... :) [00:38] Once upon a time, all the old kernels hung around indefinitely. [00:38] Good point. Aison, can you rule out the full filesystem? [00:39] markthomas: distro upgrade is an odd situation for that, of course. /lib/cache/apt/..something normally has old packages around that you can dpkg -i [00:39] /var/cache/apt/archives [00:39] sigh [00:39] thanks qman__ :) [00:40] but yeah, lots of things won't work in a chroot if you don't do those things I mentioned [00:41] markthomas, what do you mean? the fs looks fine here [00:42] Aison: df -h shows <100%? [00:42] 13% :) [00:44] Aison: while we're grasping at straws, can you unmount the filesystem and fsck it? It's one thing that the system won't boot, but for it to fail when building the initramfs... [00:44] already done [00:44] Like sarnold said, we have to look for why cpio might fail. [00:45] Aison: nice. And darn. [00:46] thinking... [00:46] I also reinstalled cpio [00:46] markthomas: I wonder what tools you've got to watch cpio try to work; fatrace might be nice if available, but I don't think it is on any disks.. vmstat 1 would show at least disk traffic.. strace shows everything, but might not be the easiest [00:47] sarnold: ugh [00:47] That's all. Just...ugh [00:48] markthomas: yes. ugh. :) [00:48] let me try strace [01:00] argh, im tired [01:00] trying it tomorrow :P [01:00] good luck Aison [01:00] well, there is a solution somehow :P [01:00] Aison: Good luck. My nick is registered, so send me a msg if I'm not around and let me know what happens. [01:01] sure [01:07] Hello, I hope I have a simple question here. I run an ubuntu router with a few different subnets on a small home network. Is it possible to do things like forward all multicast traffic out all LAN ports? I had to split up my network for stability reasons, but I still enjoy things like autodiscovery services (bonjour, etc) which afaik work over multicast. Is something like this possible? [01:11] phunyguy: the warning at the top isn't encouraging, but perhaps .. http://lartc.org/howto/lartc.multicast.html [01:15] sarnold: I did read something else about pimd, but the forum post was 9 years old so I wasn't too optimistic about that one. === Ursinha is now known as Ursinha-afk [01:43] another unrelated question, I keep seeing these in syslog: "kernel: [ 87.187907] br0: received packet on eth1 with own address as source address" [01:43] eth1 is a member of br0 [01:44] should I be worried? [01:44] only if you don't expect that to be happening [01:57] it generally means something is set up wrong, but not necessarily [02:08] qman__: yeah I get that, and everything seems to work, I just don't like the message. [02:08] and I don't like it because I don't /really/ know what it means. [02:10] it means that packets are coming in on eth1 "from" eth1's IP address [02:11] which, depending on how things are wired, means that either you're reflecting your own outbound traffic back at yourself [02:11] or that you have an IP conflict [02:11] or that you're being spoofed [02:14] I was guessing mac, not IP. [02:14] and I found a common theme with google searching.... a wifi AP on that subnet. [02:15] I have a Linksys E1200 on that subnet with dd-wrt on it, with routing disabled, in a pure AP setup [02:15] generally if you have a MAC conflict the switch stops working correctly [02:15] and one end or the other can't get on the network at all [02:15] I am going to try something [02:38] also, not sure how I would be spoofed on eth1.. only a few things on my LAN currently, and it's not coming from WAN side. xD === hggdh_ is now known as hggdh [03:55] hey. i want to upload files to my ubuntu server from windows [03:55] fast and easy. what do you suggest? [04:04] agu10^: sftp is the easiest for me. [04:04] do you access root in your server? [04:05] i would like to edit the filesystem and text config files from windows too [04:05] like it was a network drive [04:06] agu10^: I would usually enable root login for something like that. But some security experts would frown on it, I'm sure. all the more reason to use sftp. :) [04:07] root login? [04:07] how can i see the whole filesystem from windows? [04:17] agu10^: 1) download filezilla 2) login with sftp (uses same transport as ssh). If you want remote FS access as the super user? See https://help.ubuntu.com/community/RootSudo, enable root logins, enable root ssh access, and use filezilla with the root user same as before [04:18] I think we would do more than frown at that. There's a special place in hell for people that do what you're suggesting. [04:18] ;) [04:18] agu10^: there are a lot of methods to do this is a more managed/secure way, but that is the shortest path to get root access to your whole filesystem remotely. Just know that it is a security vulnerabilty. (your root password) [04:18] I say that with love in my heart. [04:20] <3 [04:21] i see [04:21] thanks [04:21] do i have to set up anything server-side to access my sftp from filezilla? [04:22] agu10^: try it with your regular user. It should just work. sftp is just a "fancy" ssh connection. [04:22] oh cool [04:23] there is a problem. in filezilla i can't edit files without downloading and re-uploading [04:23] i want to easily open files as if they were on a network drive [04:24] agu10^, what you're really asking for is 1.) Not a good idea. [04:24] 2.) A lot harder than you seem experienced to handle. (No offense.) [04:24] why would it be hard? [04:24] of course it's probably slow [04:24] but it's only hard if there aren't good tools for it [04:25] Because what you really want is a system-wide samba server setup. [04:25] And there lie dragons. [04:25] i don't think i want any of that :P [04:25] just do this over ssh and it'll be fine [04:26] just i don't want to DOWNLOAD, edit and then UPLOAD [04:26] Well, I know of solutions to psuedo-mount ssh as a local hard drive through fuse. [04:26] i want to drag & drop files, and double click to open, edit, then save [04:26] sshfs and all that. [04:26] But for Windows? I have no idea. I doubt something like that exists. [04:26] okay [04:26] i give up [04:26] yes, there are explorer extensions for that. [04:27] for ssh? [04:28] I cannot login using filezilla [04:28] Are you trying to log in as root? [04:28] i thought i didn't have to setup anything server-side [04:28] agu10^: you would need to get that working first. [04:28] no. as my user which i use through ssh [04:28] Ah, then it should work. [04:29] ... it doesn't :( [04:29] User error. :P [04:29] Are you sure filezilla is set to SFTP? [04:29] (Not FTP with SSL) [04:30] i don't know. i just used quickconnect [04:30] Well you need to check, these things matter. [04:30] Filezilla is a multi-protocol client. [04:31] agu10^: FYI, once you have mastered that, here is a more explorer-ish way to do things: http://www.swish-sftp.org/ -- but get filezilla working first. It's a good tool to master. [04:33] Error: Disconnected: No supported authentication methods available (server sent: publickey) [04:33] Error: Could not connect to server [04:33] how can i login using only my password instead of a key? [04:34] agu10^: how do you normally connect to this server? [04:34] using a public key, with putty [04:34] I see. [04:34] but i just want to use my password instead [04:35] Then you have to change your authentication settings in your sshd on the server. [04:35] Or [04:35] Alternatively.. [04:35] Use WinSCP instead of Filezilla. [04:35] WinSCP can interface with putty's public key thing. It's been so long since I used Windows, so I don't remember the specifics. [04:35] just how do i change auth on my server? [04:35] i don't like putty [04:35] You have to start editing /etc/ssh/sshd_config [04:36] and i don't care about safety [04:36] * Cyrus backs away slowly and disappears into the night. [04:36] agu10^: search that file for "Password" [04:37] how do i search in vim? [04:38] agu10^: / [04:38] /Password [04:38] PasswordAuthentication no [04:38] ? [04:38] yup, change to yes. sudo service ssh restart [04:39] okay great [04:39] Command: open "ubuntu@potentialstudio.com" 22 [04:39] Command: Pass: *********** [04:39] Error: Authentication failed. [04:39] Error: Critical error [04:39] Error: Could not connect to server [04:40] agu10^: did you restart the ssh service? [04:40] yes [04:41] are you sure the user and password are correct? :) [04:41] hmm not sure [04:41] maybe there was no password actually [04:41] should i make a new user? [04:42] you can change the password when logged in as the ubuntu user [04:43] how [04:43] agu10^: sudo passwd ubuntu <- that will change the password for the user ubuntu without prompting for the current one [04:43] i don't know the current password [04:43] i better create a new user i think [04:44] sure, go for it. no harm either way [04:44] the new user will not have sudo access by default, but that is ok. [04:44] useradd: user 'admin' already exists [04:44] ubuntu@domU-12-31-39-10-4A-43:~$ users [04:44] ubuntu [04:44] i want to add the 'admin' user and give it root access. but idk why it exists and is not in the list of users [04:46] agu10^: you used sudo? [04:46] yes [04:47] users only lists 'ubuntu' [04:47] though useradd throws an error... wtf [04:47] agu10^: try a different name, just to test [04:47] useradd: cannot lock /etc/passwd; try again later. [04:48] okay, sudo did it [04:48] for the user 'pepe' [04:48] it's still not listed with the 'users' command :( [04:48] k. even for him, you will need to change the password [04:49] what? the user is not even listed [04:49] agu10^: I *think* users just gives back logged in users (going off memory) [04:49] ok [04:49] users - print the user names of users currently logged in to the current host [04:49] how do i list all users? [04:50] agu10^: cat /etc/passwd is the first step. [04:50] that is long [04:50] good. :) [04:50] cat /etc/passwd |grep pepe [04:50] that's what she said [04:51] okay i deleted pepe. how do i add root access to admin and change its password? [04:52] agu10^: sudo passwd will allow you to change passwords. [04:53] great. :D [04:53] should i give it root rights? [04:54] agu10^: just to test your sftp, you shouldn't need to. [04:55] wow it lists folders [04:55] yes, you should be able to view most everything as a regular user in ubuntu. changing things is typically restricted to just your home folder though. [04:56] dpb1, cool. what if i want to access root files but with a password? [04:58] agu10^: that is where you look at that SudoRoot link I gave you. Basically do a similar process, but with the root user. Read that page, it's a good one. Toward the end is where it talks about how to enable the root user, and why you don't want to do that normally. [04:58] okay, great. [04:59] there is no way to get admin to be that root user? [04:59] agu10^: yes, there are always options (which is why ubuntu is so great), let me give you a link. [05:00] no, it's fine [05:00] i rather login with the root user when i want to do that [05:00] and keep the rest just in the admin folder [05:01] agu10^: that is really the safest way to do things. [05:01] i have a problem [05:02] the uploaded files aren't accessible by apache :S [05:02] i mean, index.html is, but the folders (js/css, etc) are not. [05:02] so it looks like this: http://alvid.com.ar/ [05:03] without styles or images :( [05:03] agu10^: do ls -l , and use paste.ubuntu.com to paste back the results. [05:04] http://paste.ubuntu.com/5624901/ [05:05] agu10^: so, best practice for files in that directory. whenever you upload you want [05:06] agu10^: yikes! [05:06] agu10^: your index.html can be written to by anyone on the server [05:06] agu10^: and your directories can only be read by 'admin' and by 'root'. apache runs as neither admin nor root. it cannot read your other files. [05:07] what sarnold said. :) [05:07] sarnold, great. how do i fix this? should i make index.html be admin's and apache able to read all? [05:07] agu10^: first, chmod 644 index.html. [05:07] don't let that live for any longer. [05:08] ok [05:08] should i do that with all folders in the website? [05:08] i had to make it publically accessible because [05:08] i modify index.html with a php script [05:10] sarnold, how do i make my website work and only be modified by admin and php scripts? [05:10] agu10^: [05:11] sigh, lost internet for a while [05:12] agu10^: are you -sure- you want your website to be modifyable by running php scripts? I've seen far too many people hacked and their website content modified to send viruses or worms to the website users.. [05:12] i made a php script that will modify my website [05:12] so i can do it on a web panel interface [05:12] so... i guess :P [05:13] can i do it so only THAT php script can do it? [05:13] and only some files [05:14] hmm nevermind, i think i only have to let apache read my admin-created files [05:14] and i leave the others public for my php script to modify freely [05:15] sarnold, how do i let apache read my files? [05:15] agu10^: so, your directories need "sudo chmod go+rx " run on them for starters [05:15] what is that? [05:16] agu10^: you've definitely got an odd situation there :) but something like chown -R admin * followed by chmod 755 on all the directories and chmod 644 on all the files [05:16] :S when i upload files they are owned by admin admin. how do i make those accessible by apache so they can be shown online? [05:16] i don't think i need anything else than that for now [05:18] give them the right permissions and it should stick when you upload replacements. just try it. [05:18] i don't want to upload replacements [05:18] i may upload new files aswell [05:18] i need to let apache read ALL new files i upload from filezilla [05:21] there are three sets of permissions, user, group and other. If you upload new files, you will need to make sure permissions are correct. FYI, filezilla will let you set permissions. :) [05:21] ok, which permissions should i set though? [05:21] i'll set them on filezilla, but what exactly? [05:22] it says the folder is 777! [05:22] oh but the children were not [05:22] user = rw, group = r, other = r is a good default. [05:22] for a directory, the execute bit should be set, or the directory will not be browsable. [05:24] This is a good page, FYI: https://help.ubuntu.com/community/FilePermissions [05:24] dpb1, i just want apache to show the website [05:24] dpb1, is apache "other" ? [05:25] do not set your permissions to 666 [05:25] or 777 [05:25] agu10^: because your files are owned by admin and in the admin group, other is how apache will be reading them, yes. [05:25] (stupid off-by-one fingers :) [05:25] ok, should i set other = r and x on folders? [05:25] or just r on folders? [05:25] rx [05:26] 771 or 77x ? [05:26] directories are strange; 'r' lets you see contents, 'x' lets you 'traverse' the directory to see lower directories or open files [05:26] ok [05:26] 755 or 775, depending upon the situation, would be better, yes [05:26] what does x do on files? [05:27] agu10^: also, a more typical setup is to have the group 'www-data' on all your web files. just fyi. [05:27] what's the difference between 775 and 77x ? [05:27] agu10^: the 'x' on files allows you to execute files [05:27] i see [05:27] agu10^: well, 77x doesn't actually exist :) [05:27] oh it says that on filezilla [05:27] o_O [05:27] rather than 771? [05:28] yes [05:28] * sarnold kicks silly filezilla [05:28] hehe [05:28] 774, if i check execute it's 775. if i check again it gets a different symbol and says 77x [05:29] baffling :) [05:29] ya, that has to be a bug. [05:29] okay i set it to 775 then [05:34] This works great! Thanks :D [05:35] i'm now trying to set up a simple mail server. I need to get info@domains.com email addresses. for many different domains. What is easy to set up for this? I installed citadel but it doesn't seem to be easy to handle this. [05:37] agu10^: most people would use postfix or exim as first choices.. [05:37] okay [05:38] how do i uninstall citadel though? [05:38] i hate when i install lots of packages that never work... :(* [05:43] agu10^: it'd be something along the lines of apt-get purge citadel* [05:45] sarnold, thanks [05:46] agu10^: check out the serverguide listed in the /topic, it has good details on setting up mail servers [05:46] bed time :) [05:46] byee [05:48] I would like to install postfix to make info@mydomains.com emails and access them on gmail through imap or pop/smtp. do you think it can be easy to set up many many many user@randomdomain.com email accounts? [07:48] What would cause my NIC to connect at a slower speed then what the specs say? [07:50] All other devices connect fine but one. [08:01] Hey guys, need advice. I am running 8 core xeon server with 8 GB RAM. I want to create 3 VMs on this to host different services. What software is good for that? I am familiar with VirtualBox and it has been working good for me on my desktop. I know how to setup VirtualBox from command line on a remote server. I would like to know from you if VirtualBox is suitable for medium load servers running 24x7 ? WHat is the best when it comes to create VPS on a physic [08:03] libvirt+KVM works well for me. [08:24] Could my OS be keeping my system from connecting to my lan at 1Gbps? The specs say 1 Gb. [08:24] ke7vyv: probably not [08:25] Ben64: Any ideas? [08:25] check chipset to see if any problems exist? [08:25] also, cabling and other devices are important to get the 1gbit link [08:26] Ben64: I'm new to this stuff. How would I check the chipset? [08:26] lspci | grep -i ethernet [08:27] All other devices connect at 1gbit. [08:29] Ben64: I'll give that a try. [08:29] Thanks. [08:30] Oh any ideas on why it would be 100mbit and not 1gbit like it should? [08:31] well some chipsets don't play nicely with linux [08:31] Ben64: I tried ethtool eth0 would that be the same? [08:31] OK [08:31] What does ethtool say? [08:32] It says 100mbit [08:32] That's all I can remember. [08:32] It says a lot more than that, surely? [08:33] It should tell you what the driver supports. [08:33] I'm not near the machine to see what else [08:34] You might want to fix that first. [08:35] What being near it? [08:36] I thought of that but figured I would get some things to try for when I am. [08:38] Well I'll come back when I'm near it. === ak5_ is now known as ak5 [09:28] rbasak, Ben64: lspci | grep -i ethernet 00:04.0 Ethernet controller: Silicon Integrated Systems [SiS] 191 Gigabit Ethernet Adapter (rev 01) [09:32] ke7vyv: please pastebin the ethtool output. [09:32] Heres my ethtool results http://pastebin.com/mMWZwMvv [09:33] Looks like either your driver doesn't support gigabit or your NIC doesn't support gigabit or something between the driver and the NIC isn't configured for gigabit. [09:34] The name of your NIC certainly suggests that it supports gigabit :) [09:35] Well the cable I hooked up to another machine and gigabit worked fine. [09:36] The problem is not the cable. It's between the driver and your NIC. [09:36] (or so ethtool seems to say) [09:36] So on the system itself [09:39] If I transplanted the hdd from another system could that be causing it? [09:47] hi [09:48] i just added a new volume on my card and although the new volume appears on the scsi bus a new block device is not created [09:48] how can i solve this? [09:50] rbasak: Would this apply to me? https://answers.launchpad.net/ubuntu/+source/network-manager/+question/66455 [09:53] hello. what do you suggest for setting up a simple email forwarding server to get custom email addresses? [10:04] I read online to change the MTU to 1492. [10:04] Is that just to connect to the net? [10:24] rbasak: I found this but my kernal version isn't listed. http://www.howtoforge.com/creating-the-sis191-gigabit-ethernet-driver-on-linux-2.6 [10:39] I have a zvol on which a virtual server is installed in lvm. However I need to change the names of the lvm partitions / the lvm group - how should I approach this? [10:39] booting the virtual with a ubuntu server cd is not really helpful as it doesn't provide a "live-cd" -like environment [11:06] I'm following steps on a site and it says to goto kernel.net and download my kernel version. My kernel is 3.5.0-23-generic and it's not listed. What do I do? [11:07] use a "site" specific for your distro and release [11:09] ke7vyv: why do you need the kernel source? [11:10] ke7vyv: if you really need them, apt-get install linux-source [11:10] The page I found that tells how to fix my nic said to download them. [11:12] RoyK: Here is the site http://www.howtoforge.com/creating-the-sis191-gigabit-ethernet-driver-on-linux-2.6 [11:12] ke7vyv: I see - use the apt-get I gave you. you shouldn use the ubuntu kernel, not those from kernel.org [11:13] RoyK: OK I'll try that. [11:13] or [11:14] you may want to try the linux-image-3.8.0-19-generic kernel [11:15] RoyK: I don't see that on kernel.org [11:15] it's an ubuntu package [11:15] apt-get install it [11:15] OK [11:18] It won't let me [11:21] how do i run a command on startup? [11:40] I have been hearing a lot about juju but have one specific question, is it free software? [11:42] just checking making sure this is not something like eucalyptus used only if you pay to canonical? [11:51] jair: juju is free software [11:51] jair: other distributions are even packaging it [11:53] highvoltage: thank you sir, I really appreciate it, chating with another ubuntu guy at #juju [11:53] ;) [11:53] but glad to hear that [11:57] thank you so much! [12:06] I need to disable iptables. Yet i keep getting "service iptables stop". I need to disable it forever, not just until next reboot. Any clues? [12:08] a better question is why; by default it's an accept all policy with no rules [12:08] agu10^_: I don't think any iptables rules are present by default, so disabling it depends on how you enabled it. [12:09] Did you install ufw perhaps? === 92AAAI3TG is now known as ahasenack [12:09] ufw is also accept-all by default [12:10] rbasak, why do i care about the default rules? [12:10] some sofware installed new rules without my permission [12:10] then you need to fix/remove that software [12:11] There are multiple ways to "install new rules", so how to do what you want depends on exactly what the software did. [12:11] when you "stop" iptables, you flush the rules and set accept policies, you don't actually remove it from anything [12:11] because netfilter is compiled into the kernel === shadeslayer is now known as kubot1 === kubot1 is now known as shadeslayer [12:18] how do i delete all iptables rules? [12:18] i just want the default setup [12:58] I have mongodb in qemu but it is failing to allocate more diskspace - any ideas? [13:17] hey all, in ubuntu 12.04, running apache2, and php5, where all do I need to change the max post size and max file upload size so that moodle (I've changed it in there) that I can upload the courses? I've changed /etc/php5/apache2/php.ini to reflect what I need, and it showed up in moodle as an option, but then when I try to upload a file, it says it is too big still. [13:19] did you restart apache? [13:29] yeah === wedgwood_away is now known as wedgwood === andreas__ is now known as ahasenack [14:51] hallyn: ping === cod3r is now known as megha [14:56] Hi. I'm using 12.04 and trying to connect remotely to virtualbox using phpvirtualbox. all stuff look ok. but in web browser phpvirtualbox dont load only the background. someone can help please? [15:13] zul: . [15:14] hallyn: do you still have your 1.0.4 stuff lying around? [15:15] zul: uh, isn't it in a few ppas? i think i also had it on p.p.c. hold on [15:15] hallyn: supposedly ;) [15:19] zul: https://launchpad.net/~serge-hallyn/+archive/virt/+files/libvirt_1.0.4-0ubuntu1%7Eppa1.dsc hopefully that's the latest i had [15:19] did you see 1.0.5 was released today? [15:20] hallyn: cool thanks [15:20] hallyn: chuck@homer:~/work/server/libvirt/libvirt-1.0.5$ (i did see ;) [15:20] +1 :) [15:38] zul: hey, would you have time to try openstack on our xen packages soon? [15:39] Daviey: i did some last cycle, it almost works out of the box with libvirt-xen I didnt try with xcp === Ursinha-afk is now known as Ursinha [15:49] zul: is it a pain to check for you? [15:50] Daviey: no i can do it no problem [15:51] Daviey: xcp is a bit more of a pain [15:57] zul: if you can do both, that would make me super happy.. and document what you did :) [16:09] hallyn: ping [16:10] or jamespage [16:11] is lp:ubuntu-test-cases/server the right branch to be using for server smoke tests? [16:15] plars: sounds right to me [16:16] hallyn: I need to move everything in lib to the scripts subdir, it's breaking jobs with the current layout [16:16] hallyn: let me move things around and I'll propose a merge, I pinged you because it looks like you've done a lot of the recent commits [16:16] [16:17] plars: I only did the lxc testscases, don't knwo about the wider layout. I would like to think that if utah changed, its users would be notified, so hopefuly jamespage knows about this [16:17] hi there, newbie question: if I have purchased a SSL certificate for abc.com can I create and sign valid email certificates for user@abc.com with it? Or do I need to setup a full CA for that purposes? [16:18] plars: thanks, hopefully it just works with your fix [16:18] hallyn: I don't think it's that utah changed, maybe the scripts they use to generate the jobs changed at some point, but I'm not sure of the history... I'm not sure why anything under scripts would have been useful if it weren't already like this before [16:18] hallyn: it's a simple fix, just give me a moment [16:18] bcessa: x509 certs have a list of constraints that limits how the certificate can be used. normally you cannot use a webserver certificate for further signing. [16:19] bcessa: the openssl x509 tool can help you see which constraints are set on your certificate. [16:20] sarnold: thanks a ton man, looking at it ;) [16:23] here are the extensions details http://pastebin.com/Hp4jiaiL I suppose the: "X509v3 Basic Constraints: critical CA:FALSE" prevents this right? [16:25] bcessa: that's probably the one, but it's been a decade since I've done this myself.. [16:26] ok, thanks :) === andreas__ is now known as ahasenack [16:41] hello :) [16:41] Daviey: sure but xcp only runs on precise basically but I can have a look [16:42] i'm still working on fixing my broken two testmachines. Both are broken after upgrade to raring from quantal === matsubara is now known as matsubara-lunch [16:42] so far I noticed that update-initramfs is somehow broken, it hangs forever [16:47] adam_g, promoting folsom a grizzly stuff to updates [17:04] Walther: just use lv / vg rename, make sure you edit fstab and update-grub after wards.... [17:04] no need to boot into live cd or anything like that. [17:09] hallyn: 1.0.5 building now [17:13] Aison: tried stracing it? [17:13] zul: cool [17:14] Aison: same problem as yesterday? === markthomas_ is now known as markthomas [17:27] RoyK, markthomas: yes, still not working :) [17:27] what does strace have to say? [17:27] hmm, there are endless many output lines :P [17:27] I have to record it [17:27] strace -f ... [17:28] -f is just following the client processes I think?!? [17:28] or child processes [17:28] ah yes, follow forks [17:29] ahh, -o is the right option to record into a file [17:49] Aison: any output yet? [17:50] update-initramfs normally doesn't take 20 minutes ;) [17:50] no, I lost the contact to the machine.... [17:50] and i'm not at home right now [17:50] but i'm just upgrading a 3rd machine, maybe that fails also :P [17:50] well, the upgrade itself terminated without any errors in all cases [17:51] what was this - lucid to precise? [17:52] RoyK: [6~[6~[6~[6~[6~[6~[6~[6~[6~[6~[6~[6~[6~[6~quantal to raring [17:52] sigh [17:53] * RoyK wonders who would be running something with 9 months support for a server [17:53] RoyK: someone who intends to upgrade in nine months :) [17:54] in all cases it was a quantal [17:54] well, obviously, but I don't really see the point for stuff in production :P [17:54] one was a server, one a client [17:54] both test machines [17:54] for test it's fun [17:54] and both no longer boot after upgrade to raring [17:54] * RoyK has a few raring VMs around already, and a work PC [17:55] my PC at work upgraded without issues [17:55] I also upgraded my personal netbook with xubuntu [17:55] that worked fine [17:55] and now I upgrade a personal client with kubuntu [17:56] luckily I have got dayli backups of all machines on tape [17:56] Anyone using salt? [17:56] so I can playback and repeat [17:57] parallel21: salt? [17:58] saltstack [17:58] #salt exists [17:58] They do not answer [17:58] So I thought I'd try here too [17:59] While I wait [17:59] they may also be waiting for a more specific question [17:59] Why don't things werk!? [18:00] parallel21: you may wish to re-read this before tring again :) http://www.catb.org/esr/faqs/smart-questions.html [18:01] merci [18:02] hallyn: builds fine the stuff that you did for 1.0.4 is not needed ill upload it to my ppa in a couple of minutes [18:04] Aison: what about strace? [18:06] RoyK, I lost contact to the machine :( [18:06] I have to got there first [18:06] ah [18:06] right [18:06] but I'm going to provide the results here [18:15] hallyn: one question for your though should we disable vbox in 1.0.5 though? [18:28] Aison: I seem to have lost connectivity awhile back. How goes the work on that initrd problem? [18:28] markthomas_: funny enough he also lost connectivity to his machine.. [18:29] markthomas_: last I heard he aimed the upgade at a third system and also wedged _that_ one. [18:30] sarnold: so, there could be something being repeated in the configuration that's causing a problem. Or maybe a larger issue. Less likelyi a random failure. [18:32] markthomas_, well, I tried with strace to find reason why it hangs [18:32] markthomas_: he's got a touch :) [18:32] Aison: are you upgrading with cd or do-release-upgrade? [18:32] nothing more [18:32] sarnold, do-release-upgrade [18:37] hallyn: https://launchpad.net/~zulcss/+archive/libvirt-testing/+packages === matsubara-lunch is now known as matsubara [18:44] Apparently, I need to change IRC clients. This one keeps dying. [18:46] * RoyK uses irssi [18:46] weechat should work well too, and supports proxying to mobile devices etc [18:47] irssi is a bit old-school (but so am I :P) [18:47] /go 3 [18:47] I use irssi only because the inertia required to switch to weechat is astonishing.. [18:47] xchat has always worked well...until today. [18:48] heh :/ [18:48] xchat doesn't work too well over remote ssh :P [18:48] I suppose not. === markthomas is now known as Guest22632 === markthomas__ is now known as markthomas [19:11] hallyn: ok, got it to all succeed in this branch, can you take a look and merge? I don't have access to push to your branch: https://code.launchpad.net/~pwlars/ubuntu-test-cases/server-fixlib/+merge/162222 [19:33] OK on http://www.howtoforge.com/creating-the-sis191-gigabit-ethernet-driver-on-linux-2.6 it says I need to create thee driver for my sis191 nic. Can someone help me I'm lost. [19:36] It says to go to kernel.org and download my kernel version but mine isn't listed. [19:41] kermit: so 3.8 from ubuntu didn't work? [19:41] erm [19:41] kermit: not for you [19:41] ke7vyv: see above [19:42] ke7vyv: the versioning ubuntu and other distros uses isn't the same as with kernel.org. just download the latest kernel - should be 3.9 [19:42] RoyK: I'm lost on how to do it. [19:42] ke7vyv: I guess you tried 3.8 from ubuntu? [19:43] RoyK: I did what you said to but it wouldn't install [19:43] any output? [19:44] pastebinit [19:44] !pastebinit [19:44] pastebinit is the command-line equivalent of !pastebin - Command output, or other text can be redirected to pastebinit, which then reports an URL containing the output - To use pastebinit, install the « pastebinit » package from a package manager - Simple usage: command | pastebinit -b http://paste.ubuntu.com [19:44] ok [19:45] ke7vyv: apt-get install linux-image-3.8.0-19-generic should do the job [19:46] nope [19:47] RoyK: http://pastebin.ubuntu.com/5626980/ [19:47] apt-get update [19:47] erm [19:47] wait [19:47] this was precise_ [19:47] ? [19:48] 12.04 [19:48] linux-image-3.8.0-19-generic - Linux kernel image for version 3.8.0 on 64 bit x86 SMP [19:48] this should work for precise [19:48] (aka 12.04) [19:49] it's in the repos [19:49] I don't know. [19:50] I'm lost [19:51] well, run apt-get update first [19:51] then apt-get install linux-image-3.8.0-19-generic [19:51] hallyn, ping [19:52] I tried that earlier but it works now [19:53] ke7vyv: good - try that kernel before trying to make your own [19:54] new chipsets sometimes require changes to the drives as well as pci IDs [19:54] RoyK: It's done now what do I do? [19:55] reboot [19:55] K [19:58] is there some trick i need to do to make kvm perform reasonably with ubuntu iso ? [19:58] smoser: what's up? [19:58] i'm running raring and trying to boot a raring amd64 iso. and, wow. painful. [19:58] RoyK: It's back and it didn't fix it. [19:59] smoser: hm. i had trouble with quantal on precise when i didn't use tap netif [19:59] but other than that, kvm has been speedy for me [19:59] ke7vyv: perhaps something from backports? [19:59] smoser: are you using /usr/bin/kvm, or adding -enable-kvm? [19:59] i can't see the mouse move around inside the window. [19:59] sdl? [19:59] i was using kvm. [19:59] ke7vyv: always easier with packets than hand-craftet stuff [19:59] i suppose sdlk. [19:59] kvm -usb -usbdevice tablet -net nic,model=virtio -net user -soundhw es1370 -drive if=virtio,file=disk.img -m 1024 -cdrom ubuntu-13.04-desktop-amd64.iso [20:00] but i can drop just about all those arguments of modify them. [20:00] smoser: try adding cache=none? [20:00] RoyK: Is my kernel supposed to have changed. [20:00] hallyn, i'm not writing anything [20:00] zul: i think we should drop vbox until 1.0.6, yes [20:00] paste uname -a output [20:00] i think its graphics driver [20:01] smoser: hm. if you use vnc is it faster? can you try -monitor stdio and info graphics? [20:01] ke7vyv: that is, pastebin output from "uname -a" :þ [20:02] or just paste it - it's only one line after all [20:02] RoyK: Linux ubuntu 3.8.0-19-generic #30~precise1-Ubuntu SMP Wed May 1 22:26:36 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux [20:02] you're running 3.8, yes [20:02] plars: looking [20:02] hallyn, its not 'info graphics' [20:02] Webmin doesn't show the change. [20:03] ke7vyv: since that doesn't work, download the latest 3.8 or 3.9 from kernel.org and patch the driver, copy /boot/config-whateverthenameofthekernel to .config in the kernel source root and run make menuconfig (or oldconfig, but that's a bit disturbing if you don't know kernel) [20:03] RoyK: reopened webmin and it changed. [20:04] !webmin | ke7vyv [20:04] ke7vyv: webmin is no longer supported in Debian and Ubuntu. It is not compatible with the way that Ubuntu packages handle configuration files, and is likely to cause unexpected issues with your system. [20:04] hallyn: ack [20:04] ke7vyv: learn the commandline - it doesn't take too long and it gives you a deep insight into what really happens [20:05] RoyK: I'm trying to. lol [20:06] RoyK: How do I patch the driver? [20:06] it's in that page you posted yesterday [20:06] smoser: huh, thereno option for that. drat. [20:06] edit a header file etc [20:07] ke7vyv: does ifconfig -a see the interface now? [20:07] anyway i'd say try -vga vmware, or -vga qxl with spice [20:07] hallyn, /var/log/X tells me its cirrus_driv [20:08] drat, the kernel is supposed to not keep that from happening or something - plars was having bugs with cirrus (other than slowness) [20:08] i have drawing issues too [20:08] maybe we need a patch to make vmware the default [20:08] Royk: Yes but the connection speed is wrong. [20:08] ke7vyv: what does dmesg say about the interface? [20:08] a bit strange if the interface is visible and the connection speed is wrong [20:09] if it's visible, it's not because of the lack of a pci id [20:09] rather a new driver needed [20:11] RoyK: http://pastebin.ubuntu.com/5627059/ [20:11] Aison: when you can, should file a bug against initramfs-tools on launchpad. If this problem has ocured >1 time, it needs looked at === Ursinha is now known as Ursinha-afk [20:12] ke7vyv: [ 21.192009] sis190 0000:00:04.0 eth1: link on 1000 Mbps Full Duplex mode [20:14] RoyK: ethtool results http://pastebin.ubuntu.com/5627066/ [20:14] ke7vyv: eth0 doesn's seem to be connected [20:15] ke7vyv: wierd - is this for eth1? [20:15] RoyK: Yes [20:15] plars: pushed [20:15] it really should be consistent with what dmesg tells, which is 1Gbps [20:16] what does actual test runs across the cable tell you? [20:16] 100Mbps [20:16] well, post a bug [20:17] Don't know how. lol [20:17] !ubuntu-bug [20:17] I'm just making the switch to ubuntu. [20:17] well, just run ubuntu-bug [20:17] OK [20:18] what sort of switch are you using? [20:19] what do you mean? [20:19] I guess your machine is connected to a switch? [20:20] Yes a 1Gbps 8 port. [20:20] ok, probably non-managed [20:20] No [20:20] but looks like autonegotiate showed 1Gbps [20:21] ok - can you force gigabit on the switch? [20:21] if so, do the same on the linux box [20:21] I have 4 other systems that work fine. [20:22] what sort of nic is this? [20:23] Not sure its on a HP mediaserver so I can't change it. [20:23] lshw [20:26] RoyK: http://pastebin.ubuntu.com/5627112/ [20:29] hallyn: thanks! [20:31] smoser: for unity3d, i've had best behavior under spice. Still not ideal, but worked best [20:32] jdstrand: mdeslaur: waht kvm graphics combo do you use when you boot desktop cd ? [20:34] smoser: separately, it's possible that 1.4.1 improves things. was going to push that to saucy soon. I had a raring version somewhere, but doesn't seemt obe in my virt ppa === Ursinha-afk is now known as Ursinha === Jikan is now known as Jikai === Jikai is now known as Jikan === Jikan is now known as Jikai === Jikai is now known as Jikan [21:53] hallyn: mdeslaur has some config stuff in uvt to turn off the worst of the graphics offenders, see around line 2180 in uvt.. [21:55] sarnold: oh, very cool [21:56] I wouldn't say it's -quick-, but it's better [21:56] smoser: I'm trying out desktop here, kvm -vga qxl -spice port=5930,disable-ticketing -m 1024; needs more memory, but it's doing ok [21:56] the mouse isn't staggering, really only the dash is painful to use [21:59] (this is on my 3 year old vaio) [21:59] I wounder why I have got so many :i386 packets installed after upgrade to raring === Jikan is now known as Jikai === Jikai is now known as Jikan [22:15] So, part of my application uses a JSON API to talk to a wordpress instance on the same box over HTTP [22:15] Are there any big downsides to this? [22:15] It's unlikely to be used by more than a thousand or so users at once [22:15] and even then, probably not that many [22:26] hello I was wondering if I can install MAAS node manualy ie. I have fresh Ubuntu Server 12.04 install and want to connect it to MAAS Clouster. [22:28] fhf: I think you've gone one step too far by installing something on it :) half the point is that the machine is off and unconfigured until you add it to the cloud... [22:29] sarnold: So it's impossible? I wanted to try it if I can create Ubuntu MAAS cluster on VPSes and manage it with juju it will save me "some" time [22:34] RoyK: So I'm trying to edit the driver for my nic using the 3.9 kernel but I'm not sure where the info is I'm supposed to change is. [22:37] aw nuts... if fhf returns, someone please aim him at http://jujucharms.com/~virtual-maasers/precise/virtual-maas [23:16] fhf: check out http://jujucharms.com/~virtual-maasers/precise/virtual-maas [23:17] k, ty [23:45] hallyn, -vga qxl is significantly better than anything else i tried.thanks [23:46] I'm attempting to follow https://help.ubuntu.com/12.04/serverguide/kerberos-ldap.html on a fresh 12.04 build. Of course, since krb5_newrealm is never ran and the backend is ldap, /etc/krb5kdc/principal is never created. [23:46] however, when i try to run kadmin.local, it fails with No such file or directory [23:47] when i strace that, i see it's trying to open /etc/krb5kdc/principal [23:47] ldap shows the proper entries after creating the realm there and running stashsrvpw [23:51] http://paste.ubuntu.com/5627614/ [23:51] my krb5.conf points to the ldap backend [23:51] oops [23:52] db_library is missing :/ [23:52] ugh [23:52] i hate careless mistakes that only show their face once you pastebin them :) [23:54] :D