[00:10] I think that after upgrading Bind9 through the Ubuntu repos, it's broken something. what would cause the server not to report when pinging a domain? Some of the domains work, some do not. All the configs are copied from known working ones === hachre_ is now known as hachre === Lcawte|Away is now known as Lcawte === Lcawte is now known as Lcawte|Away === PeterSchwaller_ is now known as PeterS|away === PeterS|away is now known as PeterSchwaller [04:51] I was upgrading my server from 10 whatever to 12.04 and somehow when i read the details on a version to replace i didnt exit the changelog in text editor. so i accidently exited the upgrade midway through. i am only able to login to recovery and all the commands i have tried result in telling me i need to run sudo dpkg --configure -a [04:51] however i get an error dpkg error unable to access dpkg status area Read only... wtf === markthomas|away is now known as markthomas === markthomas is now known as markthomas|away [08:01] hello [08:11] Yes? [08:19] Good morning. [08:20] morning [08:33] I have a few extra computers here and I'm thinking of installing Ubuntu Server Edition 14.04LTS to one of them via USB [08:33] I keep getting "Boot Error' after selecting the USB, though. [08:33] ApplesInArrays: How did you create the live-usb? [08:33] Universal USB Installer [08:34] The USB works on the machine I'm using now, but not another one. [08:34] Does it happen to be a UEFI machine? [08:35] Let me see how I check [08:35] I remember seeing EFI files when I ooted it on this computer. [08:35] It has a BIOS [08:36] Hmm, try recreating the live-usb with unetbootin. That program usually works ;) [08:37] I have that too [08:37] I'll try again. [08:37] I tried with ubuntu desktop and it didn't work. [08:38] unetbootin doesn't have Ubuntu 14.04LTS as an option [08:38] ApplesInArrays: Doesn't matter, you can give it any iso. [08:38] Great, thanks. [08:40] Also, could I develop with that machine and 'push' updates to my #digitalocean droplet? [08:40] or would I update to it with netBeans, then once I'm happy, push that to my droplet? [08:44] ApplesInArrays, download 14.04 LTS .iso and then use unetbootin [08:45] I've already tried that [08:45] Boot Error [08:45] there must be more detail than "boot error" [08:45] ApplesInArrays, then your .iso is funky. you DID md5sum, right? [08:45] There isn't. [08:45] cfhowlett: yes [08:45] there is that error coming from [08:45] what point in the boot process [08:46] I tell BIOS to boot from USB, it says "Boot Error" [08:46] Then it starts up windows after about 5 seconds. [08:46] that suggests there is no boot sector on the usb disk [08:46] so it skips it and moves to the next boot option [08:46] I stick it in this machine, and it works. [08:46] that looks like a bios error [08:46] I just played around with it for a while. [08:48] ApplesInArrays, usb's do go bad. frequently. md5sum the usb to verify [08:48] I already have [08:48] on the image [08:48] and then I ran it on this machine [08:49] Alright, never mind, I'll figure it out. [08:49] ApplesInArrays, ? 2 step verification: the .iso AND the usb after you burn the iso [08:49] If it doesn't work on the 1st machine, but works on the 2nd machine, could it be the USB? [08:50] ApplesInArrays, no if it works at all, it's not the USB causing issues [08:50] That's... what I was getting at. [08:50] ApplesInArrays, noted. I missed that detail. sorry. [09:05] I got a script run by apache that attempt to chown/chgrp a file but fail [09:05] I'm running: chown mast:www-data /var/log/mast/mast-alban.log [09:06] 'www-data' user is already in 'mast' group → uid=33(www-data) gid=33(www-data) groups=33(www-data),999(mast) [09:06] thats nothing to do with changing ownerhip of a file, that's trying to add a user to a group it's already in [09:07] is there a user called "mast" [09:07] ikonia: yep [09:07] ikonia: the error is on the chown (or chgrp) command [09:08] so apache (the user running apache) won't be able to change the owner, as the owner is mast, and apache is not running as the user mast [09:08] that error looks very badly wored [09:08] worded [09:09] ikonia: so who can change ownership ? I though being in the source and target group would allow that [09:09] no [09:09] the owner/super user can change the owner [09:11] ed8: Owner and root. [09:11] ikonia: ok, then how can I create my file with a given ownership ? [09:11] how is the file getting created now ? [09:11] what is it you're actually trying to do [09:12] as having a web server change things on the file system is very very very bad [09:12] ikonia: +1 [09:16] ikonia: based on a template file, so using a 'cp template newfile' [09:17] ed8: is the webserver doing that or an interactive user [09:17] ikonia: the webserver invoke a init script like: 'mast status' [09:17] that is a very very very bad idea [09:17] and not something I'd suggest you do [09:18] your webserver should not be controlling your system [09:18] ikonia: how would you do it then? [09:18] the project is to create a web interface for a init script [09:18] I have no idea what you are doing/why you are doing what you are doing, so it's impossible to say [09:19] thats a bad project and not something I'm interested in [09:20] ikonia: what do you suggest to improve security ? [09:20] not using a web interface [09:22] ikonia: as that's the goal of the project, this is not possible. [09:22] I could use Vagrant on my Windows machine and Ubuntu machine to make sure everything's identical? [09:22] ed8: thats fine, as I said it's not something I want to be part of/assist with [09:22] ApplesInArrays: not sure what value that would be [09:23] I will have a local server for dev, then copy files to main droplet for production. [09:23] Right now production=development, and I think this is not the best way to go about it. [09:23] no idea what you're on about [09:23] Oh, ok. [09:24] Not sure what you mean. [09:24] ApplesInArrays: NFS share? If it is a dev environment it should not matter that things break. [09:25] ikonia: ok, thanks [09:26] lordievader: then I need to copy things to production [09:26] I'd like to make sure it works there [09:26] ApplesInArrays: Of coure you need to copy/push things to production. That is not a test environment... [09:27] And to make sure it works you have your dev environment. [09:27] and if it works in completely different environments, I wouldn't expect identical behavior all of the time. [09:28] So I'm trying to figure out if Vagrant could set up the same environment for testing before pushing. [09:28] That is why you try to keep your dev environment identical to the production environment. [09:28] Which is why I'm asking if Vagrant can do it. [09:29] I don't know if I can spell it out any simpler. === the_ktosiek is now known as ktosiek [09:36] why does 'cp --preserve=mode,ownership /etc/mast/template /etc/mast/alban' doesn't preserve ownership ? [09:36] the file 'template' has the following permissions: -rwxrwx--- 1 mast www-data 1.5K Sep 23 21:26 template [09:36] and the script is run by 'www-data' [09:36] s/script/cp command/ [09:39] I was expecting to have 'mast' ownership preserved. Do I missed something? [09:40] ed8: The file is owned by mast? [09:41] lordievader: yep [09:41] * lordievader doesn't see the problem [09:42] lordievader: new file is own by www-data:www-data instead of mast:www-data [09:42] Ah, you didn't say that ;) [09:43] and 'www-data' user is in 'mast' group, so again I expected this to be enough [09:45] ed8: Likely because www-data is not mast, and therefore cannot change the ownership to mast without root rights. === havanamint is now known as havanasleeps === Lcawte|Away is now known as Lcawte [12:03] ApplesInArrays [12:03] oops === bilde2910|away is now known as bilde2910 [12:32] hi all, what is the best way to have a program launch when the server starts ? === bilde2910 is now known as bilde2910|away [16:47] Hey guys, Apache is giving me a message saying I have message saying "(98)Address already in use: AH00072: make_sock: could not bind to address [::]:80". I've checked and nothing is bound to port 80 right now. [16:48] This is a new install. Anyone have any ideas? [16:51] it means something is listening on port 80 [16:53] I've check with both nc -l 80 and netstat -ltnp | grep ':80' neither returned anything. [16:54] that's not a check [16:55] How do you mean? [16:55] it will use the service name [16:55] port 80 will have a definition in /etc/services so will never show up in netstat [16:57] Ahhhhh alright. And that actually might be the issue. I have two entires in /etc/services for port 80. [16:57] Actually scrapt that. one is tcp the other is udp. [16:57] /etc/servies doesn't do anything [16:57] other than map ports to names [16:58] what is the name of the service in /etc/services for port 80 [16:59] "http>>>>80/tcp>>>>www>>># WorldWideWeb HTTP" and "http>>>>80/udp>>>>>>>># HyperText Transfer Protocol" [16:59] zzxc: pastebin the output of the following command please "netstat -a | grep LIST" [16:59] ikonia: K one second. [17:01] ikonia, Here you go: http://pastebin.com/MEJFJ4Er [17:02] zzxc: looks like you have it listening on ipv6 [17:03] which ties in with the [::]:80 error you pasted [17:03] ikonia: Oh http-alt. I missed that. [17:04] ufw is misbehaving for some reason [17:04] ive done this a million times.... but today apparently is a no go... how do I allow 53/tcp to ip 192.168.0.1 on eth0? [17:05] ikonia: Awesome thats some progress. Let me see if I can find out where to disable ip6. [18:22] does anyone know how to forward pptpd packes to a local dns server? [19:38] is there a firewall that allows connections for a specific process? [19:39] iptables [19:39] really? [19:39] does that I mean I could do it using ufw [19:39] Depends on what exactly you want to do. [20:33] Good evening. [21:10] lordievader: evening [21:11] Hey RoyK, how are you doing? [21:14] lordievader: stomach full of good food, relaxing [21:15] Sounds good ;) === havanasleeps is now known as havanamint [22:47] would anyone be able to help with this? http://serverfault.com/questions/633715/configure-ufw-pptpd-and-dnsmasq-on-the-same-server === lionel_ is now known as lionel === Lcawte is now known as Lcawte|Away