[00:05] I am kinda new to php, if I write a php document to load onto my server will I need the libraries on the client computer that I am loading the file from? [00:06] or am I overthinking this? [00:08] mds58: Only if you want to test it locally. [00:08] mds58: Wich usually is a good idea. [00:08] ok ty baffle that realy cleared it up for me [00:09] baffle: cool [00:09] baffle: what do we need to do to take advantage of that? [00:09] baffle: different compile options? [00:15] kirkland: According to that webpage, it allready is supported in screen. [00:15] baffle: i dorked around with it a little and couldn't get it to work [00:15] kirkland: Gnome-terminal supports 256 colors out of the box. [00:16] kirkland: But not all terms (like xterm?) does. [00:16] baffle: if you can demo a couple of lines in an .screenrc file that work, i'm *all* ears ;-) [00:16] kirkland: Also, you *might* need to have "ncurses-term" installed, as I fear the 256 color terminfo files are there. [00:26] clear [00:26] er === rdw200169`away is now known as rdw200169 === rdw200169 is now known as rdw200169`afk === rdw200169`afk is now known as rdw200169 === Zaraphrax is now known as Zaraphrax[Away] === Zaraphrax[Away] is now known as Zaraphrax [02:04] hi - Id like some advice on how to move /var/log to another location without breaking things ta [02:06] Alysum: to another location...? [02:06] yes i.e. /mnt [02:06] another partition [02:06] Alysum: I would strongly recommend against physically moving it. but if you want it on another device, just mount that device partition at /var/log ... [02:06] Alysum: copy the contents of /var/log somewhere else first, mount the partition, then copy everything back. [02:07] I'd put a symlink /var/log => /mnt/var/log [02:07] Alysum: if you prefer another location, I strongly recommend against it. but you could make a soft link to point to it, and put that anywhere. [02:07] I did that but then nothing was logging [02:07] Alysum: did you restart syslog? [02:07] Alysum: why do you *want* to move it? [02:07] well /dev/sda has a few hundreds MB free... [02:07] syslog trunks files [02:08] *truncates [02:08] symlink is allright isnt it? [02:09] I know it's risky but lots of people put the whole OS on just a 5GB partition [02:09] i.e. Amazon Web Services EC2 [02:12] I have moved /var/log to another particion with the following procedure [02:12] yes? [02:12] 4GiB is heaps for the root filesystem of a server. [02:12] rsyn /var/log to new location, stop temporaly sysklogd (at night), mount new location as /var/log, and then restart sysklogd [02:12] For a desktop I might allocate 8GiB. [02:13] Of course, I would normally use LVM so it is trivial to grow the space allocated. [02:13] ./dev/sda1 4.0G 3.1G 713M 82% / [02:14] Alysum: cd / && sudo du -mx | sort -nr | head [02:14] Alysum: that will tell you where all the space is going [02:14] twb: it isn't trivial if you don't use LVM, but it's not impossible. I just resized partitions on an ancient system I have. pulled the drive, hooked it up by USB to my laptop, about a half an hour and it was done. [02:14] so you mounted /var/log on top of /var/log with the contents in there already [02:14] PhotoJim: granted. [02:15] PhotoJim: it's a lot harder if you have to shuffle partitions around, though. [02:15] twb: agreed. but it isn't something a person has to avoid if they didn't use logical volumes, and their partitions are inappropriately sized. [02:16] In any case, my "rule of thumb" is still: use LVM [02:16] if you go to single user mode, does logging still occur? I swapped /home and /usr in single user mode once. but not sure that'd be wise with /var. [02:17] Particularly since most of the machines I deal with are in other countries. [02:17] I need to do this on a live server so it's quite critical to come up with a good plan :( [02:17] twb: I agree, lvm rules for remote systems, and of course grub fallback :D [02:18] btw to stop syslog do I just kill the process? [02:18] Alysum: well it is not needed to restart [02:18] twb: that does add to the difficulty level :) [02:18] no but if anything that cant log it crashed [02:18] I would sync, add new entry to /etc/fstab then [02:18] invoke-rc.d sysklogd stop && mount -a && invoke-rc.d sysklogd start :D [02:28] You can use "lsof | grep var/log" to find out what, if anything, is using that directory subtree. [02:29] yes ta [02:47] allright I found 1 non rotated log og 1.9GB that is going to be fixed so no need to move /var/log :) [02:59] Alysum: hooray [02:59] lol [02:59] Alysum: now write a logrotate rule for that file [02:59] indeed [03:00] Out of curiosity, what created that file? [03:40] moo [03:43] Sam-I-Am: this IRC channel does not contain easter eggs. [03:43] haha [03:43] not yet :P [04:46] can i have some help im makeing a web site and what verson of Apache should i download for ubuntu sever 8.10 [04:47] there is only one version of Apache in Ubuntu... [04:47] hi guys... is ebox the web-based mgmt tool of choice for intrepid? [04:47] can you give me a link 1st time useing ubuntu sever [04:48] i just saw in the docs that it's totally broken, but i was told that Ubuntu sides iwth ebox [04:48] WebsiteEbayLike: I suggest you read the server guide first [04:49] ok sorry [04:49] http://doc.ubuntu.com/ubuntu/serverguide/C/ [04:50] hi everyone [04:50] i'm fabio [04:50] fabio: do you have a question? [04:51] whrer can i find ubuntu developers? [04:51] everywhere [04:52] someone here understands the concept of gconf-editor [04:52] could i use this one for the ubuntu sever http://www.archicentral.com/mirrors/apache/httpd/httpd-2.2.11.tar.gz [04:52] 8.10 [04:52] and ldap autentication? [04:53] WebsiteEbayLike: you don't seem to understand how Ubuntu works, so please go read the server guide first [04:53] (and no, that's not the one you need) [04:54] ok im sorry i just needed a littel bit of help )-: [04:54] WebsiteEbayLike: you're making things way more complicated than needed, you'll see that when you read the docs [04:55] the server already comes with apache [04:55] fabio: depends, not after a minimal server install [04:55] but maybe he has it already, true [04:56] i'm using 8.04 yet [04:57] guys where are you from? [04:57] i'm from brazil [04:57] Belgium, so *really* time to go to bed ;) [04:58] nice dreams [04:58] janc? female or male? [04:58] JanC: might as well just stay up now ;) [04:59] or just sleep late ;) [04:59] i got it off ubuntu.com off of sever its about 700mb so dos it already got it in it [04:59] fabio: it's not really custom here to ask that [04:59] dude i m new here [04:59] WebsiteEbayLike: it has apache on the CD yes [05:00] ok thank you [05:00] i have to meet you guys [05:00] belgium is a nice place to live [05:00] WebsiteEbayLike: but you would know that when... [05:02] who uses ldap server? [05:02] if you like cold & rainy places yes [05:02] JanC: and fries [05:02] i like well developed places [05:02] and blondies [05:03] JanC: in my part of Canada, if the precipitation is falling as rain, it can't truly be cold. :) [05:03] here in rio is too hot [05:04] PhotoJim: I can imagine ;) [05:04] JanC: although one of the coldest days in recent memory for me was a September day in Edinburgh :) [05:05] who have tested win7 [05:05] ? [05:07] I'm more the type to get a 2.6.29 kernel running on a 486 than to test bleeding-edge Windows. [05:08] good answer [05:08] arch kernel'? [05:09] linux kernel I suppose :P [05:09] Yup. Debian in this case, but only because that's what that machine has had on it for almost a decade. [05:10] i did this test with gentoo [05:10] I migrated to Ubuntu on my GUI-equipped machines, and now I have Ubuntu on my new server. (this 486 was my server in 2002. experiment.) [05:10] 4 days compilig [05:10] anybody knows if there is a better way than suexec? to run apache2 with the file owners permissions [05:11] fabio: my 486 takes 4 days just to compile the kernel. building the userland would probably take the better part of a month. [05:12] incidence: sorry, I don't. hopefully someone else does. [05:13] a fully compiled instalation is very funny [05:13] i love to do that [05:13] PhotoJim: biggest slowdown is lack of memory, I guess? [05:13] JanC: and the ISA bus. :) [05:14] JanC: I have 32 MB on that machine, which is a ton for a 486 built in 1991, but not a lot by today's standards to say the least. [05:14] yeah, mine had only 4 MiB IIRC [05:15] never ran linux on that though [05:17] 4 is theoretically possible, but it would not be fun. [05:17] my stripped-down 2.6.27 kernel (the latest I actually have running) is 1.6 MiB. [05:36] hi guys... is ebox the web-based mgmt tool of choice for intrepid? (sorry for double post here... inet is going in and out) [05:36] toothy: it seems to be the one endorsed by Ubuntu Serevr. [05:38] twb, do you know if it is functional on 8.10? [05:39] the docs say its no good [05:39] but the bug says a fix was released [05:39] I don't know. [06:34] how do i add time stamp to stderr with tar? quick test: "tar -cvf test.tar /var/run 2>> tar.log" generates socket erros. [06:36] { tar -foo; date; } >tar.log 2>&1 === Zaraphrax is now known as Zaraphrax_ === Zaraphrax_ is now known as Zaraphrax [06:49] twb eh, I only want the errors. tried { tar -foo; date; } 2>>tar.log and I'm getting the errors, but no timestamp [06:49] friartuck: that's because date is printed the stdout [06:49] ah [06:49] 2>> is a bashism, btw [06:49] Oh, maybe not. [06:49] just want to append... [06:55] <_ruben> possibly something like (again not tested): tar -foo 1>/dev/null 2>&1 | while read line; do date; echo $line; done >> tar.log [07:03] _ruben: you have those redirects the wrong way around [07:03] _ruben no dice, [07:04] I'll switch the redirects [07:04] You also need to suppress the trailing newline from date, which is hard [07:04] Better would be just to pipe it into logger [07:04] i.e. go via syslog [07:07] twb yeah, I could break it out to separate file with syslog-ng. [07:08] IIRC syslog-ng isn't in the main category. [07:08] Between syslog-ng and rsyslog I'd recommend the latter, because that's the new Debian default (and therefore I expect Ubuntu to follow suit in the next LTS release.) [07:09] twb haven't seen rsyslog, thx. looking into that. [07:15] <_ruben> like i said .. didnt test it ;) .. i never seem to accurately remember in which order to place those redirects :p [07:16] _ruben np. seems like it should be doable. I'm still fiddling with it. [07:17] <_ruben> as for the new line after date .. there's several more or less nasty tricks for that :) [07:17] <_ruben> echo -n `date` being one of em :p === AnRkey_ is now known as AnRkey [08:26] moin [08:30] New bug: #352934 in likewise-open5 (universe) "Painful" [Undecided,New] https://launchpad.net/bugs/352934 [09:29] _ruben twb i got the time stamp prepended to tar's stderr...but now I lost my stdout. where did stdout go? http://pastebin.com/m77797a8d [09:32] <_ruben> you redirect stuff to the while loop from 2 sides, that cant be right [09:32] _ruben well, it works [09:34] <_ruben> you stdout gets redirected to the while loop .. but you also redirect the contents of tmperr to it .. not sure what would be the result .. one might be in the way of the other [09:34] <_ruben> but instead of fiddling with code snippets, why dont you outline what you want exactly ;) [09:36] _ruben it's an academic exercise. I'm making an incremental backup program with tar and saw the socket errors. I know I can ignore them...I just kinda fell down a rabbit-hole. [09:36] anyone know much about php5-mssql_5.2.6-2ubuntu4.1_i386.deb? [09:40] <_ruben> friartuck: well .. which info (stdout/stderr/etc) do you want to end up where, etc? [09:49] _ruben I found the stdout. I put 1>&0 before the stderr redirect. http://pastebin.com/m7c621642 . stdout to the screen, stderr to a text file with prepended time-stamp. [09:51] it works ^^ [10:03] I was thinking about building an ipsec vpn server that would work with the vpn wizard, are there any docs/howto's for this? [10:07] incorrect here's a start: https://help.ubuntu.com/community/OpenVPN ipcop and smoothwall would be easier. [10:08] friartuck, I think i will want to do a very specific config, I am not a fan of either, i use pfsense for my firewalls, but i've found ipsec support some what limited [10:13] hi guys [10:15] can any of you help me with setting up a gui on ubuntu server? [10:16] come on guys [10:16] emma7 google "ubuntu server gui" [10:16] sudo apt-get install ubuntu-desktop [10:19] thanx Ethos, i just typed that command but the output is negative. "E: couldn't find package ubuntu-desktop" please help [10:20] try sudo apt-get update then the command again [10:21] let me try that [10:25] the result is still negative, it says "W: some index files failed to download, they have been ignored, or old ones used intead." [10:26] do i need to have the machine connected to the internet? [10:26] emma7 yes. [10:26] yes :\ [10:28] but how do verify that my server is connected coz yes i have plugged in my lAN cable and the lights are on. can you please give me a command that will show my ip config. [10:29] emma7 ifconfig -a [10:31] ok, i think i have to manually assign an ip add to this machine, how do i do that? [10:31] emma7 try first: sudo /etc/init.d/networking restart [10:33] it says that "No such file or directory [10:34] friatuck are you still there? [10:34] yea [10:36] thanx, do i have any chance of making this work? [10:36] emma7 did you have network when you did the install? [10:36] the cable was unplugged. why? === asac_ is now known as asac [10:38] do i have to redo the installation with the network cable plugged in? [10:39] <_ruben> if you lack /etc/init.d/networking, then you (atleast) lack the netbase package .. you could try to install with your install cd/dvd present (using sudo apt-get install netbase) [10:40] let me try that ruben [10:41] emma7 you will probably need to edit /etc/apt/sources.list and uncomment the first line "#deb cdrom...." [10:41] <_ruben> incorrect: if you want plain ipsec (so not l2tp over ipsec like windows does for instance, and osx as well), look into openswan or strongswan (openswan being my personal favorite) [10:43] thanks [10:44] it says permission denied friatuck [10:44] sudo vi /etc/apt/sources.list [10:45] good i am getting somewhere now fraituck [10:46] now what must i edit [10:46] emma7 the line that starts with "#deb cdrom...". uncomment that. [10:47] should be the first line [10:47] got it [10:48] emma7 try: sudo apt-get install netbase [10:48] ho do i uncomment it? [10:48] ha [10:50] emma7 put the cursor over the # and hit x. that should remove it. then do: :x and hit enter. [10:50] i am a dummy in linux, please help, i have tried using the backspace on my key board but it cant work [10:50] great the x did it [10:51] to exit vi do: :x [enter] [10:52] anyone with jaunty -server kernel here? [10:52] <_ruben> ivoks: i upgraded my fileserver to jaunty beta last night [10:53] _ruben: you have -server kenel? [10:53] <_ruben> yeah [10:53] thanx iam bac in config mode [10:53] _ruben: modinfo drbd? [10:53] emma7 try: sudo apt-get install netbase [10:54] <_ruben> ivoks: http://paste.ubuntu.com/141956/ [10:54] _ruben: it works? [10:54] hm [10:55] is anyone here using clustered filesystem? [10:56] <_ruben> not yet, its still somewhere down there on my todo list :/ [10:56] _ruben: did you pick one or still looking at options? [10:57] <_ruben> ivoks: vmfs would be my choice, as it would be used by esxi nodes :) [10:58] o, i was asking about linux filesystems [10:58] <_ruben> i know [10:58] <_ruben> i looked into those briefly ages ago [10:59] friatuck netbase is still the newest version [11:00] friatuck netbase is still the newest version [11:00] <_ruben> then you either did something wrong earlier, or messed up during the install [11:00] <_ruben> you could try: sudo apt-get install --reinstall netbase .. not sure if that'd break anything though [11:01] friatuc are you gone? [11:01] emma7 looking for easy way...might be easier to just reinstall. would you loose any data? [11:01] no [11:01] <_ruben> and further more, installing (ubuntu-)desktop on your server install, makes it a desktop really, not a server ;) [11:02] yes, good point. emma7, do you want a desktop? better to use the desktop version. [11:02] but will u still be available like 15 minutes from coz i really find you helpfull [11:03] ha [11:03] no i need a server not a desktop [11:03] emma7 then learn server and don't install a gui. [11:03] <_ruben> then why ask how to install a desktop ? [11:04] ok i bet i have to [11:04] emma7 start reading here: https://help.ubuntu.com/8.10/serverguide/C/index.html [11:06] thanks friatuck, by the way i am from Zambia, Africa. [11:07] emma7 nice, I'm from Texas, America. :) [11:07] bye [11:14] ok... i would really like to replace gfs with ocfs [11:14] :) [11:15] and rhcs with linuxha [11:18] <_ruben> linux-ha i do use, still v1 though, v2 has quite a steep learning curve imo [11:19] <_ruben> works like a charm for our loadbalancers and firewalls .. anyways, im off for a bit [11:31] New bug: #352446 in tomcat6 (main) "libtomcat6-java depends on libecj-java (dup-of: 347393)" [Undecided,New] https://launchpad.net/bugs/352446 [11:32] is anyone using redhat cluster suite on ubuntu... at all? [11:35] Hrm, anyone know which file I need to edit to change the http upload size limit? [11:36] http does't have upload size limit [11:37] you are probably thinking of php [11:54] that's it... i' moving to fedora. [14:15] sommer: ping [14:16] sommer: bah, never mind :) [14:53] ivoks: ok :-) [15:13] hi all, I want to run my tomcat web application server with a non-root user (named as tomcat), at the command prompt I can do it typing "su - tomcat /opt/tomcat/bin/start.sh" everything is cool with this unless I mark tomcat user with "nologin" option at /etc/password file. well what I want is to run tomcat with a non-root user, and I also dont want that user to be able to login with a ssh from outside. any solutions to this? [15:16] Hey Guys im running VMWARE-Server 2.0 on my system. I have ports 902,8222,8333 all forwarded through the router. Anyone know why i cant seem to access the web gui on the VMWARE server? [15:20] emretemp: PErhaps set shell to something like /bin/false [15:22] emretemp: change /bin/bash to /bin/false in /etc/passwd [15:23] I think also chsh might work [15:33] is there a way to get OOo to use M$ formats by defaults via preseeding or script? [15:34] genii, simplexio thx all, bin/false is the way to go [15:34] bin/false is a life saver :P [15:35] emretemp: When there is no viable shell, login is impossible even with password, etc [15:35] AnRkey: i guess you can do that [15:35] ivoks, do what? [15:35] AnRkey: i would start looking at /usr/lib/openoffice/basis3.0/presets/config [15:36] ahh, ta [15:36] genii, yup, simple logic, dont ya all love linux. [15:37] AnRkey: or somewhere there [15:40] thanks, looking now [15:47] hi all... on a NFS exported directory, I'm getting Input/Output error when executing a script. Any ideas? [15:49] beniwtv: it's failed in some way? network, etc [15:49] did you soft or hard mount it [15:50] giovani: In fstab, I'm using: :/media/RAID/internal/machines/vm01 /media/DATA nfs timeo=14,intr [15:51] giovani: But I'm suspecting it is something I need to configure... [15:51] Maybe by default you can't execute things? All other things seem to work fine, like ls, cp and so on... [15:52] you have execute permissions? [15:52] however, adding the "soft" option to your /etc/fstab line [15:52] will attempt to resolve network/reconnection issues silently in the background [15:52] rather than reporting them directly to the application [15:54] giovani: it is: -rwxr-xr-x 1 root root 195 2009-03-31 19:54 /media/DATA/Virtual/copy-tgz.sh [15:54] the soft option didn't change anything, though :/ [15:54] (you'd have to remount it after changing an option, of course) [15:54] Anyway, it shouldn't be a network problem, as both servers are on the same switch of the same lan [15:54] but yeah, it might be another problem [15:54] giovani: yeah, I did unmount and remount [15:54] it's bash reporting an input/output error? [15:55] or the script you're trying to run? [15:55] giovani: -bash: /media/DATA/Virtual/copy-tgz.sh: Input/output error [15:55] and if you try and access the file locally on the nfs host it works fine? [15:56] giovani: Oops... It did work fine before, but now it doesn't. Not even a "cat"! *sigh* So that's it... thanks [15:57] heh [15:57] possibly a corrupted fs or bad drive [15:58] giovani: I have had problems with the RAID.... the test server I'm using doesn't really like my 4U RAID array, so yeah, bad day I guess :( [15:58] giovani: I used lots of workarounds to get it working, but it falls apart... Time to get a new RAID card... :) [15:59] good luck [16:02] hi I have problems setting up a samba server on my network. I followed the Ubuntu documentation, but when I try to find the server on a windows computer I cannot find the server. [16:03] EAGLE914: if you try using the IP directly? i.e. \\IP.OF.SERVER\ does that work? [16:04] This is my first time using linux so. How do I find the server ip? The server run Ubuntu 8.10 [16:04] oh boy [16:04] on the server, run "ifconfig" [16:04] the IP address should be printed there [16:04] but if you don't know the IP of your server ... setting up samba is probably too complex right now [16:05] I wrote ipconfig in terminal and the it said that the command does not exist [16:05] I said ifconfig [16:05] not ipconfig [16:06] oh sorry. My bad [16:08] yes i found the ip adress for the server [16:08] right, so you need to address it directly, in windows [16:08] \\192.168.1.101 [16:08] for example, in windows explorer [16:08] ok [16:12] I can't find it [16:12] i tried to ping it from cmd and it was no response [16:12] hi, anyonr here know about sparc? have been trying to install 8.04 server on an ultra 60 & getting the "Booting Linux" prob - ie it's the last thing displayed on ttya. been googleing & found ppl talking about it but no fix. i have input-device & output-device set to ttya in openboot & have also tried booting with install video=atyfb:off mem=384 as per docs but no luck :( === hessml|away is now known as hessml|away|away [16:15] is there any way to reinitialize eth0 ? [16:15] perhaps that will help [16:15] Iceman_B^Ltop: sudo ifdown eth0 [16:15] Iceman_B^Ltop: sudo ifup eth0 [16:15] what's wrong though? [16:16] same problems [16:16] That won't usually re-initialize it, just bring it down and back up [16:16] I cannot connect to the server [16:16] check out my SSH clone here in the channel [16:16] EAGLE914: then you've probably misconfigured things [16:16] Iceman_B^Ltop: Try instead: sudo /etc/init.d/networking restart [16:17] I thought so [16:17] EAGLE914: it sounds like you need to tackle some linux basics before you go configuring samba -- which isn't terribly simple [16:17] genii: thanks, I'll try that [16:18] I have a friend that is good at programming and he is helping me [16:18] but he has never created a server before....... [16:20] Samba...configuration [16:20] *shudder* [16:20] does Samba support file locking and such a la Windows XP ? [16:21] thanks for the help, but I need to go now [16:21] genii: reading /etc/init.d/networking -- all it does is issue ifup and ifdown, with a few options ... [16:22] is there something I'm missing that makes it more complete? [16:31] genii: nope, that didnt help. I'm stilling having networkdrops on my server. apprantly the entire connection just...."jams" cause it's not only my SSH connection on the LAN, but also its connection to irc === hessml|away|away is now known as hessml|away [16:31] Iceman_B^Ltop: you were the one with no packet loss reported on the interface though, right? [16:32] define packetloss. if I do "ip -s link" everything seems fine [16:33] its just that at random intervals, the eth0 stops responding or something [16:33] a few minutes later its back up again [16:33] ok [16:33] but yeah, that was probably me, ive been here with the same issue for a few days [16:33] are you able to sit physically at the machine, or use some other method of accessing it during these times? [16:34] unfortunaely not. Im getting a monitor later tonight. Im still short a keyboard [16:34] so everything I do is via putty [16:34] the server itself doesnt reboot btw [16:34] ok, it could be a bad network card, could be a bad driver [16:34] could be something non-network related, like cpu/mem/fragmentation [16:35] what kind of hardware is it? [16:35] Dell Dimension 8200 [16:35] I had a Realtek that would drop the connection every time a download started [16:35] P4 1,6Ghz, 256MB ram, 100Mbit ethcard, 160 GB drive [16:35] Iceman_B^Ltop: you know what kind of card is in there? [16:35] hmm, can I find out over the console? [16:36] Could also be mtu mismatch, but unlikely [16:36] Iceman_B^Ltop: yep -- run "lspci" from the console [16:36] and pastebin the output [16:36] remember, 8.10 dekstop had no such qualms, the only difference in hardware was the hdd [16:36] alright [16:36] oh yes ... we went over this [16:36] it's highly unlikely that the server kernel is the cause here [16:37] All else being equal, likely is the -server driver for eth0 is different then the -generic [16:37] http://pastebin.ubuntu.com/142135/ [16:38] 3com, hmm [16:38] another stupid thing could be that I tapped the eth card while I was working on switching the hdd [16:38] genii: well, we could have him install the generic kernel and see how that functions ... [16:38] maybe I knocked it loose or something, though unblikely [16:39] giovani: Would narrow it down quick if it was the case. I've seen this before with restricted drivers [16:39] Iceman_B^Ltop: how often does this happen? [16:39] eversince I installed 8.10 server [16:39] half a week ago [16:39] no [16:39] how often [16:39] oh [16:39] as in ... frequency [16:39] everytime you see Iceman_B|SSH drop [16:40] a few times / hour [16:40] ok [16:40] seemingly random intervals too [16:40] I'd recommend installing the -generic kernel, just to see if that's the cause [16:41] "sudo apt-get install linux-image-generic" [16:41] I;ll try that, if someone can wlak me through that. never switched Kernels before, or built one [16:41] ...that was easy :p how long will it take? [16:41] you don't need to build it, it's a package, it's the kernel that would be installed with ubuntu desktop [16:41] dependong on your net connection ... 10-15 min? [16:41] oh okay [16:42] its running [16:42] you'll need to reboot [16:42] to boot into the kernel [16:42] and then when it boots back up type "uname -a" to make sure that it's running -generic rather than -server [16:42] okay [16:42] and then sit back and wait for the problem to happen again -- if it never happens again (wait a while before concluding that), then, the problem's been isolated [16:42] wait, will that show up in GRUB? or rather, do I need to select that kernel in grub ? [16:43] it should make itself the default grub kernel, it won't replace your old one [16:43] (it;s installing now) [16:43] if you remove it later, it'll remove itself from grub [16:43] okay. so when I issue a reboot command, I could let the machine stand unattended and it should boot into the generic kernel? [16:43] yes [16:43] but confirm that it has with "uname -a" (which prints which kernel the machine is running) [16:44] alright [16:45] "sudo shutdown -r now"? [16:45] or reboot [16:45] same thing [16:51] giovani, Im checking out the menu.lst before I reboot [16:51] Iceman_B^Ltop: k [16:51] it says "default 0" but the generic kernel is is listed as third [16:51] should I change the 0 into 2 ? [16:53] Iceman_B^Ltop: yes [16:54] Anyone here running amavisd-new on Jaunty that could test a new clamav package? [16:56] ScottK: no, but I have a vm and could set it up quickly [16:56] cemc: That'd be great. It should work fine with 0.95, but I want to make sure. [16:58] giovani: I think its rebooting now [16:59] ScottK: it's in the PPA ? [16:59] cemc: No. The amavisd-new from the archive should just work. [17:00] ah, right, ok [17:01] ravi@Rin-chan:~$ uname -a [17:01] Linux Rin-chan 2.6.27-11-generic #1 SMP Thu Jan 29 19:24:39 UTC 2009 i686 GNU/Linux [17:01] guess it worked === tuxlinux_ is now known as tuxlinux [17:07] giovani: I suspect the problem still remains, but we'll see [17:07] Iceman_B^Ltop: what version of ubuntu are you running now? [17:07] Linux Rin-chan 2.6.27-11-generic #1 SMP Thu Jan 29 19:24:39 UTC 2009 i686 GNU/Linux <-- I just installed that onto 8.10 server [17:08] like you suggested [17:08] ok, so, 8.10 [17:08] but you were running 8.04 before [17:08] so either this is a driver change from 8.05 to 8.10, or your hardware has become damaged in the meantime, which is what I first suspected [17:09] nono, I wasnt running 8.04 [17:09] 8.10 desktop before the hdd switch [17:09] oh ok [17:09] okay, perhaps it is hardware related... [17:09] well the kernel might've changed slightly -- possible that a bug was introduced [17:09] but unlikely [17:16] hmm [17:17] I'll take my server apart and check everything. maybe I broke something. I'll try another cable first though. it seems unlikely but maybe the cat6 is the culprit. I dont know how much difference another kernel makes for the eth card [17:18] Many kernel modules differ between kernels. [17:24] different cable doesnt change a thing [17:26] Iceman_B^Ltop: Does apt-cache policy linux-restricted-modules-server show that it is installed? [17:27] W: Unable to locate package linux-restricted-modules-server [17:27] genii ^ [17:30] Hm [17:33] Seems on my Hardy to be in repos -proposed/universe -updates/universe and -security/universe [17:33] k, I SSH-ed to an exernal point, and from there through my router, into my server [17:41] kirkland: you uploaded powerman ? [17:42] kees: i did [17:42] some feedback: it should have been versioned -0ubuntu1 [17:43] kees: ah, right ... it was still in Debian ITP at the time [17:43] kirkland: sure, but all the more reason to have it be -0ubuntu1 so we could sync -1 [17:43] kees: yup, agreed [17:45] genii / giovani: the problem remains. When I SSH into the server from an external point, that too gets dropped [17:48] kees: is that it? [17:48] * kirkland was expecting a more thorough tongue lashing :-) [17:49] kirkland: nothing really to do about it. :) I just wanted to point it out in case you're faced with a similar situation in the future. :) [17:50] Iceman_B^Ltop: What driver does: lsmod|grep 3c report? 3c59x or another? [17:51] kees: yes, thanks [17:51] kees: were you examining the MIR? [17:51] kirkland: am still, yes. === nxvl_ is now known as nxvl [17:53] genii: http://pastebin.ubuntu.com/142184/ [17:53] Reading [17:55] kirkland, nijaba: bug 337226 updated (a bit more work is needed...) [17:55] Launchpad bug 337226 in powerman "MIR - include powerman" [High,Incomplete] https://launchpad.net/bugs/337226 [17:55] OK, driver is right. Used to sometimes use wrong driver for TX versions (3c905 driver) [17:57] okay [17:58] Iceman_B^Ltop: You are ssh in over lan-lan or lan-internet-lan path? [17:58] kees: cool, thanks. [17:58] (some routers etc don't like martians) [18:02] kees: just looked over the feedback, looks good. i'll punt to aquette for fixage === hessml|away is now known as hessml|away|away [18:14] genii: both [18:14] both give the same trange behaviour [18:14] I'm doing lan-lan now [18:47] ScottK: amavisd-new seems to work ok, tested with clamd and clamscan, too [18:47] cemc: Great [18:48] cemc: thanks :D [18:48] there's no reason why it shouldn't though... [18:49] yep [18:49] take care... === hessml|away|away is now known as hessml|away [19:09] can I call phpinfo() from the shell? [19:10] without writing a PHP page and serving it up? [19:11] php cli? [19:12] well, I'm having a GD issue and I saw a pretty verbose output of php handlers with a phpinfo () page [19:13] my last task on the web side of this server ... Joomla has a plugin that handles image resizing for the purposes of thumbnails and it's not working [19:13] it says GD is the problem ... and I've already seen that I have GD installed, so I'm looking for some more verbose output [19:13] php -a will take you into interactive, you can issue any php based command there [19:14] hmmmm, php5-cli wasn't installed [19:14] interesting [19:33] Is it difficult to set up DHCP service on an Ubuntu Server box? [19:33] where are PHP log files kept? [19:35] ball: nope, dnsmasq has a really simple, and easy-to-configure DHCP daemon [19:35] giovani: thanks, I'll look for that. [19:35] hello McKinley [19:36] ball: google around for some instructions on setting it up -- but it's simple [19:36] (it also provides dns, if you want that) [19:36] I don't, DNS is a whole separate nightmare. [19:36] that's fine ... dns is optional [19:36] but not a nightmare [19:37] (dnsmasq isn't for running authoritative dns ... it's designed as an easy caching server for your internal network) === Nicke_ is now known as Nicke [19:38] Okay. [19:38] That might be useful then. [19:41] I am considering looking into the Citrix XenServer. (http://www.citrix.com/English/ps2/products/feature.asp?contentID=1686939) As far as I can tell the management tool XenCenter is m$ windows only. Are there any good Open Source alternatives for the management tool? [19:44] Bergcube: I think xenserver is different from normal open-source xen [19:44] there are some control panels for xen [19:44] Hi ball and others, I am trying to setup a router for 2 networks on the same machine. I have ufw and all the masquerading working. I think I am having some route problems. I haven't setup up any explicite routes. In this interfaces file, http://pastie.org/433917 , I am able to use the network on 192.168.2.1 to reach the Internet, but the network on eth1:1 doesn't route and thus never reaches my POSTROUTING rules. What routes [19:45] giovani~ I am sure it is somewhat different. But I am a wuss. The Citrix XenServer comes in one easy install-cd, whereas the help pages for xen under ubuntu left me feeling like the largest human "huh?" in history... [19:45] Bergcube: maybe ask in #xen? [19:47] giovani~ Yeah, I guess. Old habits die hard I guess. I run a number of Ubuntu servers directly on the iron, and usually I've gotten great help in here. Sorry for the offtopicness. [20:00] =_= [20:00] graaah [20:04] can anyone assist with teh followiing ? googled it lots of people with the issue - no solution though........This kernel requires the following features not present on the CPU: 0:6 Unable to boot - please use a kernel appropriate for your CPU. [20:04] JessicaParker: is that with a kernel that shipped with Ubuntu Server? [20:05] yes just copy the iso straight to the cd and overwrote eveything [20:05] completed set up then on re-boot the problem happened [20:08] ball: any ideas ? [20:09] JessicaParker: what cpu? [20:09] not sure its an intel centrino bought in 2002 [20:10] JessicaParker: Might be a Pentium M then, or something [20:11] What version of Ubuntu? [20:11] its the latest server lts edition, just downloaded it toda [20:12] http://releases.ubuntu.com/hardy/ubuntu-8.04.2-server-i386.iso [20:12] that's the latest server LTS release, the latest server release is 8.10 [20:13] oh sorry, you did say LTS [20:13] my mistake [20:13] do u think 8.10 may be better [20:13] it's possible that the newer kernel in 8.10 might help [20:13] it's worth a try [20:13] its not for production as yet anyway just trying some things out. [20:14] but i trust there is no easier way to get over this issue that anyone here knows off.........in which case i will try 8.10 to start with [20:15] the issue is not one I've seen before -- and with a regular intel cpu ... it seems most likely to be a bug [20:15] if you've asked for help elsewhere, and not gotten any response ... I'd try 8.10 [20:15] thanks i will try that as a start [20:18] Can anyone help with basic routing? In this format: up route add [-net|-host] / gw dev How do I state that I want all non 192.168.20/24 traffic to route to address 64.244.99.99 on eth0? [20:18] I am confused on the net and host parts [20:21] McKinley the default route is what you are looking for. that is specified as 0.0.0.0 0,0,0,0. [20:21] post-up route add -net 192.168.2.0 netmask 255.255.255.0 gw 64.244.99.99? Is this right? [20:21] or "route add default gw 64.244.99.99 eth0" [20:22] McKinley: no ... you said you want "non 192.168.20" traffic to be routed [20:22] now you're entering a route to route that traffic [20:22] friartuck: I have aliases on each adapter. So, default route won't be enough, right? [20:23] McKinley default means....anything that is not explicitly specified. the default route usually points to the internet. you only need one default route. not sure about your question. [20:26] friartuck: I have a real ip on eth0 and another real on eth0:1. I need eth1 to route to eth0 and eth1:1 to route to eth0:1. In this case I can't use a default route. I need two different explicite routes, but I don't know how. [20:26] Hm. Could I use a bonding driver for dhcp-server to lan? [20:27] McKinley do you have two internet connections? dual-homed? [20:27] I was thinking yesterday about dual-homing [20:28] If I had one wired and one satellite connection, it would be nice to send video and voice over the wire and things like sftp and rsync up into space [20:28] ...with failover in both cases [20:28] source based routing needed here? [20:29] ...not sure how hard that is to do on Ubuntu though [20:29] from srcip1 route via gwip1, from srcip2 route via gwip2? [20:29] friartuck: Yes, they are 66.244.88.88/29 and 66.244.99.99/29 for arguments sake. They are up on eth0 and a ping -I and a traceroute -s works just fine. wget --bind-address to whatsmyip.us shows that I am getting out on either address just fine with expected results. [20:30] ball: my networks are staying logically separate, fyi. [20:31] McKinley: ok [20:31] ball: no failover or anything. Just 2 routers in one box with two NICs only. [20:32] I think I need a nap [20:37] anyone alive? [20:37] quick question regarding vmbuilder man pages [20:37] and file:///home/poningru/Dev/ubuntu/ubuntu-doc/build/serverguide/C/jeos-and-vmbuilder.html [20:37] err [20:38] damn it [20:38] sorry [20:38] cant find the doc for jeos and vmbuilder online [20:38] anyway [20:38] * ball is almost alive [20:38] question is what does --net= stand for? [20:38] and does --addpkg= handle dependencies? [20:39] I think \sh is the person to ask but he seems afk [20:39] vmbuilder is soren's baby. [20:39] obtained with vmbuilder [20:39] yeah [20:39] (not \sh) [20:39] oh [20:39] sorry [20:40] doh [20:40] Using vsftp, is it possible to jail a user to a directory other than his home dir ? [20:40] McKinley I think you need policy based routing. I know how to do this with Cisco, it looks like it can be done with iproute2, but I'm not familiar. take a look here: http://lartc.org/howto/ [20:42] i can help with that [20:42] McKinley this one is more definitive, I think this is what you want: http://www.linuxhorizon.ro/iproute2.html [20:42] friartuck: and simply doing route add -host won't do it? Will the host 192.168.2.1 not be able to talk to the rest of 192.168.2.0? I'm checking out the link. [20:43] i dont properly understand the problem though, making it tricky to try and help, heh [20:43] McKinley hm, I think I misunderstood your question. [20:44] toothy: AFAIK, vsftp isn't that flexible. You're either chrooting to home, or not at all. [20:44] friartuck: I'll reask it in a bit. Reading up, thanks. [20:44] toothy: proftpd is much more flexible in that regard, but not technically "supported"... I'm not sure what other ftp daemons allow that level of customisation. [20:45] toothy: What I tend to do is just chroot users to their home directory, and bind-mount the bits I want them to have access to. [20:45] toothy: (ie: bind-mountind /srv/domain.com/www to /home/user/www.domain.com/) [20:45] infinity, sorry, but what is bind mount ? [20:46] can a symlink do the same? [20:46] toothy: "mount -o bind /srv/domain.com/www /home/user/www.domain.com" [20:47] toothy: And no, symlinks won't work. vsftpd won't follow a symlink from a chrooted location outside the chroot, for obvious reasons. [20:47] Is there any difference between "-o bind" and "--bind" ? [20:47] toothy: (If symlinks worked, users could just use them to break out) [20:48] maxb: Other than the fact that I'm an onld UNIX hack who refuses to admit that mount has any switches other than "-t" and "-o", probably not. [20:48] s/onld/old/ [20:48] ah that makes sense [20:48] infinity, lol [20:49] infinity, should i add this mount to fstab? [20:49] toothy, yes if you want it to be held in restart [20:49] as in to be there after you restart the machine [20:50] fs type is none btw [20:50] maxb: In all honesty, I just prefer "-o loop" and "-o bind" because it reminds me what to put in the options field in fstab if I want to make it persistent. [20:51] poningru, infinity thanks guys... ill give a shit [20:51] --bind is just an alias to -o bind [20:51] *shot [20:51] :X [20:51] lol [20:51] i give a shit! lol thanks again [20:52] friartuck: that second link is very clear. Thanks. I'll see if it works. [20:53] yay, I got a monitor [20:53] Servers shouldn't have monitors ;-) [20:54] I know [20:54] they "should" not [20:54] Servers shouldn't have iTunes :/ [20:54] toothy, heh [20:54] mpaad [20:54] ftw [20:59] wow this is cool vmbuilder I mean, used to build from iso [21:13] can I force output to the vga port when I'm connected via SSH ? [21:15] Iceman_B^Ltop: they're different terminals [21:15] okay [21:15] so, no, I don't believe that's possible [21:16] New bug: #352779 in dhcp3 (main) "Bad MTU for eth0 in 9.04 amd64" [High,Incomplete] https://launchpad.net/bugs/352779 [21:17] your local terminals are tty1-6, usually, and your ssh terminals are pts/0-X [21:18] okay === MatBoy_ is now known as MatBoy [22:04] anyone alive? [22:05] creating stuff with vmbuilder [22:05] http://pastebin.com/m7155f84d [22:05] the command I used [22:05] I cant get it to list stuff under virsh -c qemu:///system [22:09] err nm [22:25] hi, I can't start my xserver coming from just a ubuntu server install.. aptitude install LXDE .. reboot .. no X [22:26] infinity, question about jailing an FTP directory... since vsftp can jail to a home directory, does it make sense to simply make the dir i want to jail him into his home dir? something like sudo useradd -d /www/web/whatever username ? [22:27] toothy: You *could*... But if he'll ever access the system in any other way (for mail, for instance, or whatever), that's bound to cause you headaches. [22:29] got it, thank you [22:35] hi, how can you change xserver to only use the vesa driver? thx [22:40] Anyone happen to know what (if any) package contains whetstone and dhrystone benchmarks? === mathiaz__ is now known as mathiaz