[00:10] DormantOden: The 32 bit library name for which library? :) [00:11] ah, sorry, I managed to find the ia32-libs stuff =D [00:11] OK. [00:11] seems to work ^-^ [01:36] So i've been having trouble getting my everydns.net servers to point at my ip and i e-mailed the them and this is what they said - http://paste.ubuntu.com/245025/ - I am not too sure what he means [01:45] New bug: #408155 in openldap (main) "package slapd 2.4.17-1ubuntu2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 134" [Undecided,New] https://launchpad.net/bugs/408155 [01:48] how do you change a users root directory [01:48] artillerytx: It means (a) If you don't understand that you should not be running your own DNS, you have more learning to do first, and (b) you are not allowing the everydns servers to grab copies of your DNS info from your own DNS server, so they can't update with that info. [01:48] jmarsden: oh oka [01:50] For changing a user's HOME directory (there is only one root directory!), you could edit the passwd file using sudo /usr/sbin/vipw [01:51] jmarsden: i've changed the "home" directory for a user but when i try and ftp in it will not let me add or edit files [01:52] artillerytx: Then you need to check the permissions on that directory, and the configuration of your FTP server. [01:52] jmarsden: default permissions of a directory is 755 right [01:53] artillerytx, a user must have write permission on his home directory, so it must either belong to him, or it must have more write permission [01:53] No such thing as default perms. 0755 is Ok for a hom dir, if slightly loose. I use 0700, but I'm somewhat paranoid from admin work on real servers with many users... :) If you ssh in as that user can that user edit files etc in that [01:54] And as qman__ says, who owns the dir is as important as the perms themselves. [01:54] well i just ssh'd into the server with that user and it said restart required [01:55] now its showing abunch of ys [01:55] Y's [01:56] I don't know what you did, but you broke that user's account. Maybe set his home dir back to /home/username and see if you can then SSH in as him and work OK? [01:56] ok [02:19] k got it working and i think i figured out the dns issue [02:32] Anyone here use Ubuntu Server with LTSP? [02:34] I don't. You can also try #ltsp if nobody responds here. [02:34] !anybody [02:34] A large amount of the first questions asked in this channel start with "Does anyone/anybody..." Why not ask your next question (the real one) and find out? [02:35] heh. [02:35] It's going to take me a while to formulate the real question. [03:38] hey guys for some reason my server is running slow all of a sudden ... [03:39] I takes an extra second now when i log in ssh and after every command [03:39] chrislabeard: any clues in "top"? [03:39] top? [03:40] chrislabeard: it's a program that lets you list programs and processes that are running, how much RAM and cpu time they're sucking up. [03:40] oh okay [03:40] oh okay [03:43] hello there [03:43] i need help [03:43] anybody to help me plz [03:45] * ball waves [03:45] ball:can you help me out plz [03:45] hoping to find someone to help DiViN3 with his dns problems [03:45] I won't know until you ask your question. [03:46] I know nothing of DNS, sorry. [03:46] :( [03:46] (at least, nothing about running one) [03:46] anyone can help me with dns problems [03:46] ball: i have something running called find_free.cgi and its taking up 2666192 kB [03:47] of my real memory [03:47] no, he's got no dns. interfaces is correct, resolvconf is correctly populated yet no resolution takes place. Flannel and I are stumped, we hope someone here can offer more insight [03:48] DiViN3: do you get your interface configuration via DHCP? [03:48] chrislabeard: That looks promising [03:48] ah, let me provide a little more info. It's a remote dedicated server, uses static interface with resolvconf [03:48] ball: i figured it out i ran look for free ips [03:48] :) [03:48] and i guess never stopped [03:49] http://pastebin.ca/1516223 is his interfaces file [03:50] Is resolvconf something like resolv.conf on a BSD box? [03:51] Oh, it's a package. [03:51] No idea then, I'm in unfamiliar waters. [03:53] resolvconf simply reads a couple configuration lines in interfaces and populates resolv.conf . A holdover from debian when there was no unified way for the various dhcp dns or other networking packages to cooperate [03:53] nickrud: wierd. [03:53] What does his resolv.conf look like? [03:56] DiViN3, put a copy of your /etc/resolv.conf on a pastebin [03:57] I ssh'ed into his box, and verified all this stuff. [03:57] That's why I'm utterly stumped. [03:57] http://pastebin.ca/1516288 [03:57] now, that was not there before the reboot [03:58] * ball grins [03:58] DiViN3, what is in interfaces now? put a fresh copy up [03:58] I think we have a winner. [03:58] ball, I swear I put opendns in resolv.conf myself :) [03:59] that would be a winner, for sure [03:59] I take it he's not running BIND [04:00] he intended to, it was uninstalled [04:00] installed then uninstalled [04:00] That could break things [04:00] No convenient way to roll back to how things were before BIND was installed? [04:00] but, since I know nothing about bind .... [04:01] nickrud: wats was the command again for the interface [04:01] sorry [04:01] its cat /etc/network/interfaces [04:01] that will print it for you [04:02] http://pastebin.ca/1516294 [04:02] anyway, I'm in over my head. I hope you get some good help DiViN3 [04:03] i hope so too [04:03] i m like awake for 32 hours straight just to get this fixed [04:06] DiViN3: hopefully someone here knows more about Linux network interface configuration than I do. [04:06] :) [04:06] i seriuosly hope so [04:08] DiViN3: not difficult. I'm (sort of) new to Linux. [04:09] alrite [04:10] i have 3 nic and a different public ip address pointed to each one and now aptitude will not resolve the source list hostnames [04:11] Colypso: can you try nslookup google.com [04:11] brb [04:13] hi, i have a old computer with ubuntu server, it is connected wirelessly to the network, but if for some reason, the router goes down, or the connection broken, ubuntu server wont autommaticly reconnect, is there any way the server will auto-reconnect in case the connection is broken? [04:14] Best not to use wireless for a server, if you can avoid it. [04:15] ball, yeah, i'm working on wiring upstairs where my server is, but i wont be able to connect it throu cable until some 2-3 weeks from now [04:16] is there a way to limit bandwidth of a virtual server [04:16] ? [04:27] any of yall know how to set up wonder shaper [04:42] exit [04:53] I installed Ubuntu server 9.04 and I went ahead and installed ubuntu-desktop so I could have a GUI. Now I want to remove ubuntu-desktop, but when I try, it says it will only free 52kb. How can I fully uninstall ubuntu-desktop and its dependencies?? [05:01] att0: I _think_ sudo apt-get remove ubuntu-desktop then sudo apt-get autoremove will do what you want. [05:01] att0: you do not want to remove ALL ubuntu-desktop's dependencies [05:01] att0: for example, it probably depends on the kernel [05:01] it responds with ""0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded." [05:02] I think you want to remove any packages that are 1) installed; 2) depended on by ubuntu-dekstop; and 3) not depended on by any other installed package. [05:02] i can't figure out why my server is running slow [05:02] i can see everything running the only thing that is running high on memory is mysql [05:02] twb: exactly, basically I just want to get back to the default server install [05:03] att0: good luck with that [05:03] You can open up aptitude and limit to installed, unmarkauto'd packages with l ~i!~M. [05:03] Then look through and manually remove things that you don't need, probably mostly from the gnome and x11 sections [05:03] chrislabeard: lots of I/O wait? *shrugs* [05:04] nick125's solution will work well if you installed ubuntu-desktop with a markauto-capable apt wrapper, which may or may not have happened. [05:04] nick125: i just installed squid but i don't think thats it ... [05:04] chrislabeard: what does top say? [05:05] chrislabeard: check your CPU, memory and I/O loads. [05:05] I installed it using sudo apt-get install ubuntu-desktop [05:05] twb: i just rebooted the server uno momento [05:06] okay its running alot better now [05:07] yeah, sometimes a good kick of the reset switch is easier than finding out the actual cause. [05:07] yeah :-) [05:07] do you think squid is a good way to limit bandwidth [05:08] chrislabeard: Squid is more for caching rather than rate-limiting. [05:08] nick125: oh okay [05:08] does apache have a limit by default or is just full open [05:09] Are you trying to limit clients on a LAN or your httpd? [05:09] httpd [05:10] Ah. You might want to see if Apache has a module for rate-limiting. I know lighttpd does. I used that when my server got slashdotted once. [05:11] ah okay [05:13] i really wanted to see if there was a limit already to give more bandwidth [05:13] i was kinda going to it backwards [05:13] There shouldn't be any kind of bandwidth limiting in Apache built-in. [05:14] If you aren't using all of the super fancy features of Apache, you might want to consider switching to lighttpd. [05:14] well im running several virtual servers [05:14] virtual hosts? [05:15] I like Lighttpd's mod_simple_vhost. I just create /var/www/blah.foo.com/public_html and it will serve blah.foo.com files from that directory. So simple. [05:16] Lighttpd is much better for FastCGI-based applications (RoR, Django, etc) and static files than Apache. It does pretty well at PHP apps as well. [05:17] ahh yeah [05:17] im going to be all drupal installs [05:19] Also, I'd suggest using a cache like xcache or APC. It'll give a nice little performance boost. [05:20] nick125: hmm [05:20] i will try that [05:20] thank you [05:20] squid has all that in it right or is it just too robust [05:20] This is insane. I'm now removing ubuntu-desktop using "sudo apt-get --purge remove liborbit2" [05:21] chrislabeard: xcache/APC is a byte-code cache for PHP. [05:23] In my opinion, I think Squid is a bit....bloated for a front-end reverse cache/load distributor. If that's what you really want, I'd suggest something like Varnish [05:24] att0: this is why people learn how to use aptitude instead of pissing about with apt-get. [05:25] Then again, I haven't used Varnish with Drupal, so I'm not sure what kind of tweaks you would have to do to Drupal to have it set the proper headers and whatnot for Varnish. [05:25] k just installed it [05:25] I was under the impression aptitude and apt-get did the same thing the same way with a different look [05:26] chrislabeard: How much traffic are you getting? [05:26] nick125: i can't actually check that yet but its going to be medium [05:26] just hosting some small sites [05:26] chrislabeard: 50req/s? 500req/s? 5000000000req/s? [05:27] 50 [05:27] I'd stick with a byte-code cache like xcache and forget varnish and squid. [05:29] why did someone just try and send me a file [05:29] weird [05:29] nick125: what do you think of my server response time http://longhornpcrepair.com [05:30] chrislabeard: Seems pretty decent. [05:31] nick125: great i just hope it doesn't get bogged down [05:32] chrislabeard: I just did 5 concurrent connections and 10 requests with ab (apachebench) and it averaged out to 80ms per request (spread out over the concurrent connections). [05:33] so thats not good [05:33] yikes [05:33] Part of that is network latency, mind you. [05:33] yea [05:33] I'm 60ms away from the last pingable hop. [05:34] yeah [05:34] Run ab localhost (it's in apache2-utils) [05:34] ab -c 5 -n 10 http:/// [05:35] im on the same network as the server [05:36] Well, then you can discount network latency and find out how long the webserver is taking to fulfill the request [05:37] yeah i got .011 [05:37] What was the time-per-request? (across concurrent requests) [05:37] wait time per request - 5.731 [05:37] sorry [05:38] 1.146 mean, across all concurrent [05:38] That's pretty good. [05:38] so we should be able to handle at least 5 people at the same time [05:39] haha [05:39] you can increase the concurrent level [05:39] ab -c 50 -n 500 http:/// [05:40] let me try that [05:40] TPR: 26.926 //// TPR: 0.539 concurrent [05:41] On my crappy little Celery server with 500 concurrent connections and a static page, I got TPR:3.7ms concurrent and 269req/s [05:42] thats good then [05:42] How many req/s on yours? [05:42] per second [05:43] 1856.91req/s [05:43] (note that on my server, my DSL line would literally catch fire before I'd get 269req/s of traffic) [05:43] yea [05:44] is that not too shabby ? [05:44] 1856req/s is pretty good. Is that for a PHP dynamic page or static? [05:44] php dynamic page [05:44] wait [05:44] actually that was a static [05:45] for the drupal site its 1904.48req/s [05:45] and .525/ms on concurrent [05:46] I wouldn't worry about performance on your system. If you really wanted to improve it, I would do xcache and probably begin tweaking MySQL. [05:46] k i installed xcache already actually [05:47] But it sounds like you really don't need to worry about tweaking on your system. [05:47] okay cool thats good to hear [05:48] I think your network connection is probably going to be the bottleneck, not your server. [05:48] yeah damn routers [05:49] the server is running on a gigabit switch but i don't think our router is a gigabit router [05:50] Likely not. Your network drop is likely not gigabit. [05:51] yeah [05:52] When I was in the hosting business, just to GET a gigabit drop to our rack would've costed around $300/month. Not including bandwidth. [05:54] yiiikes [05:54] were using uverse [05:59] Needless to say, we decided that our 100mbit line sufficed quite well. [06:02] i bet it would ... is getting into hosting biz worth it ? [06:02] Nope. [06:03] Rackspace is doing alright [06:04] It's such a cut-throat market, there is no way to really compete with ABC Host that offers 500GB of disk and 50TB of bandwidth for $3.95. [06:04] whaaaa [06:05] well for our clients we are offering them a solution we design their site and maintain it for a monthly fee [06:05] I looked up a lot of different plans at different providers. For instance, at the time, Dreamhost had a plan for $7.95. If a member actually used all of the resources they provided, it would cost around ~$200. [06:06] yeah... dreamhost is sloowww unfortunately [06:06] anyone know how to set ubuntu to use more than 1 public ip [06:06] Colypso: IP or interface aliases [06:06] ip [06:07] i want to use one ip for ssl [06:07] Well, you can have multiple IPs on the same interface with an IP alias (ip addr add w.x.y.z/nm) or an interface alias (ethN, ethN:0, etc) [06:07] chrislabeard: because they overload their servers beyond belief. [06:08] nick125: yeah [06:08] chrislabeard: I know a friend who had an account there, and they had a 500 load average. [06:08] i have tried that [06:08] jeeze [06:08] it will accept 1 public ip but when i point the second to it it stops resolving hostnames [06:08] Note that the load average should not exceed the number of CPUs in the system. If you have 2 CPUs, it shouldn't really exceed 2.00. If you have 4 CPUs, 4.00. [06:09] Colypso: How are you adding the second IP to the interface? [06:09] nat on the gateway [06:10] nick125: yeah i only have 2 cpus [06:10] Colypso: Do you HAVE to do NAT? [06:10] I cant use the public ips any other way [06:11] Okay. Here's what you probably need to do: add a new IP alias on your Ubuntu server. Then NAT that new aliased private IP. [06:12] ok but shouldnt that work with 2 nics [06:12] What do you mean? [06:12] i have 2 gigabit network interface cards [06:13] You can add both IPs on the same interface without issues. [06:13] and 5 ip addreses [06:13] i will try to alias again [06:13] How are you trying to alias on your Ubuntu box? [06:14] eth1, eth1:1 and so on [06:14] Okay. If that doesn't work, try adding an IP alias [06:14] ip addr add / [06:14] I believe [06:15] ip addr add / dev [06:15] If that ends up working for you, then you can add it with a post-up in your /etc/network/interfaces [06:15] ok [06:21] nick125: do you know of any good bandwidth monitors ? [06:21] How do you need to break the bandwidth usage down? [06:21] I have no preference [06:22] Well, do you need it based on IP, interface, etc? [06:22] IP probly [06:24] chrislabeard: I would look into using iptables. That's what I used. [06:25] yeah webmin has some bandwidth monitor but i can't get it to work using iptables [06:25] http://www.linux.com/archive/articles/50649 [06:26] I've never had webmin actually work properly. [06:26] yeah no one likes it [06:26] i just like being able to edit my conf files than actually visually see it show up on webmin [06:26] cause i know webmin doesn't write the conf files correctly [06:27] Or it does what you want in the entirely wrong way. [06:27] yeah [06:27] no luck [06:28] but its a pretty good user management tool [06:29] Colypso: What happened when you added the alias? [06:29] nothing [06:29] i can ping the first public ip but the second one i pushed to the alias times out === jdstrand is now known as jdstrand__ [06:30] Colypso: and the netmask was correct? [06:30] same as the first was [06:31] interal ips all work fine [06:31] So, you assigned a private IP alias to the Ubuntu box and then NATed the second public IP to it? [06:32] yes [06:32] and you could ping the alias just fine? [06:32] i can ping eth1 public and private ips [06:33] but [06:33] eth1:1 i can only ping private ip [06:33] Are you doing 1:1 NAT on eth1:1? === jdstrand_ is now known as jdstrand [06:33] yes [06:34] I wonder if that's part of the problem. What kind of router is doing the NAT? [06:34] sdmc business gateway/router [06:35] smc [06:35] sorry [06:35] it works with window [06:35] windows [06:35] but windows is not what i need [06:35] with IP aliasing? [06:36] no i can point the public ips to each nic [06:36] Okay. Well, we can try two NICs, just for the heck of it. [06:36] i have tried already for 2 days [06:37] What happens when you assign the IPs to both NICs? [06:37] it wont resolv hostnames [06:37] Can you ping out to an IP? (i.e., 4.2.2.2) [06:38] cant remember [06:38] nick125: im heading out thanks for your help [06:38] chrislabeard: Have a good one. [06:38] nick125: you too [06:38] Colypso: Both IPs are in the same subnet? [06:39] yes [06:39] That might be part of the problem. [06:40] the internal ips are on the same subnet [06:41] And were you setting default gws on both interfaces? [06:41] (gateways) [06:41] yes [06:42] try setting it on just one interface [06:42] k [06:43] that worked [06:43] i can ping both now [06:43] Can you ping that machine from another machine in the local network? [06:44] (with a local IP) [06:44] havent tried local [06:44] yes [06:44] both local and public [06:45] thank you [06:45] you are a genius [06:45] Great. Glad we could get it working. [06:45] been trying to get this working for 2 days lol [06:46] decided to give you guys a try [06:46] thanks [06:46] no problem. [07:02] Dang, the Ubuntu asterisk package has a lot of deps. [07:04] I guess it could be worse - it could be two major releases behind like some other distro that will not be named. [07:30] is there any filesystem that can handle a vmware hard disk size increase without needing a reboot? [07:30] or, 'will see the new size on the next reboot, and resize (up) accordingly' [07:41] how do you move a directory [07:41] movedir [07:42] chrislabeard: mv dir dir [07:42] mmk thanks [07:43] how can i move just the content [07:43] from that directory [07:43] oh_noes: far as i can remember ext3 should work [07:44] chrislabeard: cd to some dir; mv * ../another dir [07:44] chrislabeard: or mv dir/* anotherdir/ [07:44] chrislabeard: man mv / cp / rm [07:44] mv apples/* pineapple/ [07:44] does that look about right [07:44] if pineabble is ther allready. it works [07:44] k [07:45] yeah im moving apples content into pineapple [07:45] mkdir if there is no pineabble dir [08:08] how do i copy a directory from one directory to the parent directory [08:08] i was trying cp -R apples/oranges /apples [08:08] is that correct [08:21] why can't i delete files in one of my users home directory [08:24] im logged in as the user and its his home directory [08:27] chrislabeard: ls -la shows long file list [08:27] yes it does [08:27] chrislabeard: you see permission there and owner, usually reason to that is that you dont have right permission [08:28] chrislabeard: so chmod u+w file [08:28] that will assign this whole directory to that user [08:29] i thought if its the users home directory they have permissions all over it [08:29] chrislabeard: chmod u+w file, gives write permission to file owner [08:30] chrislabeard: and sometimes is good idea to remove w permission files that you own [08:30] yeah [08:30] that didn't work [08:30] its still all root [08:30] like no "I accidentally whole directory" / " all files " [08:31] chrislabeard: chown user:group if you want to change owner to something else [08:32] so how do i make all the files in that directory owned by the owner [08:33] chrislabeard: if you dont want to give new owner from cmd line you need to write little script.. else chown user:group * -R [08:40] simplexio: if i use "chown joe:joe -R ~joe" [08:40] what if my user doesn't have a group [08:44] oh by default the group is user [08:45] Then you'd use that group instead. [08:49] chrislabeard: something like that [08:50] chrislabeard: by default there is group with username, if you want others to be able access files then best way is change droup owner to other and give r permission to file [09:18] New bug: #408258 in lsb (main) "lsb_release crashed with ImportError in () (dup-of: 383697)" [Undecided,New] https://launchpad.net/bugs/408258 [09:20] andol: hoping to deal with it by way of packaging 5.2p1, but haven't quite had time to do the version control wrangling yet [09:20] andol: I've set a karmic target on that bug so that I don't forget [09:22] cjwatson: Great, thanks. [10:39] Trying to connegt bluetooth gps on ubuntu server(hardy) console. Every attempt to communicate with the device returns "invalid exchange". [11:10] hey all, is there a way to install desktop alternative CD as a server edition? I'm on a restricted (3GB/mo) ISP and would like to setup a server without downloading another 800MB. :) [12:05] Oh shit [12:06] I just did a deluser for a system account that I added which was in nogroup [12:06] I wanted to rename it later so I removed the user and was going to readd it [12:06] But when I removed it this happened [12:06] Warning: Removing group `nogroup', since no other user is part of it. [12:06] So now I lost my nogroup group [12:11] Bilge: Are you sure that it is actually deleted? [12:12] Actually no it isn't [12:12] I don't know why [12:12] I also just realised I could have just renamed the user with usermod [12:29] Is it OK to add admins to the group 'adm'? [12:29] Is that what's it's intended for? [12:30] cant remember [12:30] admin group is for sudoers in ubuntu [12:30] I'd like to see a list of descriptions for the purpose of built in groups [12:31] New bug: #408333 in mysql-dfsg-5.1 (universe) "MIR for mysql 5.1" [Undecided,New] https://launchpad.net/bugs/408333 [12:31] adm is some relic from debian packaging [12:32] Quite a few files are in the adm group [12:32] Particularly in /etc and /var/log [12:32] offcourse i can be wrong.. all my sudo users are in adm and admin groups. but i looked /etc/sudoers [12:34] Bilge: I thought that group was to stop system process from running as root by letting them run as adm? [12:35] Oh well. === You're now known as ubuntulog [12:39] I don't know [12:39] That's why I'm asking === Brownout_ is now known as Brownout [13:39] There seems to be a problem with cups and App Armor === bitproph1t is now known as bitprophet === giovani|1ork is now known as giovani|home === _jmedina is now known as jmedina [17:20] Good morning Ubuntuers. [17:23] afternoon, nick125 :) [17:28] giovani|home: Don't rub it in that I'm up late :P [17:35] I'm having some major problems with AD auth, anybody help me out? === ejat is now known as e-jat [18:29] What would you guys recommend for doing backups? [18:30] Preferably something multi-server (so I can backup all of my VMs on my server) [18:33] I usually put something together in a bash script, making tarballs [18:33] it's not really all that special and probably not the most efficientb [18:34] but it works [18:34] i remember someone suggesting a open source web based archival tool, but can't remember what it's called [18:34] i usually just tarball and scp it to another server for storage [18:35] I really would like to do something automated that will backup my /home, few directories in /var (www comes to mind), my MySQL DBs, etc. [18:38] nick125: Too broad a question... rsnapshot would probably work for you... there are *many* backup packages you could use. [18:38] bacula isnt too bad... neither is rdiff... depends on what you need. [18:43] nick125: i've used dirvish a bit, it seems decent. [18:44] Hmm....it looks like there _ARE_ more backup solutions than there are Linux users. [18:45] nick125: I recommend bacula [18:46] and webbacula for reporting and backup jornall [18:46] http://webacula.sourceforge.net/ [18:46] I guess if I'm going to spend the time setting up Bacula, I might as well backup the desktops as well. [18:47] nick125: just read official documentation [18:47] and start from the basics, dont try to backup 500 desktops at a time :) [18:49] Well, I only have one other Ubuntu desktop....and the other desktop is getting switched over next week, so it's not like I have that many desktops :) [18:49] yea that was the backup tool i was talking about [18:49] ok [18:51] On my old setup, I used AMANDA...but that setup kind of bitrotted away. === bitproph1t is now known as bitprophet [21:00] nick125: sorry for the late response, but we use rdiff-backup [21:00] it's functional, but not terribly user-friendly, nor does it recover from internal errors well [21:21] New bug: #408562 in ec2-ami-tools (multiverse) "Updgrade ec2-ami-tools to 1.3-34544" [Undecided,New] https://launchpad.net/bugs/408562 [21:38] Has anyone read the "Official Ubuntu Server Book" or the "Ubuntu Server 9.04 Reference"? [21:57] I read through some of the "Official" book yesterday [21:58] a little confusing at times, but not bad. I think some more section titling and organization would be in order, but the step by step instructions seemed to be accurate [22:25] I also noticed that the link to ESR's question guide is gone. [22:25] oh wait [22:25] not