[00:17] wtfplymouth: I had some trouble with fstab when upgrading from dapper to hardy. can you be more specific with your problems? you haven't provided enough info for a response [00:18] hello to all. can somebody tell me how can i clean up my swap space ? i have php scripts that need a lot of memory and becouse of that the swap space is used a lot. the strange thing however is that my swap space is not cleaned up after the sripts finish. what can i do ? after a while i run out of swap space and my server freeze ! [00:19] hmmmm [00:19] first of all, it is usually other processes sitting in swap [00:19] so you have to get them to try to run and touch those pages [00:19] setting swappiness to 0 might help too [00:19] :) [00:22] domas: thanks :-) i have only 128 MB Ram and my scripts use both 160 MB. becouse of that the swap is used a lot but from my understanding the swap space should be given free after the script finish and exactly this is not the case [00:24] cclausen: i know that my fstab has a problem, but 9.10 booted with a not available disk and 10.04 stops the boot [00:25] i just want 10.04 to not stop the boot at an mounting error [00:25] wtfplymouth: you should be able append a root= line from grub [00:25] did you read the release notes? [00:25] there is something about specific hardware and a 1 MB disk alignment or something [00:26] not sure if that is related, but it might be worth a try [00:34] just installed ubuntu server 10.4, and i cant install openssh or openssh-client, or openssh-server [00:34] what's going on??? [00:35] is there a network connection at all? [00:35] what errors do you receive? [00:35] cclausen, talking to me? [00:35] yes [00:36] i've installed apache... installing mysql now... [00:36] and openssh-server is not working... [00:36] not installing [00:36] what command are you running? [00:36] and you say mysql is installing now. are you trying to run multiple installs at once? [00:36] sudo apt-get install openssh-server [00:36] no... [00:37] what error does apt-get give you? [00:37] let me finish installing mysql i'll tell you whats going on [00:37] thanks for the help [00:37] just a sec [00:41] cclausen, it says that it has a newer version [00:41] apt-get update; apt-get install --reinstall openssh-server [00:41] what EXACT error message? [00:42] cclausen, installing now with the --reinstall [00:42] :) [00:43] well then, no problem [00:43] you probably want to apt-get upgrade too and see if anything else has newer versions [00:45] what's the difference between upgrade and update? [00:47] update pulls in the list of newer packages [00:47] upgrade actually installs them [00:47] I think peopel are encouraged to use aptitude instead of apt-get these days [00:48] but I am not sure [00:48] aptitude safe-upgrade is probably what you want for patching most of the time, I think (feel free to correct me) [00:48] you can add the -u option to list what upgrades you have. [00:48] cclausen: that's the one [00:48] cclausen, got it [00:49] speaking of that, I've been trying to use the automatic upgrades [00:49] and I use aptitude now instead of apt-get... just out of laziness. I'd rather have one command instead of two (apt-get and apt-cache) for package management [00:49] but they don't see to automatically install [00:49] were the betas just not auto-updating b/c it was beta? [00:50] whaley: that sounds nice. I've been tired of two commands. [00:50] cclausen: you mean unattended-upgrades? [00:50] I think so [00:51] whatever the automatica updates from teh ubuntu server installer does [00:51] I was using cron-apt before [00:51] There's a whole ubuntu.org page I haven't read on that. [00:51] yeah, I think I read that and set the various config files to actually update [00:51] but whenever Ilog I see that there are updates waiting for me [00:51] I guess I'll what happens how that things are released [01:00] meh, why oh why is linux swapping, when it has few gigs of memory free [01:00] :) [01:00] if you don't think you need it, just swap -a off [01:00] swappiness is at 0 already [01:00] err, swapoff -a [01:01] well, kswapd gets stressed when only few gigs of memory available are left [01:01] it was spinning at 100% on one core [01:05] like here, http://p.defau.lt/?__SOOu0go_iFe9cWMCF29A [01:06] swappiness at 0, 1G of cache, 200M of free memory [01:06] wtfplymouth: the other option is to add 'nobootwait' as a boot option (see e.g. bug 510415). [01:06] Launchpad bug 510415 in ubuntu-release-notes "Lucid mountall can cause unexpected hangs" [Undecided,Invalid] https://launchpad.net/bugs/510415 [01:09] when will the docs for 10.4 server be online? i can't see it here: http://www.ubuntu.com/products/whatisubuntu/serveredition/techspecs/whatsnew [01:10] /etc/apache2/sites-enabled/000-default is empty what should i do? [01:10] that should be a symlink to sites-available [01:11] or are both empty ? [01:13] cclausen, i have to edit 000-default, to change the port... and i don't know why is empty [01:14] jaypur: is this a new install? You can remove the files and apt-get install --reinstall the various apache2 packages [01:14] should setup a new default for you [01:16] hmm i'll do this [01:16] to updgrade my server, should i change karmic to lucid in sources and run dist-upgrade? [01:16] just installed [01:16] owen1: http://www.ubuntu.com/getubuntu/upgrading [01:17] cclausen: thanks [01:17] also, are there docs about 10.4? [01:17] 000-default still empty [01:18] sudo nano /etc/apache2/sites-enable/000-enable [01:18] owen1: what specifically did you need docs on? [01:18] most of the on-system docs should be up to date for the packages installed, look in /usr/share/doc [01:18] as well as man pages [01:19] jaypur: I don't know what to tell you. are you sure you reinstalled the package that had the file you wanted in it? [01:19] hey i just set up a mailserver on a ubuntu box, i have postfix and dovecot with postgrey configured, what is the best way to include spamasassin? smapd oder amavis? [01:19] jaypur: apache2.2-common package was reinstalled? [01:20] i'm rebooting the pc just a sec [01:20] cclausen: i thought there is some kind of docs about running/maintaining/backups/system admin for ubuntu server. [01:21] jaypur: that nano command was wrong FYI. its not 000-enable (at least not to my knowledge) [01:21] owen1: those types of docs won't be too mcuh of a change from current versions. I'd just read what is out there now [01:21] cclausen, what should be the command [01:21] ? [01:22] jaypur: well, first, try ls -l /etc/apache2/sites-available [01:22] what files are there? a default file? [01:23] owen1: I use a daily rsync snapshot hardlink script for backups myself to conserve disk space on unchanged files [01:23] default, and default-ssl [01:24] cclausen: thanks for this insight. i found this page, i believe that is what you are refering to - https://help.ubuntu.com/community/Servers [01:24] got it [01:24] !!! [01:24] now it's on! [01:24] jaypur: sudo nano /etc/apache2/sites-available/default does that work? or is it empty too? [01:24] :) [01:24] now it's on [01:24] jaypur: I didn't think there was a problem. good [01:25] owen1: basically, that, yes [01:25] cclausen: i use rsync as well. what does it mean hardlink? [01:25] i know what symlink is. [01:25] cclausen, now i'll check the port [01:25] owen1: a hardlink is a directory entry that points to a file already on disk [01:25] http://tuxserver.no-ip.org/ [01:25] :) [01:26] owen1: read the docs on the --link-dest option to rsync [01:26] cclausen: great. thanks [01:27] owen1: there is an option to cp to copy using hardlinks as well. I sued this to create the initial directory to link-dest against. [01:27] owen1: and of course remember that you really want an off-site backup too, not just a local version [01:28] cclausen: right now i rsync to external usb drive [01:29] owen1: ah, ok, that works too. I have actual TSM backups for production servers do just do the rsync for my users to get data without needing to ask me to pull it down from TSM. [01:30] zorzar: I'd look for a guide online and try following the instructions. I haven't used postfix, but I had spamassassin working with exim4 on Debian sarge back in the day [01:31] cclausen: what made switch from debian server to ubuntu? [01:31] i am also curious about the differences between the two. [01:32] owen1: ubuntu has a stable release cycle and 5 year support on LTS releases [01:33] owen1: debian thinks "when it is ready" is a fine release schedule [01:34] debian is the base for ubuntu and many packages come directly from there, but debian doesn't have LTS releases and I'm pretrt lazy and don't like to upgrade that often. I still have some dapper servers running too. [01:34] cclausen, i have this error for ssh http://ubuntuforums.org/showthread.php?t=33236 [01:34] i don't know why i'm getting it... didn't do anything that never done b4 [01:34] jaypur: did you just reinstall? that error just means that youe ssh key has changed [01:35] it should tell you the line number in your known hosts file [01:35] cclausen, i got this error, removed everything and reinstalled and it's still [01:35] did you remove your known_hosts file? [01:35] yes but i can't find this file [01:35] cclausen: there are guides for everything out there, i wonder what the best solution is [01:35] should be ~/.ssh/known_hosts [01:36] cclausen: are u working for someone or independent? also, do u pay canonical for support? [01:36] zorzar: there probably is no "best" solution. There are just "works for me" solutions [01:36] owen1: I do not pay. I fix problems myself [01:36] had to manually fix a bad nagios2 package... wasn;t sending emails out due to a path being wrong in teh default config [01:36] cclausen: so why do u care about the LTS? isn't it for companies that need tech-support? [01:37] cclausen, it's empty... [01:37] grrr [01:37] arrgh [01:37] owen1: our campus policy says I must have "supported" OSes on the network [01:37] jaypur: ren your .ssh directory and try again [01:37] (obviously that could be bad if you use SSH keys) [01:38] cclausen: so u'r the sysadmin for the campus. cool. when r u planning to uprade to 10.4? [01:38] owen1: and yes, we might need to call for support one day. good to know that I can if needed. Much better than paying redhat upfront $50 per server. [01:40] cclausen: great. so ubuntu is on a different route than red-hat, in that aspect. [01:40] owen1: in my opinion, yes [01:40] cclausen: i just read that canonical are experimenting with admin certificates. [01:41] owen1: I also REALLY hate RPMs. apt-get is much better about dependancies and there are more packages available in the repos [01:41] cclausen, why is this happening to me... never happened this before... how can i remove all things from ssh and reinstall it? [01:41] jaypur: its a client issue. has nothing to do with the ssh packages themselves [01:41] jaypur: one whatever ssh client you are using, change the known_hosts file and remove the offending key [01:42] Hello all!! I've tried to upgrade my 8.04 server to 10.4, but it no sucess: sudo do-release-upgradeChecking for a new ubuntu releaseNo new release found [01:43] What is wrong?? [01:43] cclausen, sorry if i'm a little bit dumb today, i'm having some family issues right here... so can you tell me please what should i do right now? [01:44] cclausen: ok thanks [01:45] cclausen: how many machines do u manage and what is the strategy for installing/updating them? do u use some kind of a centeralized offline repository? [01:47] owen1: I just have about 13 ubuntu servers, most of them are old laptops in closets to act as DHCP servers [01:47] I do not currently have an automated deployment system [01:47] but I think I'll setup fai now that 10.04 is released [01:47] cclausen, i does not have the file .ssh [01:48] at ~/.ssh [01:48] jaypur: did you cd ~/; mv .ssh dot_ssh ? [01:48] at my home,... .ssh does not exist [01:48] jaypur: its hidden by default you are using ls -lA to look for it? [01:48] ls -lA [01:49] and you are doing this on your ssh client system were you are getting the error? not the ssh server? [01:49] does not exist [01:49] i'm doing it directly to my server [01:49] physical [01:50] jaypur: pastebin your exact error message somewhere [01:51] i type ls -lA .ssh [01:51] is it correct? [01:51] sorry [01:51] =/ [01:52] jaypur: please goto http://paste.ubuntu.com/ and paste the full error message [01:52] cclausen, i'm in my laptop, the error is in the pc.... the error is impossible to access or does not extist [01:52] Hello all!! [01:52] I've tried to upgrade my 8.04 server to 10.4, but have no sucess: [01:52] "sudo do-release-upgradeChecking for a new ubuntu releaseNo new release found"What is wrong?? [01:53] cclausen: can't find a lot of info about FAI but i'll look into it. [01:53] The 10.4 LTS server is not available?? [01:54] Anyone has already done the upgrade from 8.04 to 10.4 ??? [01:54] * cclausen attempt to upgrade from 8.04 to 10.04 right now on a web server [01:55] cclausen, lol cd /home/user/.ssh does not exist lol [01:55] oh, jota. I just had your problem [01:56] ls -a is showing me [01:56] Jota: you need to read more carefully. need to append --devel-release to that command [01:56] jaypur: paste your error message as I requested before. I can't help you without seeing the real error message [01:56] Jota: ERR, SORRY [01:56] cclausen, the error message is: does now exist [01:56] not* [01:56] Jota: its --devel-release [01:57] jaypur: try the ssh command again [01:57] ok... but if I append -d, will I get the final release, or the RC (or beta) release??? [01:58] aaaaah [01:58] Jota: the beta becomes the final release so you get both [01:58] Jota: I thinl everything is release right now though [01:58] why did i need to reinstall it... the last version of ubuntu all things worked right... [01:58] gah! got not enough free disk space error... [01:58] this is not good... [02:00] cclausen: are you sure about that?? I will get the final 10.4 release, as relesed yesterday?? [02:00] cclausen, the file just does not exist, ~/.ssh [02:01] or should I wait a few more days to do the upgrade?? [02:02] Jota: you get whatever is in the repo now. should be release by now [02:02] jaypur: ignore the file does not exist message. re-try the ssh command. what error does ssh give you? [02:02] cclausen, what ssh command??? [02:04] jaypur: the one you originally asked about [02:04] jaypur: or am I really confused? [02:05] cclausen, i'm tired and having some personal problems here, i'm really sorry to bother you [02:05] cclausen, i think i'll reinstall the ubuntu server [02:05] Hey guys. I'm new to software raid. I just installed a new hard drive on a server and did a ubuntu install I told it to use raid1 for 2 disks but only one disk was connected. I want ro connect my old disk, boot the server and copy data from the old drive to the new one before I make the old one part of the raid. If I re connect the old drive and boot off the new one will it auto attach that disk to raid? I don't want to lose the data of the old disk ... [02:05] ... before I copy it [02:05] cclausen, it's easier for me i think and i won't bother you... and at the instalation... i'll select to install the open ssh.... [02:06] New bug: #572719 in kerberos-configs (main) "package krb5-config 1.23 failed to install/upgrade: subprocess installed post-installation script returned error exit status 128" [Undecided,New] https://launchpad.net/bugs/572719 [02:06] ok... [02:06] and, another question: has anyone done the "do-release-upgrade" via ssh?? [02:08] Jota: I did that before from dapper to hardy and it mostly worked... I wouldn't do this from ssh on anything important [02:10] jetole: I think you want to make an offline backup before you do anything else [02:10] jetole: in general, all RAID solutions I've seen want to try and mirror the data immediately, clobering whatever was there previously [02:13] cclausen, I'll reinstall everything thanks for your help man [02:14] cclausen: that sucks but ok [02:14] cclausen: thats also piss poor programming since I didn't tell it which disk to use as the second one but I'm not hear to argue it. I just wanted to know [02:15] jetole: it might work fine, but I think you are better safe to make a backup before attempting anything [02:15] jetole: always err on the side of caution [02:15] I don't have that option since it's a home server and not one at the office or data center but I will try booting off a live CD [02:16] jetole: you don't have backups ? that is problem no matter where the server is at [02:16] and RAID is NOT a backup mechanism [02:16] all our servers at work have 3ware cards except for some old Dell servers that have a dell rebranding of an adaptec I think [02:16] the Dells I use have PERC cards which are re-branded LSI controllers. I have a custom built server with a nice areca controller too. [02:16] cclausen: I know but I'm not rish [02:17] these are PERC too but I thought it was adaptec [02:17] poweredge 2950 III [02:17] 2950 II uses PERC6 [02:17] I think perc 5i but not sure [02:17] oh [02:17] oh, you got the perc5? [02:17] not if you have 2950 II with perc6 I don't [02:17] I have two 2950s with PERC5, but they are original, not the III version [02:18] our 2900 IIIs have PERC6 [02:18] then yeah I really doubt I have perc5 if you have perc6 in II [02:18] but I don;t have linux installed on any of the good server hardware, just in VMs and on old laptops [02:18] lspci would tell you for sure though [02:19] cclausen: linux is our VM. Used to be ESXi 3.5 but I was disapointed in a lot of features and we migrated a year or so ago [02:19] maybe 18 months [02:19] * jetole checks [02:19] I use Hyper-V here. don't like VMWare at all. [02:19] jetole: what features was it missing? [02:20] 01:00.0 RAID bus controller: LSI Logic / Symbios Logic MegaRAID SAS 1078 (rev 04) [02:20] yep, LSI controller [02:20] aetaric: I don't remember now [02:20] i've yet to find anything that esx(i) can't do. [02:21] yeah I remember back when I made the change I had that argument with a bunch of guys in the vmware room [02:21] aetaric: Hyper-V has maximum CPU limits per VM as well as priority settings. I didn't see that in VMWare [02:21] I don't want to have it again [02:21] glad it works for you [02:21] cclausen: it is in there. it is a more advanced feature. [02:22] ah, ok. I figured they would add it somewhere. I haven't looked at VMWare stuff since 2007 [02:22] i just use it for vmotion....so... [02:22] cclausen: well I know since I left they came out with vmware ESXi 4 [02:22] and I still don't like the crazy network adapters that VMWare adds on teh guests [02:22] we don't have SAN gear here, so vmotion wouldn't work anyway [02:22] yeah... it is a bit complex... [02:23] I've not found an affordable multiple VLAN redundant SAN solution [02:23] Ah I did our first SAN setup ~8 months ago and another one since [02:23] one in the office and one in the DC [02:23] cclausen: you don't need a san.... iscsi would work, or nas [02:23] everything is designed to run on the same subnet in the same datacenter and I need cross-campus redundancy [02:23] aetaric: iscsi is san [02:23] aetaric: yeah, but what is the point if its a single point of failure? [02:24] jetole: technically, iSCSI is just block-level storage. we have software iSCSI targets on a few systems [02:24] san is block level storage over networking [02:24] san is almost more but iscsi is san [02:24] well, if you put it that way, yes, that is iSCSI [02:24] *almost always [02:24] as nas is filesystem over the net san is block level which covers iscsi and ata over eth [02:25] I know it's rediulously simple san but it is san [02:25] *rediculously [02:25] still don't know if I spelled that right [02:25] jetole: I'm thinking more about the actual storage on the backend, not the protocol used [02:26] you mean like clusters of DAS etc [02:26] sort-of [02:26] I mean the ability to migrate volumes betweens disks in different physical locations while the data is online [02:26] actual storage management [02:27] was looking at nexenta stuff, but it still cost a bit too much [02:27] ah, for management we use linux [02:27] we have some expensive file servers and maybe getting some DAS extensions later this year [02:28] but linux does what we need [02:28] I use Microsoft Dfs for end-user network CIFS shares. works very well for Windows clients [02:28] oh god know [02:28] I use DFS too [02:28] I guess I need to test if Linux has Dfs client support yet... [02:28] I hate it [02:28] no [02:28] no it doesn't [02:28] use openafs [02:28] haha [02:28] I'm a chanop on #openafs [02:28] :-) [02:28] I hate dfs and when I get the time I will be replacing it with openafs [02:29] I know very little about openafs but I use DFSr and I despise it [02:29] openafs doesn't have read-write replication [02:29] thats what I was refering too, I forgot DFS does not mean DFSr [02:29] be aware of that [02:29] I do use the newer Dfs namespace and Dfs-R replication in 2003 R2 [02:29] the older windows 2000 stuff kind of sucked bigtime [02:29] I use DFSr on 2008 [02:30] I used it on 03 [02:30] not 2000 [02:30] brb [02:30] yeah, I need to upgrade to 2008 [02:30] err, 2008 R2 [02:31] back [02:31] yeah we don't have any R2 yet [02:31] anyways, doesn't openafs do what DFSr does? [02:31] I'm doing the lucid upgrade on a 2008 R2 hyper-V VM right now... [02:32] no, openafs doesn't have ANY read-write replication at all [02:32] just read-only replication [02:32] and its not realtime [02:32] you need to manually "vos release" [02:32] oh that sucks [02:32] yeah, pretty much [02:32] its on the roadmap for afs, but won't be production ready for a couple of years [02:33] so until I see something else, DfsR seems to be the best available for fairly low cost [02:33] I use drbd mostly which does real time read/write at the block level which works great with ocfs and also you can do realtime io on glusterfs to more then two hosts but these are not windows options [02:33] well glusterfs may be [02:33] drbd definitly is not [02:34] so with openafs you can only write on the master server? [02:36] sort-of [02:36] its worse than that [02:36] the afs client prefers the read-only volume be default [02:36] so the RW one has a different path [02:43] your downplaying afs a lot for someone whose an op in that room [02:44] well, its useful, but not as a Dfs replacement [02:44] especially for read-write replication [02:44] and its worse than that, I'm hosting the afs conference this year: http://workshop.openafs.org [02:45] sounds to me like the only real perk is cross platform deployment but what situation would say openafs is good for. Like what type of real world usage would you recommend openafs for? [02:45] well, I just tried an upgrade from 8.04 to 10.04 and that failed catastrophically. apaprently the installer didn't like my old kernel... [02:45] jetole: if you are using it for read-only distribution [02:45] meh, I gave up on the upgrade option years ago. I always do fresh installs now [02:46] I know a company that uses AFS to globally deploy new software to a large number of servers in 2 seconds [02:46] AFS callbacks ensure that new data is read at the same time across all of the servers [02:46] what about say, web content on a server farm? [02:46] that too [02:46] pictage does that [02:46] and I would run openafs server on the same host as ftp [02:47] you should probably ask more in #openafs [02:47] we're probably way off topic for this channel [02:47] another night. I'm going to bed in 10 [03:04] cclausen, re installing :D almost done [03:04] jaypur: cool [03:04] I also re-started the upgrade process [03:05] I first installed the default linux-image-generic kernel in 8.04. I think I'll have better luck with this than the self-built xen kernel I was using before... [03:05] hm [03:05] (luckily going backwards is easywith a VM) [03:06] the 10.4 is with a new resolution i think [03:06] probably different video drivers [03:12] cclausen, finished.... [03:12] now i need to see the ssh if it's working... [03:12] excellent. I'm getting farther in this install too. I think that the installer crashed on me last time and my system was half upgraded [03:15] now i'll change the ssh port [03:15] jaypur: why are you changing the ssh port? [03:16] because my internet service blocks ports like 22, 80.... [03:16] sux BRAZILIAN INTERNET lol [03:16] ah, ok [03:16] that is a good reason :-) [03:17] changed [03:17] do i need to restart ssh? [03:17] I would [03:17] how do i restart the app:? [03:17] invoke-rc2.d ssh restart [03:18] restarts the sshd server [03:18] err, hmm. might not be a "2" in the command [03:18] why the invoke-rc2.d? [03:18] its invoke-rc.d ssh restart [03:18] same as running /etc/init.d/ssh restart [03:19] damn i can't connect [03:19] what error ? [03:20] ssh: connect to host IP port 1010: Connection refused [03:20] firewall ? [03:20] aaaaaaaw noooo [03:20] not again [03:20] @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ [03:20] now i restarted the app right [03:20] what client are you sshing from? [03:20] ... [03:21] and again [03:21] yes, that is an expected error [03:21] from ubuntu the normal ssh [03:21] you are sshing from your ssh to your server ? [03:21] here we go again [03:21] (e.g. to localhost ?) [03:21] im sshing LOL from my laptop to my server [03:21] same internet [03:21] you need to change the known_hosts file on the laptop [03:21] this error has nothing to do with the server side at all [03:22] aaaaaaaaaaaaaaaah [03:22] at the laptop [03:22] lol [03:22] ommfg [03:22] YTEAAAH [03:22] YEAH [03:22] IT WORKED [03:23] cclausen, i love you man ahahhaa [03:23] this is what I was trying to say before [03:23] :-) [03:23] aaah sorry man i was at a bad time [03:23] now i took a bath and everything is cool at my house [03:23] i was having some problems [03:23] sorry [03:23] now i'll configurate apache yeaahh [03:24] cclausen: thanks for helping us here [03:24] no problem [03:24] I'm watching do-release-upgrade do its thing... [03:25] yeah, i am installing it as well now- [03:25] do u use vbox to manage vms? [03:25] i want to learn to use the text-based client of vbox [03:26] I only run VMs in Microsoft products myself, Hyper-V and Virtual Server [03:26] so i can manage it with screen [03:26] yeah, that sounds like a good plan [03:26] ok [03:26] I wish I had a text interface to hyper-v that I knew how to use [03:26] (there is powershell, but I haven't learned all that stuff yet...) [03:27] if u'll swith to vbox i'll be happy to blog my progress so others will learn it. [03:28] write a blog post or something [03:28] or write something on the community forums [03:28] it works [03:29] now should i install mysql, phpmyadmin, php5 and no-ip? [03:29] >D [03:31] hmm.. does anyone know how to get rid of graphical 10.04 boot screen and get a text log? [03:31] hmmm [03:32] i think you can do that at start up manager [03:32] or editing the grub dunno [03:32] ok [03:32] whatever graphical mode is in use now is basically useless in Hyper-V [03:33] %s/s/php5/ruby [03:33] cclausen: i did it in 9.10. [03:34] sudo apt-get install mysql? [03:34] cclausen: i deleted a file from /etc/init.d [03:34] is it ok? [03:34] jaypur: yeah, that should work [03:34] cclausen: but i can't remember it's name [03:34] owen1: I wouldn't do that [03:34] it can end badly [03:35] if you want to prevent something from running, uninstall the package [03:35] mysql php5, phpmyadmin... i think thats all i need [03:35] cclausen: maybe the package is called gdm? not sure.. [03:35] or update-rc.d -f remove [03:35] gdm is the graphical login screen [03:36] scp comes with ssh right? [03:37] should [03:37] openssh-client I think [03:38] i need to transfer some files [03:38] when i was "noob" at the server, i used the ubuntu desktop to manage the files [03:38] now i can do it remotly... [03:38] dpkg -S `which scp` -> openssh-client: /usr/bin/scp [03:38] cclausen: didn't u asked to get rid of the graphical login screen? [03:38] and i want to transfer again remotly... and use all text based [03:38] owen1: yes [03:39] oh, I see, you were trying to answer [03:39] not that screen [03:39] i thing is... [03:39] its the boot one [03:39] before gdm loads [03:40] cclausen: r u talking about desktop or server? [03:40] owen1: server [03:40] cclausen: is the server coming with gdm? [03:41] not that I can tell [03:41] its before gdm would load [03:41] its a screen with the words Ubuntu 10.04 in the middle [03:41] maybe it is grub [03:41] I will have to look around [03:41] cclausen: why do u want to get rid of it? [03:42] the screen updates at like one line in 5 seonds [03:42] very annoying to try and use [03:42] e.g. the video mode is too slow to use [03:45] to run a complete web server... [03:45] what do i need? mysql, phpmyadmin, php5.... anything else???? [03:45] real web sevrer runs on ruby (-: [03:46] jaypur: apache2 is a real webserver [03:46] you don't need php or mysql [03:46] jaypur: u might need nginx/apache [03:46] well, ht grub2 install rendered my vm unbootable [03:46] time to find an iso to boot from... [03:46] because some applications need mysql... but when i look at the tutorial they tell to install phpmyql some sh*t like that [03:47] cclausen: u use alternace CD, correct? [03:47] alternate [03:50] jaypur: http://suds.blogsite.org/content/installing-drupal-run-home [03:50] handheldCar, thanks [03:50] I use the server cd [03:51] oh no. not drupal! [03:51] that is the way to much pain [03:51] vi and html files are all you need [03:51] much safer that way [03:51] well it's good to learn cms [03:52] maybe, but its a pain to keep up to date [03:52] and can quickly turn into a security problem [03:53] it's praised as easy, but it becomes a pita every now and then. [03:56] jaypur: might be a good read for you - https://help.ubuntu.com/community/SSH?action=show&redirect=SSHHowto [03:56] owen1, bookmarked! [03:57] scp: .: not a regular file [03:57] everything is going wrong and i do all the same HAHAHA [03:59] What is scp? [03:59] it's an app to transfer files from your pc to your server by ssh [04:00] what are you copying? I just download things to my server. [04:00] a .zip [04:01] i really need to copy it now because i have to go to sleep and start the server lol [04:01] counter strike server lol [04:02] handheldCar: short for secure copy [04:03] jaypur: you can also use it to get stuff from your server. [04:03] i use sftp username@server.ip.address [04:03] yea i now [04:03] put filename.zip [04:03] handheldCar, but you need to configure the ports for ftp? or get a ftp client? [04:03] scp -r username@server.ip [04:04] i want to transfer a file from my pc to the server [04:04] sftp is part of ssh [04:04] scp -P 1010 /home/users/file.zip user@ipadress: /home/user [04:05] u shouldn't have to specify either home directory path. [04:06] what should i do? [04:06] one of the above and report back [04:08] lol it's working now [04:08] :) [04:08] but didn't put any path to the server, it will tranfer to what folder? [04:08] ~ [04:08] jaypur: home i believe [04:09] thanks [04:09] it's so simple, ah? [04:10] i've already done it... but i forgot... hahaha [04:10] i love linux [04:10] :) [04:10] tomorrow i'll set the mysql... [04:10] i'm too tired... [04:10] i'll just set the counter-strike server on [04:13] cclausen: i found this link to automate deployment of many ubuntus. might be helpful insteald of FAI - https://help.ubuntu.com/community/AutomatedNodeDeployment [04:18] now i'll sleep [04:18] thanks a lot guys [04:18] you made my day === erichammond1 is now known as erichammond [04:24] come back tomorrow! [04:26] yeah [04:26] just got back [04:26] i was brushing my teeth [04:26] i think my server is faster now [04:26] i put [04:26] nice -n -20 to counter-strike server [04:27] now it's aaaaaaaaall riteee [04:27] thanks a lot everyone [04:27] come back after flossing [04:27] have a good nite, and weekend.... [04:28] hahahaha [04:28] it's actually double meaning - floss = free libra and open source [04:29] lol [04:29] nice [04:29] now i'll go [04:29] bye man [04:29] see ya [04:29] take core [04:29] care [04:36] ok, not a fan of grub2 [04:49] cclausen: what's going on? [04:49] got grub1 reinstalled [04:49] and system is booted [04:49] seeing why apache isn't starting now [04:50] something about suexec requiring a wrapper [04:51] you uninstalled grub2? [04:51] no [04:52] I booted to a boot cd to fix grub [04:52] the chain load works [04:52] the remove legacy part does not [04:52] apparently there is a new apache2-suexec package [04:52] I'd consider having suexec in config files and the upgrade not installing the package a bug [04:54] why do u use apache forL [04:54] ? [05:05] why do I use apache? [05:05] its a web server [05:05] I need one [05:06] nginx is better in terms of cpu usage - http://www.joeandmotorboat.com/2008/02/28/apache-vs-nginx-web-server-performance-deathmatch/ [05:07] and it's very easy to configure [05:07] no, its not [05:07] I need mod_auth_kerb [05:08] and I need suexec functionality [05:08] got it [05:08] and does that handle .htaccess files? [05:08] I've seen people use nginx as a proxty, but I don't think it is a good general web server for a multi-user hosting environment [05:11] i want to install it but not sure about multi-user hosting [05:12] Why is allowing PHP in ~/public_html when mod_userdir is enabled considered a security risk? [05:13] b/c any user can access any others user's code [05:13] unless you take care to really lock down php [05:14] and you can't use suexec with mod_php [05:14] (I use mod_fcgid and suexec for php) [05:15] How could one user access another user's PHP code? (you mean to edit right?) [05:16] I suppose they might allow that by accident, or not knowing what chmod o+w does [05:17] no [05:18] if the web server can read it, I can read it [05:18] I can grab files that list things like mysql database passwords [05:18] don't need write acces to cause problems [05:18] and ifthe web server has write access its a problem [05:19] ah, right [05:28] Any one got any guides on compiling apache2 on 10.04? [05:29] (Or any version) === rgreening_ is now known as rgreening [06:02] Why not just use the packaged version? [06:06] New bug: #572792 in php5 (main) "php5 is 5.3, but not fully supported by Drupal6" [Undecided,New] https://launchpad.net/bugs/572792 === Mike||gone is now known as mikelifeguard === erichammond1 is now known as erichammond [09:46] New bug: #572860 in dbconfig-common (main) "package dbconfig-common 1.8.44ubuntu1 failed to install/upgrade: el subproceso script post-installation instalado devolvió el código de salida de error 1" [Undecided,New] https://launchpad.net/bugs/572860 [10:04] Assuming that `host` gets its information from the locally running `named`, how can I flush the cache so that it picks up an entry that every other DNS server is seeing [10:04] Also I don't know why it would cache a not found response so aggressively, but that's a separate issue [10:09] Bilge_: Shouldn't a caching DNS go out and fetch unknown DNS entrie ? [10:10] from its DNS :) [10:13] What === Bilge_ is now known as Bilge [10:19] i usually delete /etc/init/gdm.conf so i will not see the graphical login manager and have a text-based login. is this the correct way? [10:20] owen1: You could just disable the gdm and/or xdm from the init system [10:21] New bug: #572881 in mysql-dfsg-5.1 (main) "package mysql-server-5.1 (not installed) failed to install/upgrade: subprocess new pre-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/572881 [10:24] Question: can Ubuntu Server feed an internet style cafe? [10:35] Johnlvpl [10:44] Schmidt: can u elaborate? [10:45] owen1: there is a tool called update-rc.d which one can use to disable for example gdm [10:46] used like "$ update-rc.d gdm remove" [10:46] Schmidt: awesome [10:47] owen1: and I should upgrade the server to 10.04 soon :) [11:08] Guys is ubuntu server be appropriate to run an internet café [11:11] hello all [11:11] from where can I get the pxe files for the lucid ? [11:14] johnlvpl: yes. the internet cafe module was added since 9.04 [11:16] lucid was installed, i am restarting and hopefully will u see u all in 40 seconds (-: [11:20] has anyone tried lvm install with lucid because i've tried twice and /root doesn't get recognised, not sure if it is a problem with lucid or grub considering in 8.04 I had lilo as my loader, anyone had the same issue? [11:26] works! [11:27] Hi guys can ubuntu server run an internet cafe [11:28] johnlvpl: don't see why not - even win95 could do that :) [11:29] has anyone tried lvm install with lucid because i've tried twice and /root doesn't get recognised, not sure if it is a problem with lucid or grub considering in 8.04 I had lilo as my loader, anyone had the same issue? [11:30] Pirate_Hunter: it doesn't help very much to repeat the question - people usually can read [11:30] royk: I want to steer away from a windows environment and have something that is secure; reliable and has the appropriate monitoring tools [11:30] if they can't, it matters even less :þ [11:31] johnlvpl: do you want the server as the router/proxy or what? [11:31] thin terminals? [11:31] royk: was looking at a solution that offers desktops, thin clients and a wifi access [11:32] look into LTSP [11:32] if wifi access is something you're gonna sell, dunno any standard solution, but it should be trivial to write one [11:33] looking at ltsp now thanks royk [11:33] Pirate_Hunter: i just installed xubuntu lucid [11:35] Pirate_Hunter: /root or /? [11:36] Pirate_Hunter: is /boot on a separate filesystem? [11:36] RoyK, yup [11:36] yup what? [11:38] RoyK, im doing a raid 0 with lvm, /boot is on raid1, the rest on 0, on top of that I've got lvm as i.e. /, /home, /var... etc but /root is the only one not being recognised on boot [11:38] out of interest - why would you have /root on a separate filesystem? [11:39] also, raid 0 is playing with matches and petrol [11:41] disks die, it's in their nature [11:42] RoyK,, why wouldn't I? It is the setup I chose on top of that the only thing I can find for my problem on google is this link http://www.mail-archive.com/ubuntu-bugs@lists.ubuntu.com/msg2183075.html but I aint using a powerpc. On top of that raid 0 works quite well under 8.04 wouldn't know why lucid would be any different aand this are new disks [11:43] Pirate_Hunter: /root should be on / since you want it to exist in case of a non-root-filesystem failure [11:43] raid0 surely works, I'm not saying that, but it's not really safe [11:45] RoyK, /root is mounted as / just typed it as /root as its simpler to understand in my opinion, I understand 0 aint the most safest but for what I am doing it is a good choice, just wondering if you would know why / isn't being picked up instead sending me to busybox intiframs [11:46] might be a grub2 failure [11:46] there have been boot problems with grub2, at least in the alpha/beta stages of lucid [11:47] cclausen had some issues with grub2 a few hours ago [11:48] owen1, :D [11:49] cclausen, :D [11:49] I'm suspecting it could be grub could never get it working on 8.04 so went by the default choice of lilo as I gave up installing grub manually, however lucid doesn't give an option for lilo. Well im wiping the disks again and will try to the procedure again hopefully I'll be able to identify the problem [12:07] I've come across a very strange problem with my server. I just upgraded it from 9.10 to 10.04, and the server is now no longer booting - can't SSH in, no video is being displayed on the physical monitor, not responding to pings. The hard drive is active, as I can hear it, and there appears to be some sort of network activity, but I cannot interact with the machine at all. [12:13] Database: du you have a serial port on the server? [12:13] mcas: Not that I know of. [12:14] The server's an old IBM NetVista, see. [12:14] can you boot into a live cd [12:15] I would have to check - the CD drive wasn't responding, but I think that's simply because it wasn't plugged in. Hold on, I'll go try. [12:20] Hmm. It looks like there's not even any video output at POST. [12:23] but POST is still readable? [12:23] No. [12:23] There's no output at all. [12:24] I turn the server on, everything spins up - the CD drive, the hard drive - but there's no indication as to what it's actually trying to do. [12:24] strange idea but ... is it possible that the video card is broken? [12:24] I hope not - it's onboard! [12:25] But it is a distant possibility that it's somehow been fried without me noticing. [12:27] I suppose the logical next step would be to dig up a graphics card and see what happens. === wolgiee is now known as blogggger [13:51] I have enabled mod_rewrite with a2enmod rewrite and restarted apache... Is there anything else I need to do to get rewrite working...? [13:52] I seem to remember I had to change a setting somewhere but can't remember where... [14:13] change AllowOverride in sites-available/ [14:20] Have done still working - Druapl is saying it is not configured... [14:20] not working [14:20] have you restarted again? [14:20] yup [14:22] hello all I'm configuring a PDC but when I try to add a Windows machine to the Domain I put the username/password of the domain admin and it says the username is unavailble [14:27] wathek: I guess #samba would be of more help [14:31] RoyK, ther's no samba 3 for lucid ? [14:35] Hi all, i am a happy user of ubuntu server, currently 8.04 , which benefits are there of upgrAding to 10.4? Thanks [14:42] Pirate_Hunter: https://help.ubuntu.com/community/Server/TechSpecs/new plus the things mentioned in http://www.ubuntu.com/getubuntu/releasenotes/1004 [14:43] meh, I meant Piros83__ but I was obviously too late [14:56] I got a problem I couldn't login to my ubuntu-server it says Login tamed out after 60 seconds [15:06] New bug: #573048 in openldap (main) "package slapd 2.4.21-0ubuntu5 failed to install/upgrade:" [Undecided,New] https://launchpad.net/bugs/573048 [15:06] New bug: #573049 in openldap (main) "package slapd 2.4.21-0ubuntu5 failed to install/upgrade:" [Undecided,New] https://launchpad.net/bugs/573049 [15:07] Any recommendations on how to backup Amazon EC2 instances? [15:28] I need to purge courier-authdaemon so I can rebuild it from source so I can work around an incompatibility in an old packaged version. but when I try to do that I get this error: http://pastebin.com/wiBbvUC8 [15:28] any thoughts/hints? [15:34] i just installed dovecot-postfix, how do i create email users? === dendro-afk is now known as dendrobates === 40FAAUE7J is now known as dendro-afk [15:51] i all, i am a happy user of ubuntu server, currently 8.04 , which benefits are there of upgrAding to 10.4? Thanks [15:53] PirosB3_, the main benefit i saw was the screen resolution, and i think it's faster [15:55] Great :) although i dont hAve X installed, only ssh. Do you think upgrade could screw something? Thanks :D jaypur [15:58] PirosB3_, look my friend... [15:58] Hi, I've installed ubuntu 10.04 and migrated my kvm guests from gentoo, but now they are not working anymore [15:58] the error is: internal error cannot parse QEMU version number in '' [15:58] what does that mean? [15:58] i don't know, i can't give you a word that would screw anything... but... dependes how you upgrade it i think... i use X with ssh.... i installed nautilus at my server so i start ssh -X ip... and sudo nautilus :) [15:58] PirosB3_, [15:58] I could not found anything, also I could not found a bug in launchpad [15:58] ukev: it probably means "I'm allegic to gentoo! go away!" [15:59] the guests are ubuntu... [16:00] Thanks jaypur [16:00] PirosB3_, you're welcome :D [16:02] ukev: sorry - I just don't know - don't use kvm [16:02] s/don/I don/ [16:03] RoyK, I thought kvm is the preffered way for virtual machines in ubuntu since it dropped support for xen and openvz and a few more.. [16:06] ukev: It is [16:06] (btw. I'm using kvm with libvirt) [16:06] RoyK just isn't using it [16:06] and it seems like a libvirt error message [16:09] I tried to start the virtual machine with virsh and through virt-manager - both times same error message, I also created a new virtual machine because I thought the config file syntax has changed but there is the same error message [16:11] ukev: https://bugs.launchpad.net/bugs/490370 http://bugs.gentoo.org/show_bug.cgi?id=294169 http://osdir.com/ml/libvir-list/2009-05/msg00192.html http://www.mail-archive.com/libvirt-users@redhat.com/msg00107.html [16:11] Launchpad bug 490370 in libvirt "Cannot start guest with emulator wrapper" [Undecided,Invalid] [16:11] http://lmgtfy.com/?q=internal+error+cannot+parse+QEMU+version+number+in+ubuntu [16:12] is kvm really as good as xen these days? [16:13] RoyK: Not from my expierence [16:13] Xen is far superior for 99% of things. [16:13] Especially for VPS's. [16:15] AdamDV, thanks, I found these ressources, too, but I could not find a solution in it. I don't want to pass usb inside a machine and I don't need a wrapper script [16:16] Heh. [16:25] ok, I figured out that it will start if I disable apparmor like the one in the launchpad bugreport, but I don't use any custom wrapper script [16:25] the emulator entry points to /usr/bin/kvm [16:30] ok it works now after removing the tag [16:30] thanks [16:34] Anyone know what Ubuntus apache2 --prefix is? [16:39] hello i need to change the colors of the Server terminal any leeds? [16:40] PhoenixSTF: Your $PS1 variable, and your ~/.bashrc [16:40] And your terminal profile ;) [16:41] so i gotta change the .bashrc file [16:43] yES [16:43] *Yes :| [16:43] any simpler way?? its a work my brother gotta do for school so there is no simpler way? [16:46] No. [16:46] Unless you change your terminal profile. [16:46] and everytime i reboot the server the collors will stay? [16:47] Yes [16:47] But, only you will see them. [16:48] ya but thats on command screen not on gui [16:48] so no problem right [16:49] well ive give a try [16:49] thanks a lot adam [16:49] :D [16:49] cheers m8 [17:10] I should check my screen more often :/ [17:19] after nearly 2 days of trying still no sucess of automatically skipping mount errors on boot with 10.04 [17:22] AdamDV: where you asking for apache2 --prefix at compile time? [17:22] cclausen: Nevermind, I've decided to rebuild the deb instead of compiling [17:22] AdamDV: you can apt-get source for the packages and look at the rules file [17:23] I don't think there is a single --prefix. more likely various places where specificed to match debian policy [17:24] cclausen: Thats what I did :) [17:24] what did you need to change? [17:25] b/c just rebuilding the deb straight up is the same as just installing the provided package [17:25] --suexec-docroot and --suexec-html [17:25] I changed those two in the debian/rules [17:25] there is now a custom suexec package [17:25] And incremented the version and wrote my changes in the changelog. [17:25] that I thought let you do things like that [17:25] If there is, its too late now. [17:26] But, Its still a good idea to rebuild the deb, because I'm going to put it on around 100 or so servers. [17:26] http://packages.ubuntu.com/lucid/apache2-suexec-custom [17:26] (Were setting up a hosting infrastructure) [17:26] * AdamDV clicks [17:26] using it in more places I'd say its better to NOT rebuild it yourself so that normal security updates will apply [17:28] Hmm [17:29] How would I use apache2-suexec-custom ? [17:41] just wondering how to restart authdaemond. I'm getting this error. http://pastebin.com/f9vTy7V7 [17:49] cclausen: If I install apache2-suexec-custom do I also have to install apache2-suexec [17:54] I'm tryng to install Lucid 10.04 64b from pendrive in a hp proliant DL 145 G3, but after choose a keyboard layaut, i can't go ahead because the instaler can't find the packages in a "cd-rom" [17:54] Am i missing someting ? [17:55] i'm think that is impossible for the instaler detect a cd-rom if the machine dosen't have one... [17:55] i build the bootable usb using unetbootin, any tips ? [18:09] AdamDV: I am not sure. I assume it would pull it in as a dependancy if it was needed also [18:13] W00T! [18:14] nano on Lucid has syntax highlighting :D [18:28] failover: is there a netinstall package that you can put on the usb drive instead of using a cd-rom based one? [18:31] cclausen, i already got a solution, https://help.ubuntu.com/community/Installation/FromUSBStick [18:32] cclausen, i start the install with this command: "install cdrom-detect/try-usb=true [18:40] hey, can you guys help me with a noob question, i tought i understanded this, but apparently i don't [18:41] I can't write stuff on a folder in my server for some reason [18:41] hold on, i'll post it on pastebin [18:41] amstan: that isn't very descriptive at all [18:43] http://pastebin.com/RxkgVCPs [18:43] cclausen: that link should provide more info [18:43] amstan: the "+" in the ls output means there are ACLs on the files [18:43] cclausen: yes, i want to add that too [18:44] cclausen: http://pastebin.com/AGcEkhHX [18:44] i just did a chmod 770 on all of those files [18:44] i tought they should of changed the acls [18:45] man acl [18:45] man setfacl [18:45] man getfacl [18:45] and see if that helps [18:45] chmod won't change the ACLs [18:45] that is kind of the point of the ACLs [18:46] cclausen: so i'm to understand that they'll complement eachother and unless both give permissions for something, the action is denied [18:46] yeah, basically [18:46] ok [18:46] you can setfacl --remove-all to get rid of the ACLs, but this can have complications. [18:47] you might need to run that as root, assuming you have root access [18:47] yes [18:47] (or your computer may use a different ACL scheme entirely) [18:47] looks like your ACLs only allow write to the owner [18:48] another question, is it possible that some sftp clients will ignore the acl settings? [18:48] what do you mean ignore? [18:48] most sftp clients won't know that ACLs exist [18:48] ok, nvm that [18:48] but they won't allow you to just write there anyway [18:48] i still have the same issue with the denied [18:48] i just did a --remove-all [18:49] are you sure it worked? [18:49] getfacl still reports group::r-x [18:49] wait.. what? [18:49] even the chmod is wrong now [18:49] try with setfacl -d --remove-all [18:50] let me ask, why were acls setup in the first place? [18:50] if you don't want them, don't use them [18:50] cclausen: because i have multiple users writing files to places [18:50] you can remove "acl" from the mount options in fstab and reboot [18:51] it's usually through stuff like samba [18:51] normal unix permissions should work for most cases [18:51] unless you have a specific reason to use them [18:51] I mean they work, but you have to know what you are doing [18:51] well.. the problem i have is that when a user creates a new file, none of the other users can edit it [18:51] and it's supposed to be a public folder [18:51] so create a group for the users, put everyone in it [18:51] and have th user chmod g+w [18:51] and possibly chgrp it if needed [18:52] they usually do the file stuff through samba [18:52] oh, well, that is a different problem if its through samba [18:52] it's a family server, i can't expect my mom or dad to chmod stuff [18:52] erad the samba docs to figure out how to set the acls correctly [18:55] i think cclausen has it right, if your family is on windows, you take their usernames, and create the same usernames on the solaris, put them in a group, and chmod/chgrp the folder with the group's goahead [18:56] i am on that part right now setting up a zfs fileserver, i am going to try to get osol added to a win2k8r2 active directory and get idmap to do all the stuff [18:56] New bug: #573166 in samba (main) "package winbind 2:3.4.0-3ubuntu5.6 failed to install/upgrade: il sottoprocesso vecchio script di post-installation ha restituito lo stato di errore 2" [Undecided,New] https://launchpad.net/bugs/573166 [18:57] oops sorry i thought you were using zfs [18:57] although the same might apply [18:57] here's a problem i had: i uploaded photos on the server with samba, and all the files would just get alex:alex 775 [18:57] same with sftp [18:58] so nobody else could edit them, even if the parent dir was writable by others [18:59] acls seem to be working [19:11] vraa_: unless I'm missing something, there is no native zfs support for linux [19:11] ya sorry i thought we were talking about osol [19:12] vraa_: this channel is titled ubuntu-server [19:21] Is there an image from which I can install that VM-optimized kernel, rather than the standard one? [19:23] there is jeos version of ubuntu [19:23] not sure if its been updated for 10.04 yet or not though [19:23] Ah, I think that is the one, isn't it? [19:24] 2/b 18 [19:24] heh [19:24] I'm using the linux-image-generic under Hyper-V and it seems to work [19:25] Oh, it does work. I'm just looking for something efficient. [19:25] * amstan is installing zoneminder [19:25] This whole mess happened because I decided to take the "easy" way out and use vmbuilder to build VMs. Which turns out, if you're not using bog-standard options, to just completely ignore what you asked for half the time. Of course you only find out ten or fifteen minutes later. [19:28] amstan: whats zoneminder? [19:29] so jeos is better to use for a VM than standard ubuntu-server? [19:30] AdamDV: this cool video security program [19:30] it has a web interface [19:30] nise [19:30] so you can install cameras around the house and so on [19:30] yeah, look it on wikipedia [19:31] Yeah, the jeos kernel (which is just a standard package, if I understand correctly) is leaner and uses virtual devices in preference to emulated "real" ones. [19:33] you add '--flavour virtual' to the vmbuilder's options [19:33] btw, anyone know how to fix the "'Access denied for user 'debian-sys-maint'@'localhost' (using password: YES)'" error? [19:33] i reinstalled the os, but copied over the /var/lib/mysql/ folder [19:33] * scar wonders if --flavor works [19:33] so the user account has a different password, where can i find what password ubuntu is trying to use? [19:34] scar: Yes, but vmbuilder has been my Big Pain In The Ass for like a day now, which is why I'm wanting to avoid it. Though if you can make it work for me, I will send you money for beer. [19:34] --add-colourful-flowers [19:34] cjs, what else has been a problem? [19:35] https://bugs.launchpad.net/ubuntu/+source/vm-builder/+bug/573171 [19:35] Launchpad bug 573171 in vm-builder "vmbuilder sometimes ignores --raw option" [Undecided,New] [19:36] It's simple, I would think. I want to build on a block device (in this case, an LVM volume). I want it to use the whole darn thing. [19:37] But I think that vmbuilder's command line parsing (and I only got to this after misery with using an options file) is so buggy that it's rather hopeless for me to try to get it to build what I want. [19:38] * amstan has fixed his mysql problem [19:38] hmmm... well i will be setting up a server with several VM's so i'll see what happens. i want to figure out how to use the free space in my volume group as a hard drive and have the VM directly make partitions in it [19:41] scar: You don't want the *VM* to make partitions in it. Just make a logical volume for each "drive" you want to use in a VM, and pass those in as the "drives" for VMs. [19:41] Does that make sense? [19:41] what would be the natural steps to make sound work after install a fresh ubuntu server edition? I did install alsa-utils. turned the sound up, but get no sound [19:42] using mocp for testing sound.. server will become mpd server if I get the sound to work [19:46] btw the package speaker-test would be nice to have in 10.04 too :) [19:46] cjs, i want the VM to make partitions on it, then i can easily resize. i've done what you said but, on the host, the logical volumes still show up as one big unallocated volume [19:46] i think iwant to use a logical volume pool, but i can get it defined right. [19:47] http://libvirt.org/storage.html#StorageBackendLogical [19:47] msantos: Hey! I thought I was the only one in Toronto to use Ubuntu. [19:47] scar: Oh, there's tricks with a loopback mount to actually get the partitions. [19:48] The issue here is that the Linux loopback concept, unlike the BSD one, does not treat the new device as a real disk with a partition table, but as just a partition. But of course when you pass that partition in as a "disk" to KVM, it treats it like a disk. [19:49] But you can confirm pretty easily that you really do have a partition table there. Do an install on to an LVM volume, and then "fdisk -l" it. You'll see a partition table. [19:51] so, when i want to increase the size of a partition in a VM, i can still increase the size of the logical volume. then i can resize within the VM? [19:54] would sound work out of the box normally on a ubunut server?? [19:54] or do I have to install and tweak to make thing workl?? [19:55] scar: Right. [19:55] * scar still wonders what a logical volume would be for [19:56] should "Upgrading Using the Alternate CD/DVD" work as documented in https://help.ubuntu.com/community/LucidUpgrades ? [19:56] I'm contemplating that as a strategy for my next try. Install the standard 5GB partition on the logical volume, and then expand it to fill the rest of the logical volume in some way. Clearly not while the LVM is running, given that it's the root.... [19:56] it starts downloading from the net no matter what I do [19:56] scar: do you have a reference for the idea of a logical volume pool? [19:57] (I know RAID and disk crap pretty well after 20 years of sysadmin....) [19:57] cjs, just that libvirt.org link above... [19:57] DanC: It will, I believe, always download even newer stuff from the net after it installs the versions from the CD. [19:58] frustrating, since there's a dialog that asks if I want that and promises not to use the net at all if I say no [19:59] scar: Ah! [19:59] DanC: have you considered unplugging the network cable? :-) [20:00] I did 'ifdown eth0' [20:00] and it said "failed to download [zillions of packages]" [20:00] DanC: Let me clarify here: you were using the installer? [20:01] I was using: gksu "sh /cdrom/cdromupgrade" [20:01] scar: That's brill. Libvert can just as easily allocate chunks of an LVM VG as files in a directory. Great. [20:02] is there a more direct path, using aptitude or the like? [20:02] cjs, that's what i thought but i can't figure how to use that block [20:02] DanC: Not sure what that means. What I was thinking of is basically that if you tell your installer that you have network connectivity, it will try to download stuff. Otherwise it won't. [20:03] gksu "sh /cdrom/cdromupgrade" is the command given under https://help.ubuntu.com/community/LucidUpgrades#Upgrading%20Using%20the%20Alternate%20CD/DVD [20:03] i.e. "Upgrading Using the Alternate CD/DVD" [20:04] scar: You're working with a VG that's already defined and up and running? [20:05] scar: if that's the case, just MyVG should be all you need.... [20:05] used hours and hours moving music into my new mpd server, and now sound doesnt want to work :\ I dont really know how to start troubleshoot, but alsamixer finds soundcard (irq 17) and everything looks fine, but no sound. testing with mocp .. anyone who's good at this here who can give a hint? [20:06] I can only sympathize, gsfs [20:06] sound is working for me these days, but I've had plenty of trouble like that in the past [20:07] cjs, yes. i tried that... i put it into my vm's XML file in /etc/libvirt/qemu/vm.xml but it disappears when i redefine the xml with virsh [20:08] scar: Doesn't that go in that storage.xml or whatever file? [20:08] cjs, i don't know [20:08] i couldn't find any info where it actually goes [20:09] As in, /etc/libvirt/storage/default.xml? [20:09] how do I upgrade from 9.04 to 10.04 in one jump ? [20:09] Yes, I'm almost certain. [20:09] trying cdromupgrade again... here's the "Include latest updates from the Internet?" dialog text: http://paste.pocoo.org/show/208565/ . note "If you answer 'no' here, the network is not used at all." [20:09] (How did I find out about that file? etckeeper is your friend. :-)) [20:10] cjs, so there is already a in there... should i just delete that whole thing? or add another block underneath? [20:11] i don't store images in directories... [20:11] I'd probably add another. Is there any reason to kill the current one? [20:11] New bug: #573206 in mysql-dfsg-5.1 (main) "upstart script does not load AppArmor profile" [High,Confirmed] https://launchpad.net/bugs/573206 [20:11] sudo do-release-upgrade --devel-release downloads the karmic.tar.gz .. i was expecting it dowload lucid.tar.gz [20:11] so I pick no, but then I get a "Do you want to start the upgrade?" dialog that says "You have to download a total of 1,209M." [20:12] I'd guess that the GUI gives you choices and so on...is that what you're using? [20:12] I'm actually tempted to give this a go right now, but I really need to get to bed soon. [20:12] It may only be 2 a.m. in India, but it's 4 a.m. in Japan..... [20:14] DanC: And this isn't just a brain-fart from someone who didn't realize that you "download" upgrades from the CD as well? [20:14] no... my network definitely goes busy [20:14] Hm. [20:14] and as I said earlier, when I "ifdown eth0", it failed [20:14] Errr...."Welcome to the f**ked by Ubuntu club?" :-) [20:15] (More seriously, I can't see where you could be going wrong here.) [20:15] what is this "do-release-upgrade" you speak of? should that work? [20:17] DanC: are you talking to me? [20:17] I guess so. [20:17] * DanC sees it documented as a server upgrade deely on https://help.ubuntu.com/community/LucidUpgrades ... gives it a whirl... [20:17] DanC: do-release-upgrade should work for upgrade .. yes [20:17] Well, thanks for the help. Night. [20:18] DanC: my question was if i can do the upgrae from 9.04 to 10.04 in one jump w/ do-r-up [20:18] can I expect do-release-upgrade to find packages on /cdrom ? [20:18] DanC: it upgrades over the network [20:18] u can add your cdrom as a repo later [20:18] felgercarb: "You have to download a total of 1748M. This download will take about [20:18] 34 days 1 hour with your connection. " [20:18] DanC: ^ [20:19] I'll be old later [20:19] DanC: that number changes a lot.. i saw it jumped from 20 hrs to 1 hr.. it is dynamic calculation.. not perfect.. [20:19] is there seriously no way to upgrade from an .iso image? [20:20] DanC: if you have flaky network.. that number will be changing a lot [20:20] DanC: there is using the alternate iso image [20:20] do tell... I have the alternate iso image [20:20] DanC: according to the upgrade url [20:20] !upgrade [20:20] For upgrading, see the instructions at https://help.ubuntu.com/community/UpgradeNotes - see also http://www.ubuntu.com/getubuntu/upgrading [20:21] DanC: https://help.ubuntu.com/community/LucidUpgrades [20:21] DanC: Upgrading Using the Alternate CD/DVD [20:21] clean install of ubuntu 10.04 on boot im sent to busybox with initramfs due to the fact it doesn't pick up / on lvm, how do I go about correcting this? [20:21] yeah... that's what I've been trying to do [20:22] I run cdromupgrade and say "no, I don't want stuff from the net" but then it tries to grab stuff from the net anyway [20:22] DanC: if that fails .. you could just do do-r-u [20:22] round and round we go... will do-r-u get packages from the mounted .iso image? [20:23] DanC: no.. you have to add the cdrom iso after you finish upgrade. [20:23] DanC: add cdrom as your repo.. after you finish upgrade [20:23] then there's no way to upgrade from an .iso image. QED. crap [20:24] DanC: i already told you everything you need to know [20:24] DanC: don't expect different answer by asking it again [20:25] do you acknowledge that I have followed the "Upgrading Using the Alternate CD/DVD" instructions to the letter and it doesn't work? [20:25] DanC: does not work does not say much.. state what you experiencing exactly [20:26] DanC: if someone experience the same issue .. then you probably can get more help [20:26] * DanC looks to see if axisys joined since the 1st time I said exactly what I'm experiencing... doesn't look like it [20:27] DanC: if you explained and got no help yet, then you might want to post it in mailing list [20:28] DanC: usually people are very helpful there as well and you get a broader audience [20:29] re your 9.04 question, axisys, while researching my problem, I see: "Please note that you cannot upgrade directly from a version that is earlier than 9.10." in http://hubpages.com/hub/Ubuntu-Offline-Upgrade [20:35] DanC: thanks [20:35] nice page ;-) [20:35] unfortunately, that article gives exactly the same instructions for my case... but yeah... with nicer decoration ;-) [20:36] * DanC considers a clean 64bit install [20:37] DanC: for desktop or server? that 64 bit [20:37] desktop [20:37] DanC: i would highly recommend otherwise.. and highly recommend 64bit for servers [20:37] DanC: lots of plugin wont work [20:38] DanC: i have been using ubuntu for 4/5 years.. and every time i go that path i suffered [20:38] I mostly use my mac for consumer-mode plug-in stuff... but... I do like to watch hulu and use skype on linux [20:39] DanC: my unsolicited advise :-) [20:39] DanC: hulu / skype both works with 32bit.. somecase performance is bad with 64bit on desktop [20:40] do you mean "works with 64bit"? (of course it works with 32bit) [20:41] DanC: no i thought you are doing 64bit for hulu.. nm [20:42] I'm considering 64bit and wondering whether hulu will still work [20:42] * DanC finds a bug that might be relevant to my situation... https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/571968 [20:42] Launchpad bug 571968 in update-manager "upgrade from 9.10 Karmic to 10.04 Lucid aborted (dup-of: 529318)" [Undecided,Invalid] [20:42] Launchpad bug 529318 in transmission "Removing transmission-daemon breaks dpkg" [High,Fix released] [20:47] that's probably not exactly my problem, but it does tell me where to look for some log files, in which I find: [20:48] 2010-05-01 14:10:23,159 INFO ignoring missing '/cdrom/dists/lucid/restricted/debian-installer/binary-i386/Packages' [20:48] I have a Packages.gz there instead. that should work. [20:49] 2010-05-01 14:10:23,245 DEBUG AptCdrom.add() returned: True [21:02] does anyone know how I access cherokee-doc after I install them? I know I can read them using nano but they look like I should be able to access them as web pages [21:15] is anyone using a cherokee web server? === zorzar_ is now known as zorzar === erichammond1 is now known as erichammond [21:32] I upgraded my home server to lucid, and now almost every php script (drupal, ampache, gallery2, and so on) are all jacked... is there a major change in the way php behaves in lucid I need to be aware of to correct potential problems in upgrading? [21:34] i've changed the hostname on my jaunty mail server but postfix seems to still be sending mail as the old hostname. how do i fix this? [22:00] New bug: #573222 in php5 (main) "php5 session.save_path moved to /tmp" [Medium,Confirmed] https://launchpad.net/bugs/573222 [22:08] marshall: I often have to edit /etc/mailname to fix that [22:08] alienseer23: can you be more specific? What exactly doesn't work? [22:10] cclausen: in ttrss, I get this "Sanity check: invalid RPC reply" which from my understanding means that the backend is not, for some reason, giving the frontend valid xml [22:10] cclausen: for starters :D [22:10] alienseer23: just create a simple file that calls phpinfo(); does that work? [22:10] hi, does the installer for the server branch come with lvm and crypt options? [22:10] I cannot even log into the reader to export my feeds [22:11] cclausen: yes [22:11] alienseer23: did you over-write your php.ini when prompted during the upgrade? Or are you using the original one that you had? [22:11] cclausen: original [22:11] yeah, well, I'd look into that [22:12] there should be a new in teh same directory with a different extention [22:12] also, does running php5 -v produce any warnings? [22:12] or running php5-cgi -v ? [22:12] cclausen: I have always retained the original, let me go look into diffs and be back [22:12] hang on [22:12] (are you using mod_php?) [22:13] yes there are a few warnings [22:13] artisan: I think that lvm and crypto are there in server too. I don't use those options though. I'd say to just boot it and see [22:13] alienseer23: yeah, fix the warnings and I bet most ofthe problems will go away [22:13] "PHP Deprecated: Comments starting with '#' are deprecated in /etc/php5/cli/conf.d/idn.ini on line 1 in Unkn [22:13] " [22:14] alienseer23: just edit that file, find the "#" and replace with ";" [22:14] ok, hang on :) [22:14] its likely the top line of the file [22:14] * cclausen just did that last night [22:15] cclausen: yeah, i am just downloading the server is onow, but wanted to save bandwidth, as I had to download alternate iso 4 times, to realize that it just won't boot from usb stick, so now going for server :) [22:17] cclausen: um... "PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626+lfs/pcntl.so' - /usr/lib/php5/20090626+lfs/pcntl.so: cannot open shared object file: No such file or directory in Unknown on line 0" [22:18] How does one go about resolving this? [22:18] alienseer23: you'll have to comment that out. that means you custom compiled something, probably via PEAR. you'll need to recompile for this system [22:19] indeed [22:19] I had to do that with the Oracle oci8 driver [22:19] I do remember [22:19] where is that to comment out tho? I am feeling a bit like a blind man looking at that...I see nothing [22:20] cd /etc/php5/conf.d [22:20] grep pcntl.so * [22:20] (I assume anyway) [22:20] lemme go check that out [22:20] there is likely an extention=/path/to/file somewhere that loads that module [22:21] marshall: /etc/mailname or /etc/postfix/main.cf [22:23] now I have to try and remember why i needed that extention to begin with [22:23] heh, notes...must take notes [22:27] cclausen: ok, no more php warnings when I do the php5 -v command, but I still get the tt-rss error [22:28] alienseer23: can you run that specific script at the command line? [22:28] i don't think so [22:29] alienseer23: can you use wget -S to pull down the erroring url? and pastebin it? [22:32] http://paste.ubuntu.com/426087/ tt-rss spits this out as well [22:32] hmm [22:33] alienseer23: maybe some internal problem with it? Does it need that other php module you commented out? Did you try reinstalling it? or checking on the config? writing a simple test for it? [22:34] hallo! i have a small problem with a full disk (/dev/sda1), i havnt put any files in that partition, but i have deleted alot of files from external disks, i guess that all the files have moved to the trashbin. but i cant find it, iam running Ubuntu Server 8.04. my googlesearches dont give me much of help [22:34] i did a reinstall, completely went over the config file.... the other php module was for another project entirely, and I tried some simple tests, but nothing gives me anything different than what is in the pastbin [22:35] !trash [22:35] The location of Trash has changed since 8.04, it is now located in ~/.local/share/Trash | Looking for the trash in previous versions: ~/.Trash [22:35] alienseer23: ^ [22:36] yeah [22:37] may have found something in tail /var/log/apache2/error.log [22:37] thx alot ubotto [22:41] what you run dpkg -l , what does the "rc" at the beginning mean? [22:43] electro_: means removed / uninstalled but that the config files are probably still there (e.g. package was not purged) [22:43] how do you purge it? [22:43] apt-get remove --purge [22:43] (assuming you have apt) [22:43] that won't work if its already removed though [22:44] or at least it didn't work before maybe it does now [22:45] hmm. That is true [22:45] try dpkg purge ? [22:53] I have dnsmasq set to enforce but when I startup the system dnsmasq runs unconfined... [22:53] any ideas if this is just a bug? === 15SAASDC2 is now known as dendrobates === 77CAALSRA is now known as dendro-afk === dendro-afk is now known as 77CAALSRA [23:11] New bug: #573318 in mysql-dfsg-5.1 (main) "mysql server will not start" [Undecided,New] https://launchpad.net/bugs/573318 [23:30] I have a ubuntu hardy KVM libvirt server. When I run win2003 guest instances with multiple CPU cores, it seems to be causing the node to fail and need a hard reboot. Does this sound familiar to anyone? [23:30] osmosis: are you changing this on win2k3 systems that were running on one cpu? [23:30] osmosis: or are these fresh installs? [23:31] cclausen, it could very well have been changed after install. [23:32] cclausen, a bit funny that it takes out the entire node server though. [23:32] cclausen, im forcing all win2k3 instance to 1 vcpu for now. [23:33] osmosis: sounds like you need to change the HAL in the windows systems [23:33] cclausen, i could see that making sense if the win2k3 wasnt recognizing multiple cpus ... but my main concern is stopping the node from going down. [23:34] osmosis: look in device manager. are the systesm using the ACPI HAL or the "ACPI Multiprocessor" HAL? [23:35] osmosis: or just use a single cpu and live with it [23:35] cclausen, well..im adminstering the node and dont have Admin access to my clients guest instances. So i can easily answer that. [23:36] ah, ok [23:36] cclausen, is there a known instability ? [23:36] meant...can't easily answer that. [23:36] osmosis: windows 2003 is known to have problems if you reconfigure number of CPUs on an installed system [23:37] cclausen, by problems do you mean things that could take out the whole node as well ? [23:37] cclausen, my best hope right now is to migrate off hardy and move to a clean install on different hardware with lucid. [23:39] maybe related to settings as well [23:40] yep, could be === 77CAALSRA is now known as dendro-afk === dendro-afk is now known as dendrobates [23:51] New bug: #573345 in dovecot (main) "dovecot-postfix references cmusieve as a mail plugin" [Undecided,New] https://launchpad.net/bugs/573345 [23:56] when attempting to click on links firefox is attempting to download the index.php file instead of going to the appropriate pages, how do I remedy this? [23:57] alienseer231: use wget -S is the content type set to text/html ? [23:58] cclausen: where do I check that?