jeeves | afternoon all | 00:49 |
---|---|---|
jeeves | what is the simplest way of rsyncing ONLY the changes to a webserver's directories to a remote host? | 00:49 |
balloooza | how do I set up apache to redirect somthing that comes onto a domain (witch is set up to redirect to somthing out of my www folder to a differen folder: mysite.com > /var/website/ mysite.com/desktop > /var/eyeos/ (hypotheticaly, you do not need to click the links:) ) | 05:00 |
balloooza | macd: do you know about apache (you might still be looking at this page) | 05:04 |
pwnguin | is there a standard system of deploying websites via debian packages? | 05:48 |
pwnguin | munin just installed to /var/www, but i see a sites-available, sites-enabled setup | 05:48 |
qman__ | sites-enabled and sites-available are for the site configuration files | 06:09 |
qman__ | you can set them up individually in sites-available and enable them with a2ensite | 06:10 |
qman__ | you define where the site's actual files are in that configuration file | 06:10 |
qman__ | a simpler classic configuration will also work, but I rather like the way it's set up in ubuntu | 06:11 |
pwnguin | i was just wondering if there's a policy suggesting where to put files | 06:14 |
pwnguin | that might be a bit more flexible than subdirs of /var/www | 06:14 |
qman__ | that's what I usually do | 06:15 |
qman__ | not sure if there's a standard | 06:15 |
pwnguin | i see some draft debian policies | 06:16 |
ntshan | hi | 06:23 |
ntshan | anyone have experience running hudson on ubuntu server? | 06:24 |
ntshan | I have a small nettop machine that I installed ubuntu server on | 06:25 |
ntshan | and set up subversion | 06:25 |
ntshan | mkay | 06:29 |
dthacker | what is hudson? | 06:29 |
ntshan | it's a continuous integration server | 06:30 |
ntshan | when you check in changes to source code on your project, it runs the build | 06:30 |
dthacker | my googling has found other people using it, but I've no experience with it. | 06:31 |
dthacker | If you have a specific question, ask it here or in the forums. | 06:31 |
ntshan | cool...I was just wondering if there are any ubunty specific issues others have had | 06:32 |
ntshan | *ubuntu | 06:32 |
dthacker | http://www.sonatype.com/people/2009/02/the-hudson-build-farm-experience-volume-ii/ looks interesting | 06:32 |
ntshan | nice | 06:35 |
ntshan | I plan on using ant instead of maven as a build system though | 07:13 |
ntshan | mostly because my company uses it and I'm trying to test everything at home before pitching it to the company | 07:14 |
=== pod_ is now known as Guest8286 | ||
pwnguin | qman__: http://webapps-common.alioth.debian.org/draft/html/ch-issues.html | 08:45 |
chris_d_adams | hi guys - I'm running a server that I want to update to using ubuntu intrepid, instead of gutsy | 09:15 |
chris_d_adams | why might aptitude update error on me like this? | 09:15 |
chris_d_adams | http://gist.github.com/140877 | 09:15 |
mattt | chris_d_adams: hmm | 09:19 |
mattt | chris_d_adams: have feisty/gutsy been EOLd? | 09:20 |
chris_d_adams | mattt: ah, after a bit more googling, i think that might be it | 09:20 |
chris_d_adams | this person had a similar problem | 09:20 |
chris_d_adams | http://forum.linuxmce.org/index.php?topic=8107.0 | 09:20 |
chris_d_adams | sorry to sound dense | 09:20 |
chris_d_adams | but is it really just a case of changing all instances of http://gb.archive.ubuntu.com/ubuntu | 09:21 |
chris_d_adams | to http://old-releases.ubuntu.com/ubuntu instead? | 09:21 |
mattt | i don't think so | 09:22 |
mattt | i think the idea of old-releases is to allow you to install packages when still running an EOL'd version | 09:22 |
mattt | for you, you wish to upgrade ... right? | 09:22 |
mobi-sheep | Just curious -- In "sudo tasksel" -- There are Basic Ubuntu Server. What does that do? | 09:23 |
chris_d_adams | mattt: yeah - i have a couple of boxes running intrpeid | 09:23 |
chris_d_adams | and I totally forgot this one was running gutsy | 09:24 |
mattt | chris_d_adams: i'm not sure what the upgrade path is, if you can go straight from gutsy to intrepid ... i guess that's what you should be looking at | 09:24 |
mattt | chris_d_adams: perhaps you want to get rid of the references to feisty in your sources.list, and then replace the references to gusty w/ intrepid ... but if it's a live server please research first, as i have no experience doing that :) | 09:25 |
chris_d_adams | mattt: duly noted, thanks :) | 09:25 |
mobi-sheep | chris_d_adams: I think I heard this before. You switch to the old-releases to ensure that all packages are fully updated/upgraded before you upgrade over to the next version. I heard it many times on #ubuntu | 09:25 |
mattt | mobi-sheep: would make sense :) | 09:26 |
chris_d_adams | ah, this looks like it | 09:26 |
chris_d_adams | https://help.ubuntu.com/community/EOLUpgrades | 09:26 |
mobi-sheep | What is Basic Ubuntu Server? Should I toggle it on? I only want to run XBMCbuntu. | 09:28 |
mobi-sheep | And other servers such as print server. Basic Ubuntu Server is too generic. | 09:28 |
mattt | chris_d_adams: awesome, i love step-by-step instructions :) | 09:29 |
chris_d_adams | indeed | 09:29 |
chris_d_adams | thanks for the help btw | 09:29 |
mattt | chris_d_adams: np, good luck! | 09:30 |
uvirtbot` | New bug: #394385 in php5 (main) "[karmic] php packages need update to 5.3" [Wishlist,New] https://launchpad.net/bugs/394385 | 11:05 |
=== erichammond1 is now known as erichammond | ||
CoMp4c7 | Does anybody knows why apache suexec is compiled to execute scripts in /var/www and not in /home? | 12:02 |
joshhunt | Hey guys | 12:45 |
joshhunt | i am trying to install the latest nightly of transmission through apt | 12:46 |
joshhunt | I have the correct repo, but apt-get wont get transmission-common from that repo. Instead, it gets it from the default ubuntu repo | 12:47 |
joshhunt | Is it possible to 'reorder' the priority of the repos? | 12:47 |
Anirban1987 | http://117.194.228.242/vhosts/ehcp/sysinfo/index.php?disp=dynamic Is dedicated RAM of 256 mb enough for me ? | 13:51 |
RoyK | Anirban1987: that depends what you're going to do | 14:08 |
RoyK | Anirban1987: what sort of load? | 14:09 |
Anirban1987 | http://img17.imageshack.us/img17/5854/serveryab.jpg . This is a screen shot of my home server. Now I want to shift to a VPS with the same set of apps installed. How much dedicated RAM should I get ? | 14:12 |
RoyK | what is the load? | 14:16 |
RoyK | is it a webserver? | 14:16 |
RoyK | a file server? | 14:16 |
RoyK | video streaming? | 14:17 |
RoyK | database? | 14:17 |
Anirban1987 | RoyK : webserver... LAMP | 14:17 |
RoyK | 256 may suffice | 14:17 |
RoyK | depending on the database size | 14:17 |
Anirban1987 | RoyK : Hav u seen the screenshot ? | 14:18 |
RoyK | the screen shot doesn't say much about the actual load | 14:18 |
RoyK | only that the system is quite idle and that it doesn't use all its memory | 14:18 |
RoyK | what is the price diff between the two? | 14:19 |
Anirban1987 | RoyK : The memory is crossing 256 MB . Thats why I am asking... | 14:19 |
RoyK | on the console, type 'free' | 14:19 |
RoyK | pastebin the output | 14:19 |
RoyK | more memory means better caching | 14:20 |
RoyK | how much data is there to cache? | 14:20 |
Eviltechie | How do you install sun-java6-jre? | 14:22 |
RoyK | Eviltechie: FGFI http://ubuntuforums.org/showthread.php?t=455137 | 14:23 |
Anirban1987 | RoyK : http://pastebin.ca/1484696 | 14:23 |
RoyK | see the buffers/cache line | 14:25 |
Eviltechie | E: Package sun-java6-jre has no installation candidate | 14:25 |
RoyK | it seems your box is only using ~130MB for processes/data | 14:25 |
RoyK | Eviltechie: which version? | 14:26 |
Eviltechie | 6 | 14:26 |
RoyK | ubuntu version? | 14:26 |
Eviltechie | 9.04 | 14:26 |
RoyK | hm. i thought it should be in there | 14:26 |
Eviltechie | There is one called sun-java6-jre-headless | 14:27 |
Anirban1987 | RoyK : So can I settle for 256 MB of dedicated RAM and 0 MB of burstable RAM. | 14:27 |
RoyK | Anirban1987: should work - just set vm.swappiness = 100 | 14:27 |
RoyK | Anirban1987: in /etc/sysctl.conf | 14:28 |
RoyK | Anirban1987: that makes the kernel swap out earlier, so that processes that aren't actually doing anything, in time, may be swapped out so that memory can be used for something useful | 14:29 |
RoyK | Eviltechie: from my ubuntu 8.04.2: | 14:30 |
RoyK | sun-java6-jre - Sun Java(TM) Runtime Environment (JRE) 6 (architecture independent files) | 14:30 |
Eviltechie | I'm on a vps | 14:30 |
Eviltechie | And the headless one is not working either | 14:30 |
RoyK | it shouldn't matter if you're on a vps or not | 14:31 |
Eviltechie | Apt-get is complaining about some language issue with pearl, and wget was missing | 14:31 |
RoyK | Eviltechie: which repositories are you using? | 14:32 |
Eviltechie | RoyK: Not sure | 14:35 |
RoyK | pastebin /etc/apt/sources.list | 14:35 |
Eviltechie | RoyK: Looks like my universe repos are commented out | 14:36 |
RoyK | try enabling them, apt-get update and retry installing the package | 14:36 |
Eviltechie | RoyK: Still no instalation candiate | 14:38 |
RoyK | which ones are you using now? | 14:38 |
Anirban1987 | RoyK : There is no such entry like vm.swappiness (http://pastebin.ca/1484703) . Where shld I add it ? | 14:38 |
RoyK | Anirban1987: somewhere | 14:38 |
RoyK | just add it to the end | 14:39 |
RoyK | vm.swappiness = 100 | 14:39 |
RoyK | also, these might be nice | 14:39 |
RoyK | kernel.panic = 60 | 14:39 |
RoyK | kernel.panic_on_oops = 1 | 14:39 |
RoyK | the former automatically reboots after 60 seconds in case of a kernel panic | 14:39 |
RoyK | the latter calls panic() in case of OOPS() | 14:39 |
RoyK | a kernel panic will stop the machine, so better reboot it if that happens. an OOPS _may_ stop the machine or certain services, so treating those as a panic is just as well | 14:42 |
Anirban1987 | RoyK : If my VPS provider offers 0 MB burstable RAM , is that means that I have no swap file ? | 14:42 |
RoyK | the swapping is handled by the guest OS, not the host OS, so no difference there | 14:43 |
RoyK | that is, swapping is handled individually by both | 14:43 |
Anirban1987 | RoyK : SO is that means that I have no swap file on the host OS ? | 14:44 |
RoyK | Anirban1987: are you the administrator of this system? | 14:44 |
RoyK | the host OS is the one running one or more VPSes | 14:44 |
RoyK | the VPSes are the 'guest' OSes | 14:45 |
Anirban1987 | RoyK : Ya , I am the admin of a VPS. No access to host OS | 14:45 |
RoyK | then you don't have to care for the host OS | 14:45 |
RoyK | the guest OS should be treated like linux installed on bare iron | 14:46 |
RoyK | Eviltechie: are you using multiverse? | 14:46 |
bogeyd6 | actually very look iron is used in making a computer | 14:46 |
bogeyd6 | look = little | 14:47 |
* RoyK bitchslaps bogeyd6 | 14:47 | |
Eviltechie | I don't think so http://pastebin.com/m1460ed9 | 14:48 |
bogeyd6 | bare metal would be a more accurate descriptor | 14:48 |
RoyK | Eviltechie: try adding it | 14:48 |
RoyK | bogeyd6: pedantic today, are we? | 14:48 |
bogeyd6 | your big words anger and confuse me | 14:49 |
RoyK | :รพ | 14:49 |
bogeyd6 | i do appluad your vast understanding of vm | 14:49 |
RoyK | bogeyd6: if you're here to fuck around and just that, perhaps there's a better place elsewhere? | 14:51 |
Anirban1987 | Do the amount of RAM eaten up depends upon the web hosting panel used ? | 15:00 |
RoyK | yes | 15:00 |
RoyK | but not a lot | 15:00 |
Anirban1987 | RoyK : I am amazed why my home server with only LAMP and EHCP panel installed taking so much RAM !! | 15:02 |
RoyK | 130 megs isn't really a lot | 15:03 |
RoyK | Anirban1987: do a "ps axfv" to see how much memory each process is using | 15:09 |
RoyK | Anirban1987: the RSS column shows how much memory is really in use. DRS shows the memory the process has requested | 15:10 |
Anirban1987 | RoyK : Check it out http://pastebin.ca/1484714 | 15:18 |
RoyK | Anirban1987: try ps axfvwwwwww | 15:20 |
Anirban1987 | RoyK : http://pastebin.ca/1484715 | 15:23 |
RoyK | hm... summing up those processes makes them use 280MB or so | 15:23 |
RoyK | but then, I guess most of the apache processes share a lot | 15:24 |
RoyK | ps can't show shared (CoW) memory after forks - it just shows what the process can address, not if it's dedup'ed by the fork | 15:24 |
Anirban1987 | RoyK : hmm... So how much dedicated and burstable RAM should I settle for ? | 15:25 |
RoyK | what is the price diff? | 15:26 |
RoyK | LAMP likes memory. even if it can run on 128MB or perhaps even less, it won't hurt to give it more | 15:26 |
RoyK | but again, it depends on your workload | 15:27 |
Anirban1987 | RoyK : http://ideastack.com/vps.html Stuck btw Gold and Platinum ... | 15:27 |
Anirban1987 | RoyK : And I must admit my budget is severely limited. Need to do as much optimization as possible | 15:28 |
RoyK | As long as an upgrade is possible/affordable, I'd start at silver and see if that works well | 15:28 |
RoyK | install sysstat and so on to monitor the system | 15:28 |
RoyK | if it's too slow, upgrade | 15:28 |
RoyK | 10GB of disk space is hilarious | 15:29 |
Anirban1987 | RoyK : Ya, upgrade is possible . Giv me necessary web links for "sysstat" to install . | 15:31 |
RoyK | apt-get install sysstat | 15:32 |
RoyK | edit /etc/default/sysstat to enable it | 15:33 |
RoyK | start it with /etc/init.d/sysstat start | 15:33 |
RoyK | use the 'sar' command to view system activity | 15:33 |
RoyK | but then I'm off - catch you later | 15:33 |
Anirban1987 | How to use the "sar" command to view the amount of RAM consumed ? | 16:07 |
=== erichammond1 is now known as erichammond | ||
=== gaveen_ is now known as gaveen | ||
=== bc_ is now known as bc | ||
n0gear | how do i set up my network manually? Automatic didnt work in installation? only lo now | 17:12 |
n0gear | actually thats weird, but it doesnt even show eth0?! | 17:14 |
qman__ | n0gear, use ifconfig -a | 17:17 |
qman__ | you can configure your network in /etc/network/interfaces | 17:17 |
n0gear | hmmm it doesnt get ip addr from dhcp? i dont have a router and all other comps get an ip straight from ISP ... anything i could edit manaually? | 17:26 |
qman__ | n0gear, /etc/network/interfaces is where you configure it to use DHCP or a static IP | 17:36 |
qman__ | but, just for testing | 17:36 |
qman__ | you can use ifconfig to set a manual ip, or you can use dhclient to try and pick up a DHCP lease | 17:36 |
qman__ | first, use ifconfig -a to see if your interface shows up or not | 17:37 |
qman__ | the default 'ifconfig' hides unconfigured interfaces, but -a shows all of them | 17:37 |
qman__ | if it doesn't show up with -a, you need drivers | 17:37 |
n0gear | qman__: yes eth0 now shows. i put all the auto eth0 things to /interfaces | 17:39 |
n0gear | but for somereason it doesnt get ip from isp? | 17:40 |
n0gear | because i dont have router i dont think i can invent an ip address for the server??? need to get assigned from my ISP right? | 17:43 |
Tom_Ass | n0gear, how many IPs can you get from your ISP? | 17:44 |
n0gear | 5. Only 2 in use at the moment ... unless i've got 'visitors' on my WLAN. Whats the reason the autoconf didnt work on install | 17:45 |
DormantOden | hay, after I use useradd to create a user what default password do they have? | 17:47 |
Tom_Ass | DormantOden, you type in a password when you add the user, https://help.ubuntu.com/9.04/serverguide/C/user-management.html for more info | 17:50 |
DormantOden | lies | 17:51 |
Tom_Ass | DormantOden, then you can change it with "sudo passwd <user>", then you will be prompted to type a new password | 17:59 |
DormantOden | =P cheers | 18:00 |
Tom_Ass | np | 18:01 |
DormantOden | now i just have to remember what file I have to change bin/bash -> bin/false in =/ | 18:01 |
DormantOden | any idea? | 18:01 |
Tom_Ass | and I think the recommended way to add users are in that link I gave you | 18:01 |
Tom_Ass | no | 18:01 |
Tom_Ass | idea | 18:01 |
Tom_Ass | =/ | 18:01 |
DormantOden | its to stop people login in | 18:01 |
DormantOden | ...or getting to bash | 18:01 |
DormantOden | unless theres a new fangled way =P | 18:02 |
qman__ | DormantOden, /etc/passwd | 18:13 |
qman__ | you can also use usermod | 18:13 |
qman__ | n0gear, you either need to configure the IP statically, or inform your ISP of the MAC address, they can't just know what box is yours ;) | 18:14 |
qman__ | DormantOden, if you didn't set the password during creation, there is no password set | 18:15 |
qman__ | and the user cannot log on | 18:15 |
DormantOden | ah, that explains why I couldnt login then :P | 18:17 |
DormantOden | kl, its all working nicley now | 18:17 |
DormantOden | = | 18:17 |
DormantOden | * =D | 18:17 |
n0gear | qman__: might i use dyndns address as a ip address? | 18:21 |
qman__ | no, you need an IP | 18:22 |
qman__ | DNS is just a convenience | 18:22 |
qman__ | DNS can be used to host multiple websites on one IP, or other similar tasks, but every node needs an IP address, either on the net, routed, or NATed | 18:23 |
n0gear | damn, i think im screwed unless i get a NAT router | 18:23 |
Tom_Ass | n0gear, have you checked so you don't have any unwanted w-lan visitors using up all your IPs? | 18:25 |
qman__ | n0gear, you can also use a linux box with iptables as a NAT router | 18:26 |
qman__ | though that gets complicated | 18:26 |
n0gear | okay i disconnected wlan now. lets see if that helps | 18:27 |
Tom_Ass | it can be quite power consuming too | 18:29 |
n0gear | no luck | 18:29 |
Tom_Ass | :| | 18:29 |
qman__ | in order to receive a DHCP address, the ISP has to identify you in some way, usually that means giving them your MAC addresses | 18:30 |
qman__ | it depends on your ISP and connection type | 18:30 |
qman__ | you should call and find out | 18:30 |
n0gear | yep. unfortunately customer service not open today :( | 18:31 |
qman__ | ah | 18:31 |
Eviltechie | How do you setup subdomains with apache? | 18:32 |
qman__ | by subodmains, do you mean dynamic subdomains or just a couple? | 18:33 |
Eviltechie | qman__: What's the difference? | 18:33 |
qman__ | what I mean by that is | 18:33 |
qman__ | do you want to have it automatically create subdomains for you, or do you just want to create a few sites manually? | 18:33 |
Eviltechie | qman__: Just a few | 18:34 |
qman__ | for that, you configure your sites using a virtualhost configuration | 18:34 |
qman__ | fortunately, ubuntu defaults to this kind of setup | 18:34 |
qman__ | in the configuration file for the website, in /etc/apache2/sites-available | 18:34 |
qman__ | you set each site's file like this | 18:34 |
qman__ | <Virtualhost subdomain.domain.tld:80> | 18:35 |
qman__ | instead of using an IP or just * | 18:35 |
qman__ | set up multiple configurations, one for each site | 18:35 |
qman__ | you can use the default one as a template | 18:35 |
qman__ | then enable them with the a2ensite command | 18:35 |
qman__ | for that to work, you need a working DNS setup, and you can't have any sites listening based on IP | 18:36 |
sseiersen | can I make ubuntu as a boot from lan server? | 18:37 |
sseiersen | to boot systems from the network? | 18:37 |
qman__ | sseiersen, yes, look up LTSP | 18:38 |
sseiersen | ok | 18:38 |
qman__ | IIRC the alternate install disc has this capability as an install feature | 18:38 |
Eviltechie | qman__: Like this? http://pastebin.com/m5a9f670e | 18:41 |
qman__ | yes | 18:41 |
qman__ | you create each of your subdomains that way, and enable them | 18:41 |
Eviltechie | qman__: Ok | 18:41 |
qman__ | and if DNS works correctly, the sites will work correctly | 18:41 |
Eviltechie | qman__: The subdomain works, but the regular one doesn't. It mirrors the subdomain. | 18:45 |
qman__ | did you make sure to point the two sites to different file paths? | 18:46 |
qman__ | DocumentRoot | 18:47 |
Eviltechie | qman__: | 18:47 |
Eviltechie | DocumentRoot /var/home | 18:47 |
qman__ | each site should point to a different root | 18:48 |
qman__ | to the files for each site | 18:48 |
Eviltechie | qman__: They do. I was having this problem before when I tried this another way. | 18:48 |
qman__ | hmm | 18:50 |
qman__ | looks like there is another approach | 18:50 |
qman__ | http://httpd.apache.org/docs/1.3/vhosts/name-based.html | 18:50 |
qman__ | using ServerName instead of the virtualhost directive to define which site is which | 18:51 |
qman__ | so | 18:51 |
qman__ | in the main apache configuration, you set | 18:51 |
qman__ | NameVirtualHost * | 18:51 |
qman__ | then each site will contain | 18:51 |
qman__ | <Virtualhost *> | 18:51 |
Eviltechie | First, how do I undo the sites avalaible thing? | 18:51 |
qman__ | ServerName domain.tld | 18:51 |
qman__ | oh | 18:51 |
qman__ | a2dissite | 18:51 |
Eviltechie | Ok | 18:52 |
Eviltechie | Like that? http://pastebin.com/m3f727758 | 18:53 |
qman__ | yes | 18:53 |
qman__ | and make sure NameVirtualHost * is used, but only once, not in each site | 18:54 |
Eviltechie | That did the exact same thing, mirrored the main domain off the sub domain | 18:54 |
qman__ | preferrably in the main configuration, /etc/apache2/apache2.conf | 18:54 |
Eviltechie | I put this in httpd.conf, right/ | 18:54 |
qman__ | well | 18:55 |
qman__ | preferrably the sites would be defined in individual site files | 18:55 |
qman__ | and the NameVirtualHost * would be in the main configuration, either httpd.conf or apache2.conf | 18:55 |
qman__ | but, if it's all in one file it'll still work | 18:55 |
qman__ | the separation is only for organization and convenience | 18:56 |
Eviltechie | What is this namevirtualhost thing you speak of? | 18:56 |
qman__ | NameVirtualHost * | 18:56 |
Eviltechie | Where does it go? | 18:56 |
qman__ | literally, should be in the configuration somewhere | 18:56 |
qman__ | but only once | 18:56 |
qman__ | and not within a virtualhost section | 18:56 |
qman__ | I would put it in apache2.conf | 18:57 |
Eviltechie | I just put it in httpd.conf | 18:57 |
qman__ | that's fine | 18:57 |
qman__ | apache must be restarted afterward, or at least have the configuration reloaded | 18:57 |
Eviltechie | Now the subdomain is mirroring off the main one | 18:58 |
qman__ | try changing the main site to www.site.tld | 18:59 |
qman__ | but place it first | 18:59 |
Eviltechie | How do I do that? | 19:00 |
qman__ | like | 19:00 |
qman__ | in the ServerName directive, change the name from domain.tld to www.domain.tld | 19:00 |
qman__ | on the main site | 19:00 |
qman__ | and leave the subdomain as sub.domain.tld | 19:00 |
qman__ | and as long as the main site comes first in the configuration, it'll be the default | 19:01 |
qman__ | so one who does not define www. will still get to the main site | 19:01 |
Eviltechie | Where is this directive? | 19:01 |
qman__ | in the virtualhost configuration | 19:01 |
Eviltechie | And where is that? | 19:01 |
qman__ | for the main site | 19:01 |
Eviltechie | Yeah | 19:01 |
qman__ | inside the <Virtualhost *> | 19:02 |
Eviltechie | Oh | 19:02 |
qman__ | you should have two of those, one for each site | 19:02 |
Eviltechie | Oh | 19:02 |
=== ejat is now known as e-jat | ||
Eviltechie | Here is what httpd.conf looks like now http://pastebin.com/m46601263 | 19:04 |
qman__ | are all sites in /etc/apache2/sites-available/ disabled? | 19:04 |
Eviltechie | I don't know | 19:05 |
Eviltechie | I disabled the one I made | 19:05 |
qman__ | you need to disable the default site too | 19:05 |
Eviltechie | But the default and default-ssl are in there | 19:05 |
qman__ | a2dissite default | 19:05 |
qman__ | yeah, you need to disable them both to do it that way | 19:05 |
qman__ | if all sites are disabled, /etc/apache2/sites-enabled/ should be empty | 19:06 |
Eviltechie | I think it works now | 19:07 |
Eviltechie | Ok, all good. Thanks | 19:10 |
qman__ | yep | 19:10 |
Eviltechie | Just one thing | 19:10 |
Eviltechie | [Sun Jul 05 18:06:13 2009] [warn] NameVirtualHost *:80 has no VirtualHosts ... waiting [Sun Jul 05 18:06:14 2009] [warn] NameVirtualHost *:80 has no VirtualHosts | 19:10 |
Eviltechie | That happened when I restarted the server | 19:10 |
qman__ | ah | 19:11 |
qman__ | somewhere in the configuration "NameVirtualHost *:80' exists | 19:11 |
qman__ | probably in apache2.conf | 19:11 |
qman__ | look for it and remove it, should be all set | 19:11 |
Eviltechie | NameVirtualHost * <--Remove that? | 19:11 |
qman__ | no | 19:12 |
qman__ | you need that, but one that says *:80 should be removed | 19:12 |
qman__ | a remnant from the default configuration | 19:12 |
DormantOden | anyone know how I can stop my server getting stuck on "Checking battery..." when shutting down? | 19:12 |
DormantOden | or even why it does? | 19:12 |
Eviltechie | qman__: The only instance is NameVirtualHost * in my httpd.conf | 19:13 |
dbz3222 | hi there i'm trying to understand why the deadline schedule is in use in the 9.04 kernel vs the cfq one | 19:14 |
dbz3222 | can someone explain why this is picked? | 19:14 |
qman__ | Eviltechie, the error means it's in there somewhere, hang on a sec | 19:15 |
qman__ | for FILE in `find /etc/apache2`; do echo $FILE; grep NameVirtualHost $FILE; done | 19:16 |
qman__ | run that in a terminal, it'll help you find it | 19:17 |
dbz3222 | qman__: what are you doing that for ? | 19:20 |
Eviltechie | qman__: That chucked out a bunch of files | 19:21 |
dbz3222 | you can just run grep -R .... | 19:21 |
Eviltechie | qman__: It's in ports.conf | 19:23 |
Eviltechie | qman__: Should I just take it out? | 19:25 |
qman__ | yes, you can comment it if you're unsure | 19:25 |
Eviltechie | qman__: Ok, no errors on restart | 19:27 |
danlii | I tried to install a dhcp server, but encountered this error message instead "dhcp3-server: Depends: dhcp3-common (= 3.1.1-5ubuntu8) but 3.1.1-6 is to be installed" - what can i do to resolve this? | 19:40 |
qman__ | what method did you go about to install the dhcp package | 19:40 |
danlii | sudo apt-get install dhcp3-server | 19:41 |
qman__ | then you need to check your repositories | 19:41 |
qman__ | somehow you installed a newer version of dhcp3-common than is available from your current set | 19:41 |
qman__ | so either you need to update your repositories, or you previously used incorrect ones | 19:42 |
danlii | Actually, I "upgraded" my system from Debian 5 just by changing the repositories and do aptitude dist-upgrade... | 19:42 |
ssm | ouch | 19:42 |
qman__ | that's the problem | 19:42 |
qman__ | you're pretty much screwed now | 19:42 |
qman__ | you've got major version conflicts | 19:42 |
danlii | But removing and reinstalling dhcp3-common did the trick actually, so thank you for pointing me in the right direction. :) | 19:42 |
ssm | danlii: you _should_ probably backup, reinstall, and restore your data and configs | 19:43 |
qman__ | yeah, that's likely not the only version conflict you have | 19:43 |
qman__ | and some of them can be rather nasty | 19:43 |
danlii | ssm: Nah, too much trouble. I'd rather fix problems as i encounter them. ;) | 19:43 |
ssm | or at least, keep good backups :) | 19:43 |
danlii | Everything else seems to work. | 19:43 |
danlii | It's just my firewall, so there's not much to backup. | 19:44 |
ssm | danlii: good. Now, make sure you have backups of your config and data :) | 19:44 |
ssm | ah | 19:44 |
dbz3222 | so why should i be using deadline vs cfq on my server? | 19:51 |
Eviltechie | What's the group you add a user to make them an admin? | 20:31 |
Eviltechie | Is it sudo? | 20:32 |
pmatulis | Eviltechie: admin | 20:42 |
Eviltechie | pmatulis: It says that group dosen't exist. | 20:43 |
Eviltechie | useradd: unknown group admin | 20:43 |
pmatulis | Eviltechie: what was your full command? | 20:43 |
Eviltechie | # useradd -G admin ivan | 20:43 |
pmatulis | Eviltechie: try '$ sudo useradd ivan admin' | 20:44 |
pmatulis | adduser rather | 20:44 |
Eviltechie | ivan is not in the sudoers file. This incident will be reported. | 20:45 |
pmatulis | Eviltechie: the user issuing the command *must* have access to root privileges | 20:45 |
Eviltechie | There is no admin group. I checked /etc/group | 20:45 |
pmatulis | then you erased it | 20:46 |
Eviltechie | pmatulis: The only user that has those privlidges is root | 20:46 |
pmatulis | Eviltechie: by default, the user created during install is a member of admin group | 20:46 |
Eviltechie | I'm in a vps, the only user that was created was root | 20:47 |
pmatulis | this is the user you should be using to have access to root privileges | 20:47 |
pmatulis | and what is a vps? | 20:47 |
Eviltechie | Virtual Private Server | 20:47 |
pmatulis | Eviltechie: how did you install it? | 20:48 |
Eviltechie | I set how much disc space, the root password, and clicked the install button. Then I waited 30 seconds, and sshed into the root account. | 20:49 |
pmatulis | i'm not familiar with VPS. all i can say is that i don't think you have Ubuntu there | 20:51 |
Eviltechie | It's ubuntu, just not how I'm used to it. | 20:52 |
pmatulis | output to: '$ lsb_release -a' | 20:52 |
Eviltechie | No LSB modules are available. Distributor ID:Ubuntu Description:Ubuntu 9.04 Release:9.04 Codename:jaunty | 20:53 |
ajmitch | you could just add the admin group & add the %admin line back into /etc/sudoers | 20:53 |
Eviltechie | Ok, now for a silly question, where do yo type your password in evolution? | 20:56 |
ajmitch | no idea, I haven't used it for years :) | 20:57 |
pmatulis | Eviltechie: evolution is not a valid topic for this channel | 20:58 |
n0gearII | qman__: DUDE guess what was wrong with nor getting IP!? | 21:07 |
n0gearII | how do i update manually from cli? | 21:41 |
qman__ | change your IP? ifconfig eth0 12.34.56.78 netmask 255.0.0.0 | 21:42 |
qman__ | change the IP and mask with the ones you're supposed to have | 21:43 |
n0gearII | qman__: ip problem is now ok! didnt realise i had 2 network cards on my comp :) | 21:46 |
n0gearII | but now i need to install updates manually. how do i do that? | 21:47 |
balloooza | hi, dose anyone here know how to get the kernel source to compile (or install I guess) the vmware server (2.0.0) on jaunty, the kernel-source-devel appears to be gone | 23:04 |
balloooza | helloooo | 23:07 |
ajmitch | then you pro0bably need linux-headers-generic or linux-headers-server, depending on which kernel you're using | 23:15 |
balloooza | ajmitch, thanks, I will see if it was what I needed | 23:16 |
ghostlines | hi all | 23:40 |
ghostlines | I'm telnetting to may postfix smtp server on ubuntu 9.04, and when i run the starttls command i get this error 502 5.5.1 Error: command not implemented | 23:41 |
ghostlines | anyone know why this may be | 23:41 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!