=== mac9416 is now known as WinstonChruchill === WinstonChruchill is now known as mac9416 === mac9416 is now known as Churchill === Churchill is now known as JeffFoxworthy [00:25] i know netselect and apt-spy are not official ubuntu-server programs. is there a preferred way for finding a good mirror from the console? === JeffFoxworthy is now known as mac9416 [00:30] slestak: if an "official" solution to that situation existed ... then there probably wouldn't be other apps to do it [00:30] use either of those ... or select one at random [00:32] Hi all, im new to servers.. I registered www.custom-quiz.com and pointed it to my IP (ubuntu box with apache/etc), my friend says he can't connect to it through http://custom-quiz.com OR http://205.206.131.93 , can anyone tell me if either of these work for them? [00:33] giovani: thx, i prefer to stay with blessed tools, just wanted to ask. [00:33] Bytewalker: nope ... port 80 at that IP isn't open [00:34] well, technically it's "filtered" ... but there's no service responding on that port [00:35] giovani: really weird.. my computer in the other room is on a diff IP (205.206.131.92 (one below)) and it can connect to custom-quiz.com and it works, any ideas? [00:35] Bytewalker: uh ... probably a filter [00:35] given that the IP is filtered [00:36] is this a residential IP? [00:36] Hmm, this computer isnt connected to a router at all.. what could be filtering it [00:36] many residential ISPs filter port 80 [00:36] at their router [00:36] yeah im connected through telus ADSL.. it gives me 2 IPs [00:37] if your computers are both connected over a switch/hub, then you wouldn't be accessing computer number 2 through Telus' router [00:37] hence why computer 1 would be able to access port 80 on computer 2, but not anyone else on the internet [00:37] i have a main hub (one line to server, one to a router) and my other comp is behind router [00:37] yes [00:37] omg thanx, makes sense [00:37] Telus is filtering port 80 for you [00:37] try moving your web server to port 81 [00:37] to test this theory out [00:38] or some other random port [00:38] and then try to access it this way: http://205.206.131.93:81/ [00:38] ok. will http:// look at port 81 too by default? [00:38] nope [00:38] doh [00:38] only 80 [00:38] lol.. just wondering why my isp would filter port 80 [00:38] they dont want me to host? [00:38] of course not [00:38] most residential ISPs do this now [00:39] they see "hosting" as a non-residential use of the connection [00:39] but bittorrent is ok i guess... lol.. [00:39] nope, they're making efforts to block that too [00:39] it's just much much harder [00:39] ok wel thanks dude, i'm gonna try port 81 rly quick [00:39] or mabey call telus and bitch? [00:40] nope [00:43] any hint on moving apache to port 81 would be mucho appreciated:) plus.. do isps block any other ports? [00:55] Bytewalker: depends entirely on the ISP [00:56] look in /etc/apache2/httpd.conf [00:56] giovani: im gonna try 8080 and mabey you can test it after :D, they mighta blocked that too though im guessing [00:56] very possible [00:57] as for how to change the port: http://httpd.apache.org/docs/2.2/mod/mpm_common.html#listen [00:57] documentation is plentiful -- please make an attempt to look those things up first === Bytewalkr is now known as Bytewalker [01:36] hello, anyone around? [01:37] I have an issue transitioning from http to https access... I'm using svn as a test. [03:03] hello all [03:04] anyone here that could help me with setting up a mail server? [03:09] !anyone [03:09] 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? [03:10] will someone review my zonefile and tell me if it looks good for mail? === jcastro_ is now known as jcastro [06:55] Hello [06:55] why does this happen?, $ ls [06:55] znc-0.068 znc-0.068.tar.gz [06:55] $ ^[[A [06:57] i get the ^[[A when i press up... [07:03] FFForever, sounds like you created a new user and didnt set the default shell to bash [07:03] FFForever, to test, try this: $ bash [07:03] ls -l [07:03] then press up [07:04] foxbuntu, whoops, how do i set it? [07:06] try `echo $SHELL` - bash returns /bin/bash [07:07] FFForever, sudo nano /etc/passwd [07:07] FFForever, then you can find your user and set the end of the line to /bin/bash [07:08] I'd recommend `chsh` personally [07:08] i like bash :D [07:08] foxbuntu, it was /bin/sh [07:08] FFForever, that should do it, log out and back in to verify [07:09] foxbuntu, how hard would it be to upgrade from 8.10 to 9.04? [07:09] FFForever, depends on your hardware [07:09] but should be easy nuff [07:09] its a vps [07:09] FFForever, sudo do-release-upgrade [07:09] FFForever, oh then it should be no big deal [07:10] FFForever, actually, do it this way [07:10] sudo apt-get update && sudo do-release-upgrade [07:11] foxbuntu, how do i add my user to the admin group [07:12] FFForever, sudo usermod -a -G root [07:12] hello people [07:12] * foxbuntu hides from wizardslovak [07:13] FFForever: i did update without any problems [07:16] foxbuntu, root@chr1831:/home/chris# usermod -a -G chris chris like that? [07:17] whoops i am already in chris... [07:18] sudo: do-release-upgrade: command not found [07:18] try do-release-upgrade [07:18] myne worked without sudo [07:19] wizardslovak, it requires sudo [07:19] FFForever, yeah... and there is indeed an admin group so [07:19] lol [07:19] foxbuntu, not for me :D [07:19] no admin group... [07:20] i might be su then [07:20] FFForever, switch to your first user [07:20] FFForever, you can also just edit the conf [07:20] i did :D [07:20] FFForever, sudo nano /etc/groups [07:21] oops [07:21] FFForever, sudo nano /etc/group [07:21] anyways..., how do i upgrade? [07:21] sudo do-release-upgrade should work [07:22] nope... [07:22] did you log out after changing your groups? [07:22] didn't change it... [07:22] there we no admin groupd lol [07:22] FFForever, what version of ubuntu server are you running? whats the output of `groups`? [07:22] adm? [07:22] are you in shared hosting, or your own host? [07:23] 8.10 from what i am told... [07:23] well according to the ubuntu64 tar.gz file :D [07:23] FFForever, lsb_release -a [07:24] chris@chr1831:~$ lsb_release -a [07:24] No LSB modules are available. [07:24] Distributor ID: Ubuntu [07:24] Description: Ubuntu 8.10 [07:24] Release: 8.10 [07:24] Codename: intrepid [07:24] indeed it is 8.10 [07:24] stripped :D [07:25] what about your groups? [07:25] FFForever, check for the group called "adm" [07:25] my ubuntu is only 605mb [07:25] so? [07:25] shouldn't it be bigger? [07:25] that sounds about normal for server [07:25] centos was 2gb =\ [07:26] 2gb on a 6gb vps sucks... LOL! [07:26] heck, with Mythbuntu we are still inside a CD [07:26] and there is allot more there than server default install [07:26] anyone in here setup ubuntu + suphp? [07:31] hi [07:32] someone talk in spanish? [07:38] i know that ubuntu comunity is expert talking in english, but i not good talking tecnique terms in english [07:41] any idea why i get this?, Internal Server Error [07:41] File "/home/chris/public_html/index.php" is not in document root of Vhost "/var/www/" [07:42] Bhagavat, I believe there is a spanish channel #ubuntu-es iirc [07:42] well i wole like activate a new ubuntu server, but i have cuestions about the technical specifications of my machine [07:43] thanks foxbuntu [07:43] FFForever, sounds like you need to update your vhost (google apache vhost for specifics) /etc/apache2/sites-enabled/default is the file you need to edit [07:44] foxbuntu, how do i find out what uid 1 is? [07:45] i mean 33 [07:45] =\, chris:x:1000:1000::/home/chris:/bin/bash.... i modded the dir with chown chris:chris /blah/index.php shouldn't it be 1000:1000 then? [07:46] www-data:x:33:33:www-data:/var/www:/bin/sh.......... why is it launching as www-data... [07:46] FFForever, no [07:46] FFForever, you need to include more details in what your talking about [07:46] FFForever, uh... [07:46] i was writing the files as root... [07:46] i am trying to setup suphp :D [07:46] http://vps.chr1831.com/~chris/ [07:46] FFForever, because apache runs under www-data [07:47] what is it? whats it do? why does it need to access particular files? what did you do to create those errors? etc etc etc [07:47] Kamping_Kaiser, thanks [07:47] * foxbuntu felt like a fog was setting in [07:47] ;) [07:47] foxbuntu, so the file is owned by www-data? [07:47] foxbuntu, ;) [07:48] FFForever, stop saying "the file" or "the directory". *what* file? *what* directory? [07:48] * Kamping_Kaiser still isnt sure whats *broken* [07:48] /home/chris/public_html and its index.php [07:48] how did you try and access it? [07:48] via userdir [07:48] wait i know why......... [07:50] fixed the miss matched uids... now i get this Could not execute script "/home/chris/public_html/index.php" [07:50] foxbuntu, there must be a 'give us useful info' factoid, but no idea what it is :( [07:50] do i need to have +ExecCGI on the vhost? [07:50] no [07:50] what gave you that error? [07:51] trying to browse my index.php =\ [07:51] i have error to browser to true [07:51] Kamping_Kaiser, I don't know what it is on ubottu [07:52] suphp.log says [Sat May 09 06:51:37 2009] [info] Executing "/home/chris/public_html/index.php" as UID 1000, GID 1000 [07:52] * Kamping_Kaiser wonders why its executing [07:53] FFForever, http://www.suphp.org/Home.html is this what your playign with? [07:53] nothing in the error log =\ [07:53] Kamping_Kaiser, yeah [07:53] i compiled from source [07:53] why on earth are you using that?' [07:54] Kamping_Kaiser, to make php run as the user :) [07:54] suPHP is a tool for executing PHP scripts with the permissions of their owners. It consists of an Apache module (mod_suphp) and a setuid root binary (suphp) that is called by the Apache module to change the uid of the process executing the PHP interpreter. [07:54] my god that sounds bad ;S [07:54] why? [07:55] Kamping_Kaiser, how would you suggest i run php as the user? [07:55] FFForever, for a start - why do you want to? [07:55] because its better for security when doing hosting.. [07:56] FFForever, and it sounds bad, because your putting one of the most abused languages onto your system, with control of a suid binary. [07:56] if its going via suid , its not more secure then anything.... imho, of course [07:57] php is not that bad... [07:58] * Kamping_Kaiser laughs [07:58] wanna rewrite my site in python then? [07:59] half a minute, let me put on my caring face... [07:59] speaking of python *goes to get his laptop and work on a website* [08:01] what ports should i open?? [08:01] besides 80 [08:03] 99999999999 [08:03] :D [08:04] wizardslovak, depends which ports you need to use. [08:06] well i am trying to setup ufw [08:06] i am using browser,ssh [08:06] ssh is 22 ,right? [08:07] yes [08:07] thats should be it [08:07] hmmm basically two lol [08:09] also https should be good [08:09] 443 if i am not mistaken [08:21] how to unzip .zip? [08:24] unzip file [08:31] hmmm i cannot find Gtk2 [08:37] not a problem on servers ;) [08:38] sorry [08:38] i though ti am on kubuntu chat [08:53] I just found out that my maillog files are not rotated as they should... I have 'monthly' specified in the logrotate.conf, but they still get rotated daily [08:53] on Hardy [09:03] hi all. my server's mobo just fried and I just put a new one in with it. It no longer connects to my network. Any ideas? [09:07] reid, onboard ethernet? [09:07] !z25 [09:07] Sorry, I don't know anything about z25 [09:07] bah. [09:07] dpkg does :o [09:07] reid, As of version 0.090, udev has the ability to statically rename ethernet cards based on MAC address. The addresses are configured in /etc/udev/rules.d/z25_persistent-net.rules . If you want the mappings to change, edit that file. See . As of version 0.124-1 the file is called /etc/udev/rules.d/70-persistent-net.rules [09:07] reid, the file name might be slightly different, but the idea is the same ;) [09:07] * Kamping_Kaiser -> afk [09:12] good night people === jussi01 is now known as Tuhina === Tuhina is now known as jussi01 [12:09] I'm looking for the location mysql saves my databases in [12:16] cumulus007, /var/lib iirc [12:18] and then? [12:18] never mind ;) [12:24] is it common for mailserver to refuse to relay mail from users on a mailserver that isn't encrypted, or one that uses self-signed certificates? [14:03] hey does anyone know when your growing a raid 5 software array and the computer fails. does it break the array === MohammadBoozary is now known as Mohammad[B] [14:28] hallo === asac_ is now known as asac [14:40] some mysql guy around ? [14:44] Hey all, question... i've installed ubuntu server 32-bit v9.04 on my machine, but it's just a flat install. i need to install the materials required for remote login (since i just want a power cord and a network cable plugged into the tower) and a webserver. My admin also needs remote access, and all that good stuff. Can i ask where i go now? [14:45] i know that, sometimes, the order of operations for a server is important... didn't want to start anything without more knowledge lest i foul something up [14:48] i've foudn this, is it a good source of info? http://www.howtoforge.com/perfect-server-ubuntu-9.04-ispconfig-2 [14:50] LoreCaster: Have you looked at the Ubuntu server guide? https://help.ubuntu.com/9.04/serverguide/C/index.html [14:51] i've never had much luck with these, is it a step-by-step how-to for my needs? [14:53] i've NEVER seen such a comprehensive resource!! thanks so much! :D [16:15] Nafallo: pong [16:16] Nafallo: i was on holiday yesterday :-) [16:16] can anyone help me with im having a problem with start a xen virtual machine [16:24] hey all [16:25] anyone here use xen server [16:25] NativeAngels: you might want to try #xen ... that's what it's there for [16:34] Hello [16:35] ok [16:35] Anyone know anything about suphp?, i am trying to set it up but i get an error that says it cannot execute the script "..../index.php" =\ [16:37] 500 internal server error, Could not execute script "/home/chris/public_html/index.php" to be exact.... [16:58] morning people === jussi01 is now known as tuhina [17:11] mornin [17:12] can anyone help with the suphp?, plz lol [18:49] i am going to install my new server, but its in the garage, can i pxe boot it and ssh in somehow? [18:52] kirkland: did you change something in the screen madness that steals my alt+pgup/pgdown? [18:52] kirkland: where 'alt' = 'shift'... ;-) [18:53] 16:25 < NativeAngels> anyone here use xen server [18:53] ehrm [18:53] * Nafallo blames weird Xorg === tuhina is now known as jussi01 [19:26] can i ban running passwd via sudo and disable sudo -i? [19:26] (for 1 user) [19:31] FFForever: certainly for denying passwd access [19:32] did you read the sudoers manpage? [19:32] you can deny all access to passwd, or prevent just access to changing the root password [19:32] using some basic expressions [19:32] what about the -i option? [19:33] I don't believe so, it doesn't really accomplish anything special though, so I'm unclear on why you want to ban its use [19:36] you can ban access to the shell [19:36] or don't give the root user a shell [19:37] how do i remove the shell from root? [19:37] sudo usermod -s /bin/false root [19:40] ahhh cool :D [19:40] /bin/false is just a non-existant shell [19:40] it's not a special name [19:40] it could be /bin/doesntexist [19:45] how can i get cupsys to recieve jobs like lprng does? I need to add queues like I did in my /etc/printcap file but I cant see how with cupsys [19:47] can anyone here help me with xen setup [19:49] NativeAngels: I've recommended you visit #xen [19:52] wow jaunty recognised my sata raid and did the mirroring, but i don't see any mdadm [19:55] if you have a "raid card" then you shouldn't be running md [19:55] no its not real raid [19:55] heh, then let's not call it a raid card :) [19:55] /dev/mapper/isw_bdgaggad_Vol07 [19:56] it created those mappings [19:56] ok [19:56] ps aux | grep -i md returns what? [19:56] krfcommd [19:56] that's it? [19:56] yes [19:57] i don't see mdadm [19:57] well mdadm isn't the daemon [19:58] well you can normall see something running that is monitoring the raid array [20:00] well as long as the raid is setup and running, what's the problem? [20:23] Is anyone in here familiar with linux advanced routing and filters on the PRIO queing discipline, the filters I am applying are not being used the way I like => http://pastebin.com/m46e44c4e [20:34] can you use sun virtualbox from ubuntu server edition [20:35] NativeAngels: sure ... [20:36] my view of VirtualBox is that it's more of a desktop virtualization product [20:36] but it's possible it has some non-gui interface I don't know of [20:37] I honestly don't know why anyone with a modern cpu would want to use virtualbox [20:37] linux kvm ftw [20:47] It looks as though libvirt support for VirtualBox is almost there, so I'd think vmbuilder support could follow? http://article.gmane.org/gmane.comp.emulators.libvirt/12872 [20:51] New bug: #311968 in dhcp3 (main) "DHCP very slow and unreliable" [Undecided,New] https://launchpad.net/bugs/311968 [20:55] hmm my nic bonding module options don't work anymore [20:58] Hello guys. Where I can find documentation to configure an ubuntu LTS server? I went to the helpt pages of ubuntu community but it wasn't helpufl [20:58] guiss: what do you need to install [20:59] http://www.howtoforge.com/perfect-server-ubuntu8.04-lts [20:59] wizardslovak: I want to install a terminal server, I did the lstp-server installation and configuration of dhpc but the thin client hangs on login [21:02] oops, my mistake. Linux Terminal Server :) not Long Term Support [21:03] guiss: Did you read and try ideas from https://help.ubuntu.com/community/UbuntuLTSP/ClientTroubleshooting [21:04] I want to bring up my bond0 interface with no ip config so i can then bridge it [21:04] i don't see an option for no config [21:06] incorrect: are you asking how to enable bond0 without an IP address? [21:07] yes [21:07] did you try ifconfig bond0 up? [21:08] or ip link set bond0 up [21:08] * Nafallo thinks the bond0 device is on vlan 007 [21:10] jetole, so what about running all the scripts to recreate the interface? [21:11] incorrect: don't know what you just asked me now but you asked how to enable a device without assigning an IP address to it [21:11] I want to create an energy efficient media streaming server /nas, I thought maybe installing ubuntu server to somethign such as a flash drive would help. Is this a good idea or no? [21:11] jetole, with the other info was in interfaces [21:12] still not sure what you just asked [21:12] you know what the interfaces file is? [21:13] /etc/network/interfaces? [21:13] android6011: You could do that... have you tried FreeNAS http://www.freenas.org/ ? [21:13] thats my guess [21:13] jmarsden: im looking to also have a mythtv backend so linux is my best bet [21:15] I thought maybe webmin would also help simplify maintenance if anyone has any experience with it [21:15] webmin is for people who don't know how to setup a system and want to risk breaking it at the gleam of a point and click interface [21:16] webmin is not something I would ever recommend to anyone [21:16] it doesn't know all the details about which version of what you have installed and tends to make some bad mistakes [21:16] thats too bad, well there is always ssh [21:16] best bet for simplifying maintenance is to know how to maintain it [21:17] yeah, ssh is a great tool [21:17] one I have used for over a decade [21:18] puppetmaster and cfengine are also great when it comes to distributed maintnance but you can't put a GUI in front of something and hope it makes it easiar unless you really understand how the gui works [21:18] ya [21:18] and if you are using webmin then you probably don't in the first place [21:19] also, because this is just a home streaming server, i would like for it to go into some power saving mode and wake up if something tries to access it over ethernet, will i specifically need wake on lan or does say sleep mode cover that [21:19] sorry to sound crass but linux server admin has been my job for a long time [21:19] heh ya [21:20] well sleep mode and wake on lan can work together however I don't think the kernel in ubuntu server supports sleep mode [21:20] it shouldn't since it's for a server [21:20] ya thats what i figured [21:20] look into using the desktop version [21:21] ya i was thinking about doing the desktop and just dissabling x but I don't like the idea of having all the extra overhead [21:21] they both use the same package repo i.e. same packages for both but the big diff is how the kernel is setup [21:21] what extra overhead? [21:22] update-rc -f gdm remove [21:22] X no longer starts [21:22] you can also install a server and then install the desktop kernel [21:22] just like all the extra packages installed by default etc [21:23] is there a minimal install disk like there is with debian? [21:24] I don't know but I have never seen it [21:24] I don't think so [21:24] install the server, then do an => apt-get install linux-image-generic [21:25] then set the generic kernel inside /boot/grub/menu.lst [21:25] wouldnt apt add it to menu.lst by default? [21:25] it might but I don't know if it will become the default [21:25] double check [21:26] also, even though the kernel supports it, I don't know if sleep will be enabled by default [21:27] you would probably have to read into that [21:27] I know on desktop edition it's not [21:27] it has to be told to but I have never set it up since I ssh into my machines [21:28] actually, wake on lan would work for a few but I have never looked into it [21:29] ya, i just dont want to have to manually tell the machine to wake up [21:30] then don't put it to sleep [21:32] jetole, the answer is 'manual' [21:32] or inet manual [21:33] incorrect: I don't know what your question was to begin with but you can do just about anything with manual mode or you can even skip interfaces entirely and write your own startup script [21:34] nevermind then [21:35] did I sound concerned? [21:35] sorry if I did [21:35] hmm i wonder what created virbr0 [21:35] libvirt [21:36] /etc/init.d/libvirt-bin [21:44] thanks === RoAk is now known as RoAkSoAx [22:10] Nafallo: hmm, no, not that I know of ... [22:11] Nafallo: shift-pgup & shift-pgdown should be trapped by gnome-terminal, or whatever, and will scroll back in its buffer [22:11] Nafallo: for proper scrollback on a per-window basis in screen itself, use F7 [22:13] kirkland: well. my issue is that the screen doesn't scroll up in the current screen window anymore, but rather scroll to the previous one. [22:13] kirkland: this is HIGHLY suboptimal when you want to check switch configs for example. [22:14] Nafallo: huh? [22:14] Nafallo: i don't understand [22:15] kirkland: might be easier if we find each other on allhands? :-) [22:15] Nafallo: :-) sure [22:15] Nafallo: so shift-pgup is switching among your tabs in gnome terminal? [22:16] kirkland: terminator [22:16] Nafallo: or is it doing what f3-f4 are suppose to do? [22:17] kirkland: no. it's weirder than f3-f4, it's like it's scrolling back in it's buffer (as it should) but instead of scrolling a screen at a time it's scrolling back between windows (which should be what you call tabs) [22:17] kirkland: get a few windows and then output lots of content in the last one (cat or whatever), then try shift+pgup :-) [22:18] ehrm [22:18] actually. right now it DTRT :-/ [22:18] I wonder if this have to do with the switches outputting something strange. [22:19] Nafallo: oh, right, that's sort of "expected" [22:19] Nafallo: so that shift-pgup is trapped by gnome-terminal [22:19] kirkland: I don't use gnome-terminal [22:19] Nafallo: and it scrolls back through what it "knows" about [22:19] Nafallo: okay, whatever your terminal is [22:19] Nafallo: really, you need to use F7 if you want to scroll back in only one window [22:20] Nafallo: this will let screen do the scrolling properly [22:20] Nafallo: if you only open one window, it will DTRT all the time :-) [22:20] Nafallo: if you don't switch between the two windows, it will DTRT [22:20] kirkland: well. I don't open "just one window" :-P [22:21] Nafallo: you'll see the problem if you open two windows, do a "find . " in one, then switch to the other window, do an 'ls' and then shift-pgup [22:21] Nafallo: your terminal is sort of like a video camera [22:21] Nafallo: recording everything it sees scrolling by [22:22] Nafallo: it doesn't have any intelligence about screen's windows [22:22] hmm. yeah. not sure if I understand correctly or if what I saw was different :-) [22:23] and the damn thing does the right thing at the moment. [22:23] which isn't extremely helpful :-P [22:34] when i try and run a kvm I errors trying to connect to the framebuffer [22:52] i thought kvm was supposed to be fairly fast? [23:04] incorrect: you might have better luck with those questions in #ubuntu-virt :-) [23:05] thanks