drurew | !info landscape | 00:01 |
---|---|---|
ubottu | Package landscape does not exist in jaunty | 00:01 |
drurew | !landscape | 00:01 |
ubottu | Landscape makes the management and monitoring of Ubuntu systems simple and effective by combining world-class support with easy to use online management tools. https://landscape.canonical.com/ | 00:01 |
drurew | !management | 00:03 |
ubottu | Sorry, I don't know anything about management | 00:03 |
racecar56 | what are the requirements for ubuntu server | 00:39 |
=== Sarthor_ is now known as sarthor | ||
sarthor | Hi, here is gateway ping script ( for using in case multiple uplink using) http://blog.taragana.com/index.php/archive/how-to-load-balancing-failover-with-dual-multi-wan-adsl-cable-connections-on-linux/ , one of my ISP dont allow pinging yahoo.com, they are not agree, what can do alternat, any idea? | 01:22 |
Sarthor | d | 01:43 |
=== Sarthor__ is now known as sarthor | ||
edmundo | can anyone point me any documentation about ubuntu's initialization process? | 03:28 |
diffra | start with man init? | 04:19 |
diffra | oh, he left anyway | 04:20 |
=== s_markow_ is now known as s_markow | ||
diffra | slightly OT: can someone take a look at this smartctl output? pretty sure the disk is dying. http://diffra.com/disk.txt | 04:57 |
AnAnt | debian bug 533442 | 05:37 |
uvirtbot | Debian bug 533442 in mutt "mutt: Recommend default-mta instead of exim4" [Wishlist,Open] http://bugs.debian.org/533442 | 05:37 |
AnAnt | the maintainers of mutt told me "the policy says that the first depend should be always a real package and not a virtual (check debian policy 3.8.2); " | 05:38 |
AnAnt | is Ubuntu having a different policy from Debian in this matter ? | 05:38 |
diffra | ubuntu's stuck with the debian policy as far as I know. Which is a shame, as ubuntu(and I) prefer postfix. | 05:39 |
AnAnt | there was an email in Ubuntu saying to depend/recommend default-mta instead of exim4 | 05:40 |
AnAnt | that's why I ask | 05:40 |
ScottK | AnAnt: I think depend on a real package first policy only applies to virtual packages that can be provided by multiple different packages. default-mta should only be provided by one package at a time, so it should be fine. | 05:42 |
AnAnt | ok, seems the debian maintainers didn't know about this: debian bug 508644 | 05:45 |
uvirtbot | Debian bug 508644 in general "Sorting out mail-transport-agent mess" [Important,Open] http://bugs.debian.org/508644 | 05:45 |
AnAnt | and http://lists.debian.org/debian-devel/2008/05/msg00381.html | 05:45 |
ScottK | AnAnt: What I find in policy is, "If you want to specify which of a set of real packages should be the default to satisfy a particular dependency on a virtual package, you should list the real package as an alternative before the virtual one." | 05:46 |
ScottK | Since default-mta isn't a set of packages, I think it's not at all relevant. | 05:47 |
ScottK | http://www.debian.org/doc/debian-policy/ch-relationships.html#s-virtual | 05:47 |
AnAnt | thanks | 05:52 |
AnAnt | ok, someone on debian-mentors (OFTC), brought up this point: | 06:03 |
AnAnt | 08:01 <raphael> but also in practice, there's an important issue: what happens when you want to transition from, say, exim providing default-mta to postfix providing default-mta? | 06:03 |
AnAnt | 08:02 <raphael> whenever that happens, there will be more than one package providing default-mta | 06:03 |
ScottK | For about a day. It doesn't matter. | 06:04 |
ScottK | The decision has been done to do it this way and so being obstructionist is silly. | 06:05 |
AnAnt | oh he continues: | 06:10 |
AnAnt | 08:03 <raphael> but then again, in practice that won't be a problem | 06:10 |
AnAnt | ok, responding to the mutt bug ;) | 06:11 |
lamont | ScottK: for less than a day | 06:11 |
ScottK | lamont: Yep. Probably for much less. | 06:11 |
AnAnt | I didn't understand that sentence btw "For about a day..." | 06:12 |
lamont | AnAnt: specifically, the decision to make default-mta a Provides: instead of a real package was very intentional, and actually made sense, even though it hurt | 06:12 |
lamont | AnAnt: it's a question of how long it takes to upload both packages, and I expect it'd get NMUed (with a blessing) by whichever maintainer did the cutover | 06:13 |
AnAnt | lamont: what both packages ? | 06:13 |
lamont | meaning that both packages would probably hit the archive in the same dinstall run | 06:13 |
AnAnt | lamont: and whats the reason that default-mta is a virtual instead of real package ? | 06:13 |
lamont | exim4 and postfix | 06:13 |
lamont | I forget - just that it was enough for me to go "oh, doh. sigh, yeah.' | 06:14 |
AnAnt | the java guys have a default-jdk/jre/... | 06:14 |
lamont | there was a discussion on debian-devel about it, where the reason was raised | 06:14 |
lamont | discussion here or #ubuntu-devel on june 3 ish | 06:15 |
AnAnt | mutt 1.5.20 is buggy, why did I ever merge this ! | 06:16 |
lamont | AnAnt: I think it was something to do with upgrade paths | 06:26 |
lamont | and not yanking the installed MTA out from under something if we changed what provided default-mta or some such | 06:27 |
AnAnt | ok, thanks | 06:31 |
alex_ | Could someone help me please i'm new to useing a linux server i'm coming from a windows platform and I just installed ubuntu Server and it seems to be working but it seems to be all command line is there a GUI | 06:42 |
alex_ | Or maybe i messed up the install somehow? | 06:43 |
alex_ | I feel completly bewildered here. | 06:44 |
diffra | alex_: ubuntu server is just command line. the less software that's running, the more risk there is of security holes in that software. | 06:47 |
diffra | this might help you get started: https://help.ubuntu.com/community/UsingTheTerminal | 06:47 |
diffra | if you want to install a gui, you can run the command 'sudo apt-get install ubuntu-desktop' | 06:48 |
alex_ | That helps alot thank you diffra i wasn't sure what in the world i was going to do moving from nice graphics to command | 06:50 |
alex_ | I remember dos but it is fairly distant and not the same as this | 06:51 |
diffra | no problem. I've made the opposite transition recently. Always been a linux guy, but my new job is supporting jboss and tomcat on windows server 2008. | 06:51 |
alex_ | I'm sure that's fun | 06:52 |
alex_ | It's just a whole new learning curve to make the transition | 06:52 |
diffra | sure :) I'd just recommend if you're going to deploy a production type application, disable the GUI. There arent' any specifc security issues, but it's good practice. And you gain back a hundred or so megs of ram. | 06:53 |
alex_ | Yeah i'm going to spend the night learning how to operate in the termial environment | 06:54 |
diffra | cool! Feel free to ask any questions you have. | 06:55 |
diffra | Us linux folk tend to go to extreme lengths to help people transition, because once you do, you usually don't go back! | 06:55 |
Jomyoot | mount.nfs: internal error | 08:10 |
Jomyoot | Searching on Google says I have to recompile NFS with specific options | 08:10 |
Jomyoot | Is there a better solution? | 08:10 |
Jomyoot | My NFS server can be mounted by anything else so far but not from ubuntu | 08:10 |
twb | "recompile nfs"? It's part of the kernel. | 08:33 |
twb | Jomyoot: are you blocking UDP? | 08:34 |
Jomyoot | my nsf server uses only tcp | 08:34 |
Jomyoot | ont udp | 08:34 |
Jomyoot | my nsf server is freebsd | 08:34 |
twb | It would appear that the Linux NFS client wants to use UDP a little bit, even when mounting with -o tcp. | 08:35 |
twb | Based on http://bugs.debian.org/477503 | 08:35 |
twb | Ah, portmapper uses UDP, of course. | 08:36 |
twb | I suggest you enable UDP, at least temporarily. If it starts working, that will show that the problem is UDP-related. | 08:37 |
=== fenris- is now known as e-jat | ||
Jomyoot | twb: if problem is UDP related, then what do I do? | 08:42 |
Jomyoot | because opensolaris and freebsd can connect to it as client, no problem at all | 08:43 |
Jomyoot | only this ubuntu box is having problem | 08:43 |
Padhu | How can i install apache & php for Sqlite database in ubuntu-Desktop? apt-get is enough? | 09:26 |
ghostlines | hi all | 10:08 |
ghostlines | I have an nfs server setup, and in my exports file i set the anongid to 501 | 10:09 |
ghostlines | I chowned some of my files to group 501, and group has right permissions, but I still can't write to it as user 501 | 10:10 |
ghostlines | anyone know why this may be happening? | 10:10 |
=== Sarthor_ is now known as sarthor | ||
=== Sarthor__ is now known as sarthor | ||
=== Sarthor_ is now known as sarthor | ||
Batty5 | mobi-sheep I cannot seem to find further information and was wondering where I could look next. I checked /var/log/proftpd and /var/log/pure-ftpd and did not find any errors. Though I keep getting timeouts when issuing any comands after logging in. http://pastebin.com/m4a0f29c8 | 13:52 |
EmanSaad | please can anyone help me a have an urgent problem? | 14:10 |
pmatulis | EmanSaad: read the topic of this channel | 14:11 |
metalfan_ | hi | 15:02 |
metalfan_ | OT: im looking for a webinterface to control counter strike source servers...googling around pops up many self made scripts but nothing really serious | 15:03 |
ghostlines | can anyone help me with this nfs prob: http://paste.ubuntu.com/200079/ | 15:06 |
Hamzifer | kirkland: when you return, any chance you could publish the byobu debian package somewhere for me? <3 | 15:11 |
n0de | Hi having a big issue with installing ubuntu server with raid 1. help apreshiated :) | 15:14 |
EmanSaad | please I need an urgent help can anybody help me? | 15:14 |
ghostlines | EmanSaad, just ask your question maybe someone can help | 15:16 |
EmanSaad | ok, I have a problem of GRUB error 17 | 15:16 |
EmanSaad | I cann't reboot to Win or UBUNTU | 15:16 |
n0de | how can i bring up a command line in the installation process? | 15:17 |
EmanSaad | can anyone help | 15:18 |
metalfan_ | ghostlines, is your user in the group 501? | 15:18 |
ghostlines | metalfan_, yeah | 15:19 |
ghostlines | wait let me double check that | 15:20 |
metalfan_ | if you did add the user to that group by hand you have to login again | 15:21 |
ghostlines | metalfan_, maybe I don't understand permissions correctly but the group id of a file is 501 | 15:22 |
ghostlines | and my uid is 501 | 15:22 |
ghostlines | but my group id is 20 | 15:22 |
metalfan_ | maybe you fucked up | 15:22 |
metalfan_ | every file has a user and a group | 15:22 |
metalfan_ | you can be in multiple groups | 15:22 |
metalfan_ | sudo gpasswd -a youruser 501 | 15:23 |
metalfan_ | that should add your user to group 501 | 15:23 |
ghostlines | ok but, question if my uid is 501 shouldn't I automatically be in group 501? | 15:23 |
Hecate | no | 15:24 |
metalfan_ | check that with "groups" | 15:25 |
ghostlines | ahh k I guess that's my prob, thanks dudes | 15:25 |
ghostlines | I'll fix that then get back to yall, thanks alot | 15:26 |
PhotoJim | yes, groups and userids are completely separate | 15:26 |
metalfan_ | ...what a surprise | 15:26 |
Batty5 | mobi-sheep I cannot seem to find further information and was wondering where I could look next. I checked /var/log/proftpd and /var/log/pure-ftpd and did not find any errors. Though I keep getting timeouts when issuing any comands after logging in. http://pastebin.com/m4a0f29c8 | 15:26 |
PhotoJim | I can see that being slightly unintuitive if you don't know it. | 15:27 |
ghostlines | it just seemed common sense to me that a user would automatically be in his own group too | 15:27 |
metalfan_ | ubuntu seems to attract very naive people, even the server edition | 15:27 |
ghostlines | guess not and that's just a fact then | 15:27 |
PhotoJim | the only person that's never made a dumb assumption about something to do with computers has never used a computer. :) | 15:29 |
Hecate | that's a ubuntu specific beahviour (to creata a group with the same id and name and automatically making a newly create user that very group's member) | 15:29 |
Hecate | but i would not rely on it, particalarly not when working on a different distribution | 15:29 |
ghostlines | exactly Hecate | 15:29 |
Hecate | PhotoJim, wisely spoken. | 15:29 |
ghostlines | because I just checked and Hecate is correct on ubuntu by default your groups also has your ownn uid in it as well | 15:31 |
PhotoJim | I know my way around computers, and I've made enough dumb assumptions. The difference between advanced and elementary users is the frequency of those assumptions :) | 15:31 |
ghostlines | i got caught by this because i indeed am working on another distro | 15:31 |
PhotoJim | the differences between distros can be somewhat confusing. | 15:32 |
Nafallo | ghostlines: except that groups doesn't have uids... they have gids. | 15:32 |
NorthByNorthWest | Hi all! Trying to mount a shared folder but I get "Failed to mount Windows-share" why? Its shared on a Ubuntu Server using webmin... cant figure out how to fix! Please help! | 15:32 |
ghostlines | Nafallo, sorry your right that's whay i meant | 15:33 |
=== freeflyi1g is now known as freeflying | ||
PleXs | anyone did succeed to usb printer support on kvm? I get BSOD on my Windows server 2003 (BUGCODE_USB_DRIVER) :S | 15:51 |
ivoks | never tried that... | 15:51 |
PleXs | Everytime i want to print i get that BSOD | 15:52 |
ivoks | is it a postscript printer? | 15:53 |
metalfan__ | ive created a user with "useradd -m myuser" but somehow the prompt is not set, tab completion does not work? | 15:54 |
ivoks | metalfan__: useradd doesn't create home directory | 15:55 |
ivoks | metalfan__: you should've add it with 'adduser' | 15:55 |
metalfan__ | -m does | 15:55 |
ivoks | oh, missed that | 15:55 |
ivoks | maybe it doesn't copy from /etc/skel? | 15:55 |
ivoks | oh, it does that too | 15:56 |
* RoAkSoAx says hello | 15:56 | |
metalfan__ | ivoks, yes..but youre right adduser does more | 15:56 |
PleXs | ivoks, no | 15:57 |
metalfan__ | ah nice, a working prompt | 15:57 |
metalfan__ | PleXs, useradd does copy .bashrc .profile | 15:57 |
metalfan__ | but somehow they are not sourced | 15:57 |
metalfan__ | and the source command is unavailable | 15:57 |
ivoks | metalfan__: what's the shell? | 15:58 |
ivoks | metalfan__: maybe it's /bin/sh, instead of /bin/bash | 15:58 |
metalfan__ | default, bash i guess | 15:58 |
ivoks | useradd, iirc, puts sh as default | 15:58 |
metalfan__ | anyway...doesnt matter. useradd worked as expected | 15:58 |
metalfan__ | ähm adduser i meant | 15:59 |
metalfan__ | but why is world readable set for files like .profile / .bashrc? | 15:59 |
ivoks | cause of default umask | 16:00 |
ivoks | and permissions in /etc/skel | 16:00 |
twb | metalfan__: is there a reason you want to conceal .profile and .bashrc? | 16:00 |
metalfan__ | no | 16:00 |
twb | GNU/Linux systems tend to default to world-readable for non-sensitive files, because you can learn a lot by looking at someone else's configuration | 16:01 |
metalfan__ | i was used to 750 for home dirs | 16:01 |
twb | You can get that by editing adduser.conf, if you want | 16:01 |
metalfan__ | no, im just a hobby linux user....i will go with the default | 16:01 |
metalfan__ | makes sense | 16:01 |
metalfan__ | well, maybe the file creation mask could be changed.....its also 755 | 16:02 |
ivoks | 644 | 16:02 |
ivoks | it's umask | 16:03 |
metalfan__ | or that, but still files are world readable | 16:03 |
ivoks | define it in .profile | 16:03 |
ivoks | yes, they are | 16:03 |
twb | metalfan__: it's for the same reason. | 16:06 |
metalfan__ | well, if i accept other persons on my server i dont want them to read my whole home, theirs private data | 16:07 |
ivoks | then change default umask | 16:13 |
ivoks | and come again when you're going to try set up web server :) | 16:13 |
metalfan__ | what where the values for read,write,exceute again? 4,2,1? | 16:16 |
metalfan__ | ivoks, i will change my users .profile | 16:17 |
axisys | anyone knows how to upgrade from 8.04 server to newer release? I did do-release-upgrade -d | 16:25 |
axisys | but it did not find any new release | 16:25 |
axisys | sudo do-release-upgrade -d | 16:26 |
axisys | Checking for a new ubuntu release | 16:26 |
axisys | No new release found | 16:26 |
ivoks | axisys: -d is for development versions | 16:26 |
axisys | sudo do-release-upgrade says the same thing | 16:26 |
axisys | sudo do-release-upgrade | 16:26 |
axisys | Checking for a new ubuntu release | 16:26 |
axisys | No new release found | 16:26 |
ivoks | check /etc/update-manager/release-upgrades | 16:26 |
axisys | ivoks: http://pastebin.com/f3b7f6951 | 16:27 |
axisys | says normal | 16:27 |
ivoks | did you run update? | 16:28 |
ivoks | and dist-upgrade? | 16:28 |
metalfan__ | is there a shortcut for a normal software upgrade "sudo aptitude update && sudo aptitude safe-upgrade" thats what im currently using, get new version information and upgrade | 16:29 |
ivoks | alias do_stuff="sudo aptitude update && sudo aptitude safe-upgrade" | 16:30 |
metalfan__ | thx | 16:31 |
axisys | ivoks: i ran sudo apt-get update; sudo aptitude dist-upgrade; sudo do-release-upgrade .. same message .. no new release | 16:32 |
ivoks | axisys: which mirror do you use? | 16:32 |
axisys | http://www.cyberciti.biz/faq/howto-upgrade-ubuntu-servers-804-to-810/ did not help | 16:32 |
axisys | ivoks: http://archive.linux.duke.edu/ubuntu/ | 16:33 |
ivoks | maybe that's not most recent one? | 16:33 |
axisys | ivoks: may be.. let me find another mirror.. is there a way to use a different mirror than apt sources file w/o changing in the file.. using a switch w/ aptitude ? | 16:35 |
ivoks | change it to some official mirror | 16:35 |
axisys | ivoks: cannonical ? | 16:35 |
ivoks | axisys: to the mirror from your country | 16:36 |
axisys | ivoks: oh ok, then http://us.archive.ubuntu.com/ubuntu/ | 16:37 |
axisys | ivoks: is there a magic way to change the mirror address in the sources.list file w/o using sed ? | 16:37 |
ivoks | i find sed being true magic | 16:37 |
axisys | on the client i could just pick another one from gui .. easy | 16:37 |
axisys | s/client/desktop/ | 16:37 |
axisys | ivoks: :-) | 16:38 |
Hamzifer | kirkland: nm, installed the latest ubuntu package from the ppa in debian and it seems to work fine. thanks anyway :) | 16:38 |
axisys | ivoks: as long as my regex is correct | 16:38 |
fullmetalj | hello | 16:43 |
fullmetalj | is any one run umbuntu server a mail server | 16:43 |
fullmetalj | any one in room | 16:48 |
ivoks | yes | 16:48 |
ivoks | and yes | 16:48 |
fullmetalj | hi ivoks | 16:49 |
fullmetalj | do you your mail server on ubuntu | 16:49 |
ivoks | yes | 16:50 |
fullmetalj | but your mail server pop 3 smtp | 16:50 |
ivoks | pop3, imap, smtp... | 16:50 |
axisys | looks like this is something what I was looking for http://www.go2linux.org/find_the_fastest_debian_mirror-apt-spy_and_netselect-apt | 16:51 |
fullmetalj | why on deboian | 16:51 |
giovani | axisys: do you really change the servers often enough that it's a concern? | 16:51 |
giovani | fullmetalj: debian and ubuntu are incredibly similar | 16:52 |
fullmetalj | ohhh i see | 16:52 |
axisys | giovani: not really.. i am just looking for a easier way to change the mirror then sed or manual | 16:52 |
ivoks | lol | 16:52 |
ivoks | you could've change it 1001 times already | 16:53 |
giovani | axisys: I just can't imagine that the time required to change it once or twice is probably 1/10th the time it takes to find a solution | 16:53 |
giovani | ivoks: hah, exactly | 16:53 |
giovani | not to mention, that's not really a "solution" | 16:53 |
giovani | apt-spy and netselect are designed for something specific, which as a side effect, runs sed, essentially | 16:53 |
metalfan__ | what do you use to see current network traffic? ive used bmw-ng until now | 17:03 |
giovani | metalfan__: rrdtool | 17:17 |
metalfan__ | giovani, no i was for current usage in this moment | 17:25 |
metalfan__ | not long time monitoring with logging | 17:25 |
giovani | well "speed" always has to be measured over some time period | 17:26 |
giovani | there's no way to measure speed in an instant -- so it's just a matter of how long your sample period is | 17:26 |
giovani | but I have no need for near real-time speed graphs/indicators ... they're easy enough to write up though | 17:27 |
axisys | i am getting this with new sources list | 17:34 |
axisys | Err http://security.ubuntu.com hardy-security/main Translation-en_US Could not connect to security.ubuntu.com:80 (91.189.88.37). - connect (113 No route to host) | 17:34 |
giovani | sounds like you don't have a route to that host :) | 17:36 |
axisys | here is how my new sources.list looks like http://pastebin.com/f6ec9a7cd | 17:36 |
giovani | not too confusing | 17:36 |
Nafallo | axisys: does us.archive work for you? | 17:37 |
peanutb | hey. Im having some weird messages coming in on postfix, and getting denied. this shows up in syslog. http://p.linode.com/2577 . What scares me is that there is "teampronto.com" on the server, but i dont know where a preston@teampronto.com would come from | 17:38 |
axisys | Nafallo: that is getting same error too .. i guess i should go back to http://archive.linux.duke.edu/ubuntu/ .. that works fine | 17:38 |
peanutb | (sorry for double posting, I thought I was in #ubuntu-server instead of #ubuntu earlier) | 17:39 |
giovani | peanutb: it's called spam? | 17:39 |
axisys | but that mirror does not find new release .. i am on hardy now | 17:39 |
peanutb | giovani, should I be worried? or is it doing what it shoud be | 17:39 |
giovani | peanutb: it's spam ... receiving spam is normal | 17:39 |
giovani | there are plenty of resources for learning how to reduce it -- in this case, it rejected the address, as postfix should, because it doesn't know about it | 17:40 |
giovani | that address is bogus | 17:40 |
Nafallo | axisys: you might find https://edge.launchpad.net/ubuntu/+archivemirrors of interest to you. | 17:40 |
axisys | Nafallo: ok | 17:41 |
axisys | Nafallo: i am coming from US .. so i was hoping us.archive would work.. | 17:41 |
axisys | Nafallo: would be nice if there is a way to find the best mirror like ubuntu desktop does | 17:42 |
benc1 | is there a recommended tool for automating a server setup? | 17:42 |
giovani | benc1: automating in what way? | 17:42 |
benc1 | Installing packages, building from source, editing config files | 17:42 |
giovani | uh | 17:43 |
Nafallo | custom scripts and preseed can do that | 17:43 |
benc1 | I want to have a script that does all that so I can edit it and improve instaed of redoing everything every time | 17:43 |
giovani | benc1: that's what like change management tools are for | 17:43 |
benc1 | preseed? | 17:43 |
giovani | I'd advise against one-off scripts | 17:43 |
benc1 | is there a recommended one? | 17:43 |
giovani | if you'd like to scale it | 17:43 |
giovani | benc1: no "recommended" one, no | 17:44 |
benc1 | what is one-off scripts? | 17:44 |
giovani | sigh | 17:44 |
giovani | "one-off" is an english phrase to describe items/objects/tasks that are done custom, for one particular need | 17:44 |
benc1 | why not use a script? | 17:44 |
giovani | because it's not scalable and flexible? | 17:44 |
giovani | if a script works for you ... use it | 17:44 |
benc1 | what is the alternative? | 17:44 |
giovani | <giovani> benc1: that's what like change management tools are for | 17:44 |
giovani | cfengine, puppet, etc | 17:45 |
benc1 | thanks. I'll look it up | 17:45 |
giovani | it's likely not what you want though | 17:45 |
giovani | it sounds like you're happy with your script | 17:45 |
benc1 | no I don't :) | 17:45 |
benc1 | I've headrd of fabric but not sure how it works yet | 17:45 |
giovani | ok, well, cfengine/puppet are really not simple things to deploy | 17:45 |
benc1 | I'm doing a one man show so it can't be too time consuming. but I'll read about it anyway | 17:46 |
giovani | how many servers are you managing? | 17:47 |
benc1 | currently one but I'm constantly starting from a fresh server because I'm experimenting all the time | 17:47 |
giovani | heh | 17:47 |
giovani | these systems are not for you | 17:48 |
giovani | when you start dealing with -maybe- dozens, or more realistically, hundreds of systems | 17:48 |
benc1 | I have serveral vbox ubuntu servers locally and I keep breaking them on purpose :) | 17:48 |
giovani | these systems are essential, and useful | 17:48 |
benc1 | ah ok. I'll be dealing with 2-3 tops | 17:48 |
giovani | and they're going to be identical? | 17:49 |
giovani | if not ... then you should be doing them one at a time, manually | 17:49 |
benc1 | even if they are not identical I'll to automate them | 17:49 |
benc1 | and to be able to have some kind of script/log that I can edit to add or remove stuff | 17:49 |
giovani | well, unless you have an extremely predictable and repetitive setup ... scripting them is not going to help | 17:50 |
benc1 | when I setup manually it takes a whole day | 17:50 |
giovani | a whole day? | 17:50 |
giovani | what are you doing? | 17:50 |
benc1 | ok | 17:50 |
benc1 | I'm installing apache/django/xmpp server and nginx as a proxy | 17:50 |
giovani | a day? | 17:51 |
giovani | that should be more like an hour or two | 17:51 |
giovani | tops | 17:51 |
giovani | and you shouldn't be compiling things one-off | 17:51 |
benc1 | maybe but still I would like to automate it | 17:51 |
giovani | if you plan to use it over and over | 17:51 |
giovani | you should be packaging what you need | 17:51 |
giovani | and deploying the packages | 17:51 |
benc1 | maybe that's what I'm looking for | 17:52 |
giovani | well | 17:52 |
giovani | that depends on what you're automating | 17:52 |
benc1 | can I bundle several packages together with custom config files? | 17:52 |
giovani | you can put anything in a package ... whether it's advisable or not is a different matter | 17:52 |
benc1 | good. | 17:53 |
benc1 | not sure it is much different then a script though | 17:53 |
giovani | well you're being incredibly vague | 17:53 |
giovani | so unless you're more specific, it's difficult to advise you | 17:53 |
giovani | if you make a list of exactly what you're doing ... or what you'd like to do | 17:54 |
giovani | I can make recommendations on what tools/methods best suit each task | 17:54 |
AdamDV2 | I have a problem | 17:54 |
AdamDV2 | I'm running A Linode VPS, with Ubuntu Jaunty 64-bit | 17:54 |
AdamDV2 | I tried doing a: | 17:54 |
AdamDV2 | sudo apt-get install sun-java5-jre | 17:54 |
AdamDV2 | But get this: | 17:54 |
benc1 | my system consist of several django websites served using apache/mod_wsgi talking to an XMPP server all behind an nginx proxy | 17:55 |
AdamDV2 | E: Package sun-java5-jre has no installation candidate | 17:55 |
fullmetalj | i gust ask if you run mail server | 17:55 |
AdamDV2 | Anyone know whats wrong? | 17:55 |
giovani | AdamDV2: I believe you need to enable the restricted repositories | 17:56 |
giovani | java is non-free | 17:56 |
AdamDV2 | Hmm | 17:56 |
AdamDV2 | Heres my /etc/apt/source.list | 17:56 |
AdamDV2 | It seems a bit odd. | 17:56 |
AdamDV2 | giovani: http://go-techo.com/sources.list | 17:57 |
Nafallo | sun-java5-jre | 1.5.0-18-1 | http://archive.ubuntu.com jaunty/multiverse Packages | 17:57 |
AdamDV2 | Any ideas? | 17:58 |
giovani | ok, then it's in multiverse :) | 17:58 |
giovani | so enable that | 17:58 |
AdamDV2 | HOw? | 17:59 |
AdamDV2 | Theres no line :D | 17:59 |
giovani | you add multiverse | 17:59 |
giovani | onto the end of a line | 17:59 |
AdamDV2 | AH, ok. | 17:59 |
giovani | btw, multiverse is the non-free section | 17:59 |
Nafallo | for universe | 17:59 |
giovani | yeah | 17:59 |
Nafallo | (we have two) | 18:00 |
giovani | that's clear now :) | 18:00 |
AdamDV2 | Well, I don't mind not using free software. | 18:00 |
AdamDV2 | I prefer it, but don't require it | 18:00 |
giovani | AdamDV2: right, which is why non-free software is provided, but separate from the other packages | 18:00 |
axisys | ivoks: changed the mirror http://pastebin.com/f5eec8000 .. still getting same no new release found http://pastebin.com/f28a2cd25 | 18:00 |
AdamDV2 | Ok | 18:01 |
AdamDV2 | Trying o install again | 18:01 |
AdamDV2 | (after an apt-get update) | 18:01 |
giovani | axisys: you're trying to use an old version of ubuntu? | 18:01 |
ivoks | axisys: did you update and dist-upgrade? | 18:01 |
AdamDV2 | There we go! | 18:01 |
AdamDV2 | Thanks | 18:01 |
Nafallo | axisys: ah. so that was the problem. well. your previous errors seems to suggest you are unable to talk to Canonical's data centre, which is where the files to check for new versions reside | 18:02 |
giovani | http://old-releases.ubuntu.com/ubuntu | 18:02 |
giovani | is the repo for old releases | 18:02 |
axisys | giovani: i am trying to upgrade from hardy to a higher release | 18:03 |
giovani | ah | 18:03 |
ivoks | axisys: dist-upgrade? | 18:03 |
Nafallo | ivoks: as I said... with no route to the Canonical data centre, dist-upgrade's check won't work. | 18:04 |
ivoks | ah | 18:04 |
axisys | ivoks: http://pastebin.com/f71f9d79c | 18:04 |
giovani | his internets is broken | 18:04 |
ivoks | axisys: do you have proxy you could use? | 18:04 |
axisys | giovani: http://pastebin.com/f28a2cd25 this does not suggest so | 18:05 |
ivoks | axisys: notice that i said dist-upgrade :) | 18:05 |
ivoks | but that won't fix the problem | 18:05 |
ivoks | you need proxy | 18:05 |
giovani | axisys: so if it works, what's the problem? | 18:05 |
axisys | ivoks: i did try dist-upgrade | 18:05 |
axisys | giovani: it says no new release found | 18:06 |
giovani | you're on hardy now? | 18:06 |
axisys | giovani: yes | 18:06 |
giovani | ... | 18:06 |
giovani | wtf | 18:06 |
Nafallo | oh. dist-upgrade... that should work, but isn't it do-release-upgrade that's wanted? | 18:06 |
giovani | then you need to put something NEWER than hardy | 18:06 |
giovani | in your sources.list | 18:06 |
ivoks | giovani: no | 18:06 |
giovani | clearly it can't dist-upgrade to itself | 18:06 |
Nafallo | oh wait. | 18:06 |
Nafallo | this makes sense. | 18:07 |
ivoks | dist-upgrade isn't for upgrading between distributions | 18:07 |
Nafallo | hmm | 18:07 |
ivoks | in ubuntu, at least | 18:07 |
giovani | dist-upgrade is for upgrading between major revisions | 18:07 |
ivoks | of debian | 18:07 |
axisys | yes dist-upgrade is not to upgrade to new release.. do-release-upgrade is | 18:07 |
Nafallo | axisys: grep ^Prompt /etc/update-manager/release-upgrades | 18:07 |
ivoks | correct | 18:07 |
axisys | Nafallo: normal | 18:08 |
ivoks | Nafallo: that's been handeld :) | 18:08 |
axisys | :-) | 18:08 |
Nafallo | hm. oki. so it's down to the routing then I'd say. | 18:08 |
axisys | Nafallo: i dont get any routng error | 18:08 |
ivoks | well, one way we could really find out where the problem is... | 18:08 |
axisys | Nafallo: it says no new rlease found | 18:08 |
ivoks | is to start python shell | 18:08 |
ivoks | and then run do-release-upgrade in it | 18:08 |
axisys | ivoks: i am listening | 18:08 |
Nafallo | axisys: could you pastebin mtr -rn security.ubuntu.com for us please? | 18:08 |
axisys | Nafallo: i am not using it | 18:09 |
axisys | Nafallo: security.ubuntu.com that is | 18:09 |
Nafallo | axisys: that wasn't my questio | 18:09 |
axisys | Nafallo: i know .. but just an fyi | 18:09 |
Nafallo | axisys: I'm more interested in seeing that you can reach the data centre :-) | 18:09 |
ivoks | i wouldn't paste that info, if i was you | 18:09 |
ivoks | :] | 18:10 |
axisys | ivoks: i am on python | 18:10 |
axisys | python calls the python shell .. correct? | 18:10 |
ivoks | yes | 18:10 |
axisys | ivoks: and now run do-release-upgrade in it? | 18:10 |
ivoks | python -vv /usr/bin/do-release-upgrade | 18:11 |
axisys | ivoks: http://pastebin.com/f721042ba | 18:12 |
ivoks | so, everything is find with libraries | 18:14 |
ivoks | fine | 18:14 |
Nafallo | DEBUG = os.environ.has_key("DEBUG_UPDATE_MANAGER") | 18:15 |
Nafallo | http://changelogs.ubuntu.com/meta-release | 18:15 |
Nafallo | try reaching that URL | 18:15 |
ivoks | right | 18:15 |
RoAkSoAx | ivoks, is there any howto on how to package with dkms? | 18:15 |
ivoks | RoAkSoAx: not really | 18:15 |
ivoks | RoAkSoAx: you need to know how to package and how to use dkms and put that together | 18:16 |
RoAkSoAx | ivoks, ok i'll start on the how to package :) | 18:16 |
ivoks | you need dkms? | 18:17 |
axisys | Nafallo: i cannot reach the changelogs | 18:17 |
ivoks | that's your problem | 18:17 |
ivoks | Nafallo: good catch ;) | 18:17 |
RoAkSoAx | ivoks, I don't know actually... since you told me that it would be better to package a kernel module with dkms | 18:17 |
axisys | ivoks: hmm | 18:17 |
Nafallo | ivoks: I did say that a while ago as well... | 18:17 |
axisys | Nafallo: thanks man | 18:17 |
axisys | Nafallo: :-) | 18:18 |
ivoks | RoAkSoAx: i haven't said that... i was talking about drbd | 18:18 |
Nafallo | axisys: no worries. now sort out your routing to Canonical's data centres ;-) | 18:18 |
RoAkSoAx | ivoks, when I asked you how to package layer7switching, which contains a kernel module and userspace tools, you told me to take a look to dkms to package it with it | 18:19 |
ivoks | RoAkSoAx: ah, that... note to RoAkSoAx: I haven't looked at layer7switching; maybe it's a patch for iptables, as l7-filter | 18:19 |
ivoks | so then dkms is useless | 18:19 |
axisys | i do have ssh access to another server which has access to changelogs.. this other server is jaunty ubuntu server | 18:20 |
ivoks | then make a tunnel | 18:20 |
Nafallo | dynamic socks proxys ftw :-) | 18:20 |
axisys | do I need to change the mirror ? | 18:20 |
axisys | or there is a switch ? | 18:20 |
axisys | once the tunnel is established that is | 18:21 |
ivoks | there are no swtiches on servers | 18:21 |
RoAkSoAx | ivoks, ok, I'll take a look at it and seek your help when needed :). Btw... can I still work with missing dependencies and FTBFS after this 25 of June (DIF)? | 18:21 |
axisys | so i need to change the sources list ? | 18:21 |
Nafallo | I would set up a redirect directly to changelogs.ubuntu.com:80 in ssh and then tell hosts that changelogs.ubuntu.com is at 127.0.0.1:80 or so :-) | 18:21 |
axisys | how do I tell do-release-upgrade to use the tunnel ? | 18:21 |
ivoks | Nafallo: that's another idea | 18:22 |
axisys | Nafallo: how do I tell changelogs that 127.0.0.1 ? hosts file ? | 18:22 |
Nafallo | axisys: /etc/hosts | 18:22 |
axisys | Nafallo: ok .. thnx | 18:22 |
ivoks | so you tell it that changelogs is that other ubuntu server | 18:22 |
ivoks | and on that other ubuntu server create web server that serves that domain :) | 18:23 |
Nafallo | hmm. that's not how I would do it doh :-) | 18:23 |
ivoks | and it only proxies to reall changelos.ubuntu.com | 18:23 |
Nafallo | thou even | 18:23 |
Nafallo | ssh -L 80:changelogs.ubuntu.com:80 otherserver | 18:24 |
Nafallo | that should make 127.0.0.1:80 changelogs.ubuntu.com | 18:25 |
axisys | lynx http://127.0.0.1/meta-release works | 18:26 |
axisys | now what ? | 18:26 |
Nafallo | axisys: done the hosts thing? | 18:26 |
Nafallo | axisys: if so, try if you can go to http://changelogs.ubuntu.com/meta-release | 18:27 |
axisys | 127.0.1.1 changelogs.ubuntu.com | 18:27 |
axisys | Nafallo: http://pastebin.com/f77a0d7a7 | 18:28 |
axisys | Nafallo: i wonder if lynx read hosts file | 18:28 |
Nafallo | and if not, change 1.1 to 0.1 in /etc/hosts | 18:28 |
axisys | /etc/hosts file that is | 18:28 |
axisys | there we go! | 18:29 |
Nafallo | good. do-release-upgrade should work better now | 18:29 |
axisys | Nafallo: it is !! | 18:29 |
axisys | Checking for a new ubuntu release | 18:29 |
axisys | Failed Upgrade tool signature 0% [Working] | 18:29 |
Nafallo | hmm. that's should be something else. | 18:30 |
axisys | http://pastebin.com/f5a33c4ce | 18:30 |
ivoks | hehe | 18:31 |
ivoks | go to /tmp | 18:31 |
Nafallo | ohhaha | 18:31 |
Nafallo | it hardcodes a.u.c :-P | 18:31 |
Nafallo | nice | 18:31 |
ivoks | yeah | 18:31 |
ivoks | take care.. | 18:33 |
axisys | http://pastebin.com/f644b9b82 | 18:34 |
axisys | dont see any .gz file there | 18:34 |
axisys | Nafallo: whats a.u.c ? | 18:36 |
Nafallo | axisys: grep intrepid /tmp/tmp* | 18:36 |
Nafallo | axisys: archive.ubuntu.com | 18:36 |
axisys | Nafallo: absolutely nothing | 18:37 |
Nafallo | oh. of course not. | 18:37 |
Nafallo | axisys: sudo grep intrepid /tmp/tmp* | 18:37 |
axisys | Nafallo: same :-( | 18:38 |
axisys | Nafallo: i wonder if we can run it in verbose to see where it puts it.. or even strace ? | 18:39 |
Nafallo | hmm. how helpful. | 18:39 |
axisys | stat64("/tmp/tmpuVeBRG/intrepid.tar.gz", 0xbfe7d578) = -1 ENOENT (No such file or directory) | 18:40 |
Nafallo | oh right. they are directories... | 18:40 |
Nafallo | doh | 18:40 |
axisys | i ran do-release-upgrade as root | 18:40 |
axisys | it did create the /tmp/tmpuVeBRG dir | 18:41 |
Nafallo | and probably different dirs each time it runs :-) | 18:41 |
axisys | Nafallo: yes | 18:42 |
axisys | /tmp/tmpXXXXXX 6Xs ..using dynamic .. like perl's File::Temp | 18:43 |
axisys | anyways .. what do u suggest now | 18:43 |
axisys | is there any article on how to do the upgrade through proxy? | 18:43 |
Nafallo | let me try something | 18:43 |
axisys | Nafallo: you have been very helpful man.. appreciate it! | 18:44 |
Nafallo | axisys: right. you simply want 146.137.96.15 archive.ubuntu.com | 18:46 |
Nafallo | in your /etc/hosts next | 18:46 |
Nafallo | that should point archive.ubuntu.com to mirror.anl.gov locally | 18:46 |
Nafallo | hopefully that make things work | 18:48 |
axisys | Nafallo: i am using http_proxy instead of editing the hosts file now.. it allow me to lynx to changelogs | 18:49 |
axisys | let me edit the hosts file to add your entries | 18:49 |
Nafallo | axisys: oki | 18:51 |
axisys | stat64("/tmp/tmpVdPWsq/intrepid.tar.gz", 0xbff92668) = -1 ENOENT (No such file or directory) | 18:52 |
axisys | same error | 18:52 |
axisys | read(3, "400 URI Failure\nURI: http://arch"..., 64000) = 329 | 18:52 |
Nafallo | http://archive.ubuntu.com/ubuntu/dists/intrepid-proposed/main/dist-upgrader-all/0.93.34/intrepid.tar.gz | 18:53 |
Nafallo | does that work? | 18:53 |
axisys | Nafallo: 404 | 18:55 |
Nafallo | hmm. did you edit the host file to include the entry for archive.ubuntu.com ? | 18:55 |
axisys | http://pastebin.com/d144645c | 18:56 |
axisys | Nafallo: yes | 18:57 |
Nafallo | yeah, that's not correct. | 18:57 |
Nafallo | 146.137.96.15 archive.ubuntu.com | 18:57 |
Nafallo | not 127.0.0.1 | 18:57 |
axisys | Nafallo: let me remove the http_proxy | 18:57 |
axisys | Nafallo: that was it .. i can wget now | 18:57 |
Nafallo | then you should be able to do do_release_upgrade as well | 18:58 |
axisys | Nafallo: working now | 18:59 |
Nafallo | yay | 18:59 |
axisys | wow!!! | 18:59 |
axisys | Nafallo: u da man!! | 18:59 |
Nafallo | just remember to remove the hackz afterwards :-) | 18:59 |
axisys | Nafallo: yep :-) , the tunnel and hosts file | 18:59 |
Nafallo | kewl :-) | 18:59 |
axisys | Nafallo: now i need to setup a permanent proxy for this guy | 19:00 |
axisys | Nafallo: so i never have to do it again | 19:00 |
Nafallo | hehe | 19:00 |
Nafallo | better yet. route all of the /20 through that other server? :-) | 19:01 |
axisys | Nafallo: u have been super helpful .. thanks a lot again | 19:01 |
Nafallo | no worries :-) | 19:01 |
Nafallo | oh. /21, not /20 :-) | 19:01 |
axisys | that changelogs.ubuntu.com ? | 19:02 |
axisys | route add x.x.x.x/21 gw proxyhostip ? | 19:03 |
Nafallo | that's the full Canonical IP range | 19:04 |
Nafallo | 91.189.88.0/21 | 19:04 |
axisys | Nafallo: thanks | 19:07 |
axisys | route add 91.189.88.0/21 gw proxyip .. would be the correct syntax . correct ? | 19:07 |
Nafallo | I guess | 19:07 |
axisys | Nafallo: thanks a lot | 19:07 |
Nafallo | ages since I used route :-) | 19:07 |
AdamDV2 | WHOOOOOO!!!! | 19:39 |
PleXs | bah | 19:40 |
fullmetalj | any one run mail server pop 3 smtp | 19:43 |
fullmetalj | or can help me do mail server | 19:43 |
AdamDV2 | fullmetalj: I can | 19:46 |
AdamDV2 | Do you need a mailserver? | 19:46 |
PleXs | I need Usb support in my Kvm :S | 19:47 |
PleXs | Usb Printer support | 19:47 |
PleXs | :) | 19:47 |
PleXs | but there seems to be no Sollution :( | 19:48 |
AdamDV2 | fullmetalj: You there? | 20:37 |
=== Sindacious_ is now known as Sindacious | ||
orogor | hi here | 23:20 |
orogor | is there a guide on how to setup a wifi access pouint with wpa ? | 23:21 |
orogor | there s a tutorial on how to setup acceess point , but it doesn t talk abnywhere about securing it | 23:21 |
giovani | google has too many to count | 23:21 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!