[00:05] Heyyy [00:05] Does anyone know how to lock a user to there home directory so they can't get access to anywhere else in the filesystem? [00:09] LyonJT: This might help: http://ubuntuforums.org/showthread.php?t=1576385 [00:10] aegis: thanks buddy [00:14] LyonJT: No problem... you might want to check out "chrootpath" under this as well: http://manpages.ubuntu.com/manpages/lucid/man5/rssh.conf.5.html [00:24] Hey [00:25] I'm running Ubuntu 10.04 Server and I wanted to lock a user to stop them reading/writing to anything outside of their user directory via SSH or FTP - Whats the best way to do this? [00:48] tarnfield:Do you tried using chroot jais? [00:48] http://www.cyberciti.biz/tips/rhel-centos-linux-install-configure-rssh-shell.html === _TechAway_ is now known as _Techie_ [01:19] suggest against following a redhat guide on ubuntu [01:19] especially if you're not familiar with the differences between them [01:24] Hi anyone know how to add php_pdf extension in ubuntu server? [01:24] my php programmer asked me to add this extension to my server [01:33] garymc, might you be looking for the package 'php-fpdf'? [01:33] I dont know? [01:34] he asked me to enable or install php_pdf extension [01:34] might be a php-pear extension, too [02:10] How could I restrict access to a certain IP/port combination to only a certain user? [02:25] Hi folks - im new to linux servers and am following the ubuntu server guide - my question is, if i set up a basic server with samba file sharing and postfix/dovecot email, is there any work needed when it comes to user management [02:26] id I set up a user account on the server does that then automatically create an email account and a samba account? [02:26] if * [02:27] thedoble, the default postfix+dovecot creates a mailbox for each system user [02:27] samba uses a combination of configured share permissions and the filesystem permissions [02:28] though you do need to run smbpasswd for each user [02:28] I see, what if i wanted to add 20 users in bulk? is there a way of automating that process? [02:29] there is a way to automate anything :) [02:30] Can someone help me? Postgrey is seg faulting since I upgraded a server to 10.04. [02:30] It happens as soon as I try to start postgrey [02:31] Any help would be appriciated. [02:59] If mcarse comes back, it's probably worth pointing out that postgrey is a Perl script so any segfaulting is probably something else and not postgrey directly. === _Techie_ is now known as _TechAway_ === _TechAway_ is now known as _Techie_ [05:54] how do I create a private cloud ??? [05:54] Hi all, trying to start bind9, and its failing. How do I find out where its failing? [05:57] this is on 9.04 server [06:00] AlanMeta: Not specific to your question, but 9.04 is just about out of it's support window (a matter of days). You should consider upgrading soon. [06:01] * Datz wonders when the first ubuntu-server version came out. [06:01] yes I am upgrading it now, seeing if that will help [06:03] ah, 9.10 I see [06:04] er I mean 9.04 [06:06] was surprised that bind9 didn't say what the issue was, just that it failed [06:09] I wonder how many people are running 9.04 [06:10] when you ssh to do an upgrade, what port is the alternate ssh port it starts? [06:18] <_Techie_> Datz, actually, server dates back to 6.06 [06:18] <_Techie_> and alot of people are still running 9.04 [06:19] yes, server started with 6.06 and has been in every release since [06:20] interesting... I managed to take out the server my vps is on [06:21] _Techie_: ah, ok.. I was just reading something about an 8.04 server version which confused me [06:24] this article started my confusion http://www.ubuntu.com/news/ubuntu-9.04-server [06:24] I thought it strange to not start a realse with an LTS [06:26] * Datz started using ubuntu with 7.10 [06:27] I played with 5.04 a bit but didn't start using it seriously until 5.10 [06:28] is there a tool I can use on Ubuntu Desktop that will help make configuring Ubuntu Server easier? [06:28] in short, no [06:28] so in long, its yes or maybe? [06:28] you can use things like gnome-terminal and gedit instead of a TTY and vim [06:29] but it still comes down to editing configuration files and running commands [06:29] oh ok. I was thinking since Ubuntu makes the desktop version so "Windows-like" that they would have a tool to make configuring the server easy [06:30] Ubuntu is anything but "Windows-like" [06:30] it is easy to use [06:30] the desktop installs very easily and configures itself [06:30] for the most part [06:30] with premade packages and tools like tasksel, so does ubuntu server [06:31] oh ok [06:32] they're just menus on a console instead of point and click [06:32] saves resources and reduces the attack surface [06:32] many tasks couldn't be easier [06:32] installing a web server is a single checkbox during setup [06:33] granted there's a long way to go with things like directory services [06:33] there's a reason ubuntu is my distribution of choice, it makes my life easy [06:35] but anybody who claims windows is "easier" than linux has never had to fix a corrupted active directory installation [06:35] Yeah I was using CentOS, but even though cPanel made it easy in some ways, it kept getting in my way in other ways [07:30] strange how the interfaces on a kvm guest disappear sometimes and dont exist in the stats counter. [07:30] Is there any way I can enable aggressice write caching in linux, the same way one can now enable it in windows 7...what I want is for the kernel to only write flush once in a blue moon to minimize write lag [07:30] for libvirt [07:32] it seems my VPS doesn't like upgrading the Ubuntu :-( [07:40] extor, linux (and ubuntu) already do this by default [07:41] and have for years [07:42] qman__, I want to increase the time the data is held then [07:48] extor, I suggest against it, but if you must, this should help explain http://www.cyberciti.biz/faq/linux-kernel-tuning-virtual-memory-subsystem/ [07:48] JEBUZ! $20/mo for a static IP!!! [07:48] qman__, what about this? http://www.westnet.com/~gsmith/content/linux-pdflush.htm [07:49] that's a good explanation too === Pilif12p is now known as Pilif12p|afk [08:36] Hi. I am trying to virtualize with kvmbuilder. Does this xml look correct: http://ubuntuforums.org/showpost.php?p=10018470&postcount=7 ? [08:57] on Ubuntu 9.04 is it better to use webmin or eBox? [09:22] anyone still here? === AStorm is now known as AstralStorm === _Techie_ is now known as _TechAway_ [10:09] hi has anyone used munin? [10:10] !ask | vraa [10:10] vraa: Please don't ask to ask a question, simply ask the question (all on ONE line and in the channel, so that others can read and follow it easily). If anyone knows the answer they will most likely reply. :-) [10:11] oh i see - well i think i might've messed up somewhere, i setup munin.conf and munin-node.conf and i got the graphs and html generated, but the graphs all show nan, even after waiting 30 minutes for updates [10:13] vraa: You have a cron process or a daemon that fetches stats? :-) [10:13] i am not exactly sure - but i think it's a cron process that gets setup after "apt-get install munin munin-node" [10:14] vraa: Welp, is it there? [10:14] :-) [10:14] how do i double check? because i do see munin-node as a process running too === _Techie_ is now known as _TechAway_ [11:31] Has this atime, relatime "patch" by Linus Torvalds improved disk i/o in busy linux servers much? Is this discussion and the points it raises still valid or should an admin just leave disk i/o on busy xen servers on autopilot? http://kerneltrap.org/node/14148 === sl[A]cker is now known as realSlacker === realSlacker is now known as sl[A]cker [11:44] extor: turning off atime or using relatime will probably help the best if the server handles a large amount of files [11:44] atime and relatime dont affect raw pseudo block devices do they [11:45] like LVM disk images for Xen VPSes [11:45] extor: stop [11:46] ikonia: ? [11:47] RoyK: this guy is spamming every channel with this link [11:47] ikonia: hehe [11:48] ikonia: what link? I only see that pasted here [11:48] it's in multiple channel [11:49] k [11:50] Anyone know what version of xen hypervisor and xen kernel ubuntu server comes with? [11:52] ubuntu doesn't come with xen [11:53] extor: the kernel version is the same as the desktop [11:53] hrmm so is there any difference at all between ubuntu server and ubuntu desktop? [11:54] yes, [11:54] it's configuration is aimed at enterprise hardware, that sort of thing, not desktop functionality, such as nvidia kernel modules [11:55] hey, i'm trying to get samba to work on my server, but when i try to acces it using windows it keeps rejecting my pw, any idea whats wrong? [11:56] ikonia: and ubuntu server doesn't come with X by default [11:56] lieuwe: lots of things can be wrong :) [11:56] RoyK: :P [11:56] lieuwe: using local users or a domain? [11:56] RoyK: thats nothing to do with the kernel though [11:56] I might want to install some X functionality to remotely run tools like virt-manager over ssh [11:56] RoyK: wut? following http://ubuntuforums.org/showthread.php?t=202605 [11:56] ikonia: you tell me... [11:57] its' not [11:57] * RoyK shrugs [11:57] X in kernel - that would be nice :D [11:57] add gnome there too [11:57] whee [11:58] lieuwe: then no domain [11:58] RoyK: hm [11:59] RoyK: any idea what part i messed up? [11:59] lieuwe: from the commandline, run pastebinit /etc/samba/smb.conf [12:00] RoyK: need to apt-get pastebinit first, hold on [12:01] RoyK: http://pastebin.com/gMF6pCdB [12:02] the 'force' thing shouldn't be needed [12:02] RoyK: okay, lemme remove that [12:03] also, if you just want to do peer-to-peer sharing, you possibly want to disable all of authentication [12:03] RoyK: yeah [12:03] RoyK: that would be nice :P [12:03] security = share [12:04] RoyK: where? [12:04] RoyK: done [12:04] you have security = user in your config [12:04] RoyK: yeah [12:04] ok, restart samba [12:04] try again [12:04] RoyK: how? the tut mentions some commands for that, but they fail [12:05] /etc/init.d/smbd restart [12:06] RoyK: it asks for a password, leave empty? [12:06] it shouldn't [12:06] RoyK: it does [12:07] set guest ok = yes [12:07] in the share [12:07] RoyK: in the [files] section? [12:07] yes [12:07] note - that's the name of the share [12:08] btw, what have you stored under /media/samba? a disk mounted there or something? [12:08] RoyK: media/samba? wheres that? that should be /home/samba [12:08] I'm just reading from your config :) [12:09] RoyK: its working! [12:09] :) [12:09] RoyK: thanks :P [12:09] np [12:10] RoyK: now, is it possible to have another folder shared like that? [12:10] sure [12:10] add [new_share] [12:10] like [files] [12:11] RoyK: okay, thanks [12:11] oh, fck [12:12] RoyK: any idea where the www folder is by default? :P [12:30] lionel: /var/www [12:33] is it possible to set up an automated download service on my server? e.g. for overnight downloads? [12:33] i'm already running lamp and samba on it [12:34] that shouldn't be a problem [12:34] the problem is how? [12:35] well, depends what you want to download, what protocol, ftp? http? torrent? [12:35] RoyK: at least torrent, prefferably http and ftp too [12:35] well, it's a simple matter of scripting :) [12:35] "simple" [12:36] isn't there some prebuilt program for this? [12:36] for torrent, there are several web-based ones you can install on the server [12:36] won't that have a conflict with lamp? [12:36] it'll integrate into lamp [12:36] ah [12:36] hmm [12:37] but then i'd need to have a different system for http/ftp [12:37] is there any possibility to be invited to #ubuntu-virt? I have had tried to create virtual machine with vmbuilder now over month without success. [12:38] lieuwe: yes, or you can simply start a download manually with wget [12:38] RoyK: :P i know that, but i'm not the only one which is going to use it [12:38] JKL_: virt-manager? [12:38] RoyK: in total four people need to work with it, one doesnt know linux, two barely know windows :P [12:39] I'm sure someone has created that :P [12:39] JKL_: virt-manager simplifies things a bit [12:40] i would like to not install ui [12:40] gui [12:40] JKL_: just use remote X [12:41] do i have to if i use virt-manager? [12:41] or run virt-manager from your pc [12:41] i dont have to install x to the server at all? [12:41] JKL_: it'll only install the x libs [12:41] ok thx [12:41] maybe that is what i have to do :) [12:42] JKL_: or - if you have a pc running linux, you can run it from there [12:42] ssh -X should work? [12:42] you mean that i can install virt-manager to another machine than my server? [12:43] yes [12:44] but I have never set that up - I don't know how it works with authentication etc [12:44] I just use remote X [12:44] and -X should be on by default [12:44] try to ssh into the box and run something like xeyes [12:45] lieuwe: rtgui might be worth a try [12:45] RoyK: kay, [12:45] RoyK: hmeh [12:46] thanks RoyK for your time. i start to get familiar with virt-manager :) === aliverius_ is now known as aliverius [14:19] ehlo [14:53] cannot parse QEMU version number in '' [14:53] argh :) [15:01] perhaps you have messed up the config? [15:01] virt-manager should work well from the standard config === SasaGloc is now known as SasaGloc_afk [15:04] * SasaGloc_afk is away: Gone away for now [15:04] RoyK: but I have a strong feeling that I have not changed anything [15:05] I also have doubts that might it need a hardware graphic card for some reason. that is something that my server does not have [15:06] why would you need that? [15:08] JKL_: you do _not_ need a graphics card to run remote X [15:11] i just wondered if libvirt have some weird dependencies for a graphic card [15:12] JKL_: it doesn't [15:12] JKL_: on my primary (private) server, I have a few VMs running, and managing them with virt-manager [15:12] maybe i purge all packages and try again? [15:12] yeah, try that [15:12] what might be the "parent" package? [15:13] make sure to remove the config files after the purge - even --purge may leave some stuff [15:13] parent of what? [15:13] all virtualization [15:13] i dont know exactly what packages i have to purge [15:13] kvm, i guess [15:14] sounds a good guess [15:14] unless you're trying to use xen, which is _not_ a good idea on current ubuntu [15:14] kvm is what i try to use [15:14] removing kvm didnt remove anything else [15:14] perhaps qemu too [15:15] kvm uses that [15:15] or qemu uses kvm [15:15] no i have only removed kvm and qemu [15:16] remove libvirt as well [15:16] apt-get remove --purge [15:18] yeah libvirt0 removed loads of stuff [15:19] no I install virt-manager again [15:20] didnt help === Pilif12p|afk is now known as Pilif12p [15:24] JKL_: can you possibly reinstall the box? [15:24] sometimes that saves time [15:25] but then - if you have a truckload of other services on it, maybe not [15:33] installing a box is one option. it just rips my heart when i have to move my only graphic card around :) [15:36] don't you have a null modem cable? [15:38] RoyK: what would I do with null modem cable? [15:39] IIRC ubuntu can be installed using a serial console [15:40] thus, no need for a display adapter [15:40] * SpamapS is seated in LAX next to somebody wearing a maverick t-shirt.. but I don't want to interrupt his tiny movie on his giant sprint evo phone [15:44] RoyK: so i could connect with telnet to it. kewl [15:45] minicom would be better [15:45] telnet isn't made for serial communication [15:46] JKL_: the serial console was used on most boxes from early seventies to recent times, but even though it's old, it's still useful [15:48] maybe I should get myself that cable [15:48] everything I saw on the web about swappiness says lower value means minimal swapping. So I changed my swappiness from 60 to 10. And now I can see on the graphs that a huge swap_cache and way more swap file is in use. I was trying to turn off swapping because whenever linux starts doing random unimportant stuff with the swap file, it messes up my IO throughput. Helpful suggestions appreciated! [15:48] JKL_: I guess you can get such a cable anywhere, or solder it yourself if you can't find it [15:49] JKL_: just make sure you have an RS/232 port on both boxes [15:49] server has one [15:50] how about my laptop. i think i dont eaven bother to use this windows machine [15:52] none of my laptops have it and probably virtual machine inside windows does not work... but ofc I can use livecd ^^ [15:54] osmosis, adjusting swappiness doesn't do anything about what it already did [15:55] and large swap_cache is from reading in stuff from swap (I believe stuff that hasn't changed, so if needed, it can just be dropped, instead of getting swapped out again) [15:55] osmosis: I just updated http://en.wikipedia.org/wiki/Swappiness [15:55] osmosis: set it to 100 - it helps [16:03] * RoyK grins and looks forward to getting his 110TB boxes tomorrow ... 11x7-2TB drive RAIDz2 [16:54] Hi all, if I have another server manage the DNS for my Ubuntu server, what (if anything) would I need to configure on the server itself? [16:55] <_ruben> most likely nothing [16:55] <_ruben> depends on what you want to achieve tho [16:56] well, basically I want the ubuntu server to handle one subdomain, which will have a web component, so I know I'll need to configure httpd.conf for that, but would bind need to know anything? [16:57] <_ruben> just add the appropriate DNS records to the DNS server, nothing needed for that on the ubuntu (web)server for that [17:00] ok cool, thanks [17:25] Hello Yo! Somebody with a running strongswan server configured for roadwarriors? Like Hamachi? [17:52] is gcc version 4.3.3 still acceptable? === AStorm is now known as AstralStorm [18:11] AlanMeta:There's anything bad about gcc 4.3.3 [18:11] * SasaGloc_afk is away: Gone away for now === SasaGloc_afk is now known as SasaGloc [18:12] * SasaGloc is back. [18:12] k5673 what? [18:12] If you have a program, and needs to be compiled with gcc 4.3.3, go ahead [18:12] You said (01:52:57 PM) AlanMeta: is gcc version 4.3.3 still acceptable? [18:13] ok the reason I asked is I tried to compile git with it, and it generated errors, so I was curious if I needed to install something else first [18:16] AlanMeta: http://www.barregren.se/blog/how-install-git-source-ubuntu [18:16] https://help.ubuntu.com/community/Git [18:16] Hope this helps. [18:17] thanks [18:54] I just upgraded to 10.10 from 10.04 now I can't access my mediawiki, only get to initial setup page for the wiki, any idea of how to solve this? [18:58] Lot of activity in here :) [18:59] lennart_:Do you se the initial configuration page in the url of your mediawiki? [19:03] k5673: yes [19:09] to verify in httpd.conf is still where you put all the instructions on what URLs and file locations to host is right? [19:11] Mmm... [19:12] Have you done a backup of your mediawiki folder and the mysql database.... [19:12] ? [19:14] huh? === Pilif12p is now known as Pilif|afk [19:24] Solved it, the problem was that LocalSettings.php had disappeared after the upgrade so I copied over my backed up copy of that file [19:25] fucking unstable to upgrade between versions [19:25] wonder what else is not working [19:26] can someone give me a url to see a sample of what a site configuration should look like for apache2.conf? [19:27] ohh next issue, the left side page in nagios have disappeard? [19:32] anyone have any idea of how to fix nagios? [19:58] lennart_: Save your configs in other place ( backup ), and do an apt-get remove --purge nagios3. Then apt-get intall nagios3 an copy your customized files. [19:58] install [20:10] for Jaunty, is there a packaged php 5.3.3? [20:15] AlanMeta: take a look into http://packages.ubuntu.com === RudyValencia- is now known as RudyValencia [20:41] How hard would it be to run nginx and php inside of a chroot? [20:42] AlanMeta: no, not by standard means. you will have to force something [20:42] AlanMeta, site configurations go in /etc/apache2/sites-available/, not apache2.conf nor httpd.conf [20:43] MTecknology: you can do a debootstrap, then chroot in and apt-get install nginx php5 [20:44] k5673: yup.. but then how do I make it start from inside of there when I boot up my system? [20:45] k5673: I'm going to have a pretty funky setup when I'm done so in effort to keep it clean, I'm trying to understand everything before going into anything [20:45] Ah! Pretty complex thing...! [20:45] So.. [20:46] Guys, I have a question that is gonna sound simple, but no I am not asking about chmod, groups, or any of that. How do I give another account on my system access to a specific file in my home folder? [20:47] MTecknology: You can do a bash script like chroot /mychrootednginx && /etc/init.d/nginx start [20:47] The obvious solution is to create a group, add myself and the other user to it, then give permission to this group. [20:47] khussein: Tried to modify the permissions of the file with chown [20:48] k5673: .... it would be that simple!? [20:48] khussein: Yes. [20:48] I'm guessing the yes was for me :P [20:48] MTecknology: Yes [20:48] That just seems way to simple [20:48] That's your yes [20:49] This doesn't scale tho. It doesn't make sense to create lots of groups for every file that I wanna share with a different user. [20:49] MTecknology: You will not lose anything trying it [20:50] k5673: I'll be ready to try in about 10 min - I need to try out this kernel [20:51] khussein: add the user who wants to see the file to the group of the owner [20:51] khussein: You do not have to create groups. They're already there. [20:52] unless you want to give that user access to all your files, you do [20:52] k5673: I own files X and Y. what if I want user A to access file X only. Then user B to access file Y? [20:52] you're right that it doesn't scale very well under those specific conditions [20:52] but that's a pretty rare requirement [20:52] You'll need two groups for this case, right? [20:53] there is one trick you could use [20:53] change the group owner of file X to that user A's group [20:53] and likewise file X's group owner to user B's group [20:53] Apply the chown to the file to share [20:54] khussein [20:54] you remain the file owner, and achieve what you wanted [20:54] ok... I tried to live without aptitude for a while... but I can't do it [20:55] qman__: Yeah, this would work better I guess. But then again, can't user A add user B to A's group, and get easy access? [20:55] khussein, that gives easy access to all of user A's files [20:55] qman__: I understand that it may sound like a rare requirement, but I promise you it is real :). [20:55] if you want least permission, that's not going to work [20:55] Right. [20:56] hmm .. maybe filesystem with acls [20:56] but by default each user has his own group [20:56] so changing the group to the one user you want to share with works [20:56] if you want to share with more than one though, you need to create a new one [20:57] filesystem acls are very tedious to configure and use [20:57] It is .. which is why I started asking the question here and I was hoping that I am missing something. [20:57] rather than manually configure just the files you want to share, you have to manually configure all your files [20:58] Oh really? I didn't think so. But maybe you are right, I haven't done a lot of work on them yet. [20:58] MTecknology: do not resist to the unstoppable power of apt! Mwahahahaha! [20:58] well, it may have sensible defaults [20:58] but any time you need to change something, it's a lot more complicated [20:58] k5673: I love aptitude... but apt-get is just horrible [20:58] and if you want it actually locked down, it's a lot more work [20:59] a quote I heard and very much agree with [20:59] if the unix permission scheme can't achieve what you want, your system is too complex and should be redesigned [20:59] qman__: :) I don't know if I buy this one. How old is it? [21:00] It used to work perfectly .. but now with resource delegation and all that kinda stuff. I can certainly see the case for it. [21:00] about as old as the argument for acls on linux [21:00] But again, you are right acls are just too complicated and hard to get it right. [21:01] you have to be a bit clever sometimes, but the unix permission scheme is actually very flexible [21:01] It almost sounds like something new needs to come out to solve this situation in a much simpler way. [21:02] unix permission is very simple and hence flexible, but you may end up creating a lot of groups to really achieve what you are trying to do. [21:02] And even then, it isn't secure, and allows other users to give themselves access to your file. [21:03] that's not true [21:03] it's very secure [21:03] Well, I didn't mean it that way :). So, I take it back. [21:03] it's only insecure when not configured correctly [21:04] 139 packages instealed on my server :P [21:04] i wouldn't say that 'simple' implies 'flexible', i would almost say the reverse [21:05] pmatulis: It is simple on how to implement it, right? [21:05] MTecknology: but apt is your monochrome vt100-style friend who resolves the dependencies and install software for you! [21:05] Joke [21:06] k5673: aptitude does this - and does it well :) [21:06] qman__: thank you. I really appreciate your help. [21:06] k5673: it even yells at me when I choose to remove all of python and most of perl from my system :P [21:06] if you do a apt-get upgrade, and it replies back with packages that will not be upgraded, but those are the ones I want to upgrade. How do I tell it to upgrade those? [21:06] the fact that in unix you can't have a group can give you a pretty broken setup in certain situations [21:06] I'll catch you guys later. thanks :) [21:06] "group within a group" [21:06] MTecknology: apt have feelings too. [21:07] pmatulis: what? [21:07] khussein: see above [21:09] "group within a group" is this something you are suggesting? [21:09] he's just saying that feature is absent in the unix permissions scheme [21:09] it would be useful in some situations [21:10] Ah yes. I completely agree. [21:10] It may sound even more complicated, but I was brainstorming about using LDAP. [21:11] I never said it was perfect, just that acls don't really improve things [21:11] you go from the possibly too simple, to the definitely too complex [21:11] The concept of hierarchal organization of users and groups is definitely missing. [21:11] if I tell apt-get to remove several packages, and then tell it to install them again, will it get the "official" build if another repo has a newer build? [21:11] k5673: :S... It seems I can initiate nginx from inside of the chroot but not manipulate it from there :P [21:12] qman__: You are right, which is why I was thinking maybe there needs to be something in the middle. Not that simple, but isn't too complicated to achieve a simple task. [21:12] k5673: I can't run top inside - but I can run top outside ... must be mount points [21:13] k5673: this is kinda cool... it's like the system running in the chroot will run as if it's running on the host, but be locked to that environment [21:14] k5673: btw.. that command you gave me doesn't work... [21:14] k5673: it waits until you exit the chroot [21:14] MTecknology: Of course. And is like a sandbox. You can do anything (almost) without destroying your real environment. [21:14] anyone? [21:15] AlanMeta, that's what upgrade is for [21:15] but yes [21:15] AlanMeta: Always the official [21:15] how can I over ride that? [21:15] MTecknology: the command for running nginx? [21:15] by holding/pinning a package [21:16] k5673: that command would work great if I could make it launch inside of the chroot [21:16] MTecknology: Do a bash script [21:16] k5673: OH! [21:16] k5673: no && [21:17] k5673: chroot /opt/websites-basic /etc/init.d/nginx start [21:17] MTecknology: chroot /opt/websites-basic /etc/init.d/nginx start & [21:18] k5673: except that it seems trying to stop it the same way doesn't work :P [21:18] hey guys. I'm having trouble copying files to my OCFS2 array. Can someone help me debug? It was working in the past, but possibly an update broke it? [21:18] MTecknology: The ampersand at the end will send the command to background [21:18] MTecknology: & [21:18] k5673: it doesn't need to go to the background though [21:18] k5673: chroot /opt/websites-basic /etc/init.d/nginx start <--- starts nginx [21:19] k5673: chroot /opt/websites-basic /etc/init.d/nginx stop <--- does not stop nginx [21:19] http://pastebin.com/QAd7Wcxj << this is what I'm getting, the newer files are on an alternate repo. Any suggestions to tell it to install it? [21:21] k5673: :S... I can't kill anything inside of the chroot without killing the pid :S.... [21:21] Mmm [21:25] MTecknology: You can try this http://pastebin.com/KEQ7efU4 [21:26] k5673: GOT IT! [21:26] I didn't mount proc correctly [21:26] it couldn't figure out what the pid was [21:28] MTecknology: some filesystems aren't available in a chrooted environment [21:28] k5673: mount -o bind /{dev,proc} /opt/websites-basic/{dev,proc} :D [21:29] MTecknology: i'll save that string. [21:29] k5673: obviously not exactly what I ran.. it was two commands ;) [21:29] Yeah [21:29] Right [21:31] New bug: #666028 in openldap (main) "apt-get install slapd => Can't locate object method "new" via package "Debconf::Element::Noninteractive::Booleam"" [Undecided,New] https://launchpad.net/bugs/666028 [21:32] I think I found a bug... [21:33] MTecknology: What bug? [21:34] k5673: when installing php5-fpm.. the default config assumes /var/www exists but doesn't verify.. so before installing it you need to 'mkdir /var/www' or it will fail to install because it will fail to start because the config is broken [21:35] can anyone help me? [21:35] AlanMeta, using debian repositories on ubuntu is a bad idea [21:37] qman__ ah ok, I was following the directions here: http://kevin.vanzonneveld.net/techblog/article/prepare_for_php_53/ [21:39] AlanMeta: php 5.3 is in the repos, no need for jumping through hoops [21:39] its not for jaunty which is the only thing I can run on my vps :-( [21:41] I see, thats 5.2 [21:41] yeah and running something that requires 5.3 [21:41] AlanMeta: did you look into backports? [21:42] backports? [21:42] AlanMeta: http://packages.ubuntu.com [21:44] php is not in the backports :-( [21:44] AlanMeta: did you see http://zippykid.com/blog/2009/08/building-php-5-3-packages-on-ubuntu-9-04-jaunty-for-apache-2/ ? [21:46] lol, my apt-get can't find checkinstall, I have downloaded the code already but not sure how to configure it, what came with it, doesn't have the configure section in phpinfo() === Pilif|afk is now known as Pilif12p|afk === _TechAway_ is now known as _Techie_ [23:57] the ubuntu server guide is extremely vague on postfix setup [23:57] sorry [23:58] i mean, in regards to settup up an email gateway [23:58] heh? what is an email gateway? [23:58] https://help.ubuntu.com/10.04/serverguide/C/mail-filtering.html [23:58] sorry, now i'm beign vague :p [23:59] * patdk-lap wonders what mail filtering has to do with email gateway (whatever that is) at all? [23:59] setting up an incoming email server is pretty simple [23:59] just have it receive email, and do whatever you want with it, but don't bounce it