[00:00] i just did sudo tasksel install lamp, and after a split second it returned no output and got me back to terminal [00:01] sudo tasksel --list-tasks [00:01] i tihnk it's lamp-server [00:01] list'll tell you for sure [00:01] maybe i dont have tasksel ? [00:02] tasksel --help [00:02] although if you dont have tasksel, it'd error "command not found" [00:02] i have it [00:02] instead of silently failing [00:02] techsupport: You don't do like: sudo taskel install lamp you do: sudo tasksel then it runns and you use arrow keys etc to select the option of LAMP install [00:02] the silent fail sounds like a bug btw [00:02] and tasksel install lamp-server will work [00:02] you dont have to use the curses interface [00:02] tasksel --help for full cli syntax [00:03] genii, ok... but it didnt do anything after i typed sudo tasksel install lamp [00:03] Deeps, yeah that worked [00:03] techsupport: thats because theres no install task called 'lamp', but that silent fail should be considerred a bug i think [00:03] techsupport: syntax syntax and syntax [00:03] blue interface is asking for root user password in mysql [00:04] you have to define it in that screen [00:04] yes, installing packages.... i love it :) [00:04] Deeps: I forgot tasksel had cli options :) [00:05] genii: ;) nothing wrong with his syntax, just his task option ;) [00:05] i gave up on trying to have ubuntu virtual server at home and finally paid for VPS , and its been great since yesterday :) [00:05] i couldnt stop thinking about it at work today [00:05] Just for a spanner, can you not use aptitude, with something like this (I forget the exact syntax) aptitude install ^lamp-server [00:05] Deeps: True [00:05] the ^ goes at the end [00:06] apt-get install lamp-server^ [00:06] owh: There is no metapackage of anything like that [00:06] See :) [00:06] to signify it's a task [00:06] genii: Uh, aren't all tasksel options a task? [00:06] does anyone have a 7.x postgres init script they can share? [00:06] IIRC sudo tasksel $TASKNAME is all you need. [00:06] ScottK, and you'll need tasksel :) [00:08] Right, so just install that first if you don't have it, but I think it's standard. [00:09] ScottK, my point was that you need to install it - but I'll admit that I wasn't all that obvious. Aptitude is everywhere, hence my comment. [00:14] owh: For Intrepid (the one I checked) aptitude is seeded in Standard and tasksel is seeded in Minimal, so they should both be on any Ubuntu system. [00:14] ScottK, cool. Didn't know that. [00:24] can I create a user for mysql server in phpmyadmin ? [00:30] New bug: #314917 in openldap (main) "package slapd 2.4.11-0ubuntu6 failed to install/upgrade: " [Undecided,New] https://launchpad.net/bugs/314917 [01:16] how can i create a new user with phpmyadmin ? [01:17] read its doco? [01:17] or poke around until you find the option? [01:17] techsupport: Add the information to the mysql table, reload the server. [01:17] (or look under privileges) [01:19] damn cant find it [01:21] techsupport: Define "it". [01:21] owh, the option to create new user [01:21] techsupport: Did you not read my comments? [01:21] * Kamping_Kaiser breathes deeply [01:22] Kamping_Kaiser: Should I get some o2 for you? [01:23] owh, no, but fitting techsupport's web browser with a search might make help :) [01:23] Kamping_Kaiser: There is that. [01:23] ok i'm in my database , under operations i see create new table on tabase , is that what you mean ? [01:23] techsupport: No. [01:24] k got it [01:24] techsupport: There are a whole lot of tables within the mysql database. If you cannot see those, then you don't have permission to create or modify users. === geek is now known as Guest59645 === Guest59645 is now known as faileas [02:02] i'd like to get openvpn set up on one of the boxes inside my home lan (modem -> router -> server + other boxen). The server has a single ethernet port- and i'm wondering if i can till bridge- the howto on the ubuntu website assumes you're using your server to do DHCP and have a static ip address- neither is the case for me. anyone can tell me what i'd need to change fromhttps://help.ubuntu.com/community/OpenVPN ? [02:05] faileas: read the official openvpn howto [02:06] you can use a routed vpn with a single nic server [02:07] *nods* [02:07] thats the main thing i wanted to check before i dived into it [02:08] <_dennister> hey channel...having a real problem generating some ssl keys for this new install...a problem i've never seen before [02:09] and the problem is......? [02:09] <_dennister> error message when I type in "openssl rsa -in server.key -out server.key" is twofold: [02:10] <_dennister> 4103:error:02001002:system library:fopen:No such file or directory:bss_file.c:352:fopen('server.key','r') [02:10] <_dennister> followed by a similar error message about lib:bss [02:11] it says there is no server.key file in the current directory [02:12] <_dennister> ok...thanks for the translation...i have to be in a different directory? eg /etc/ssl? [02:13] <_dennister> i've never worried about which directory i'm in before when i generated keys [02:14] _dennister: what howto/manual are you reading? [02:15] <_dennister> https://help.ubuntu.com/8.04/serverguide/C/certificates-and-security.html [02:16] you missed the first command the one to generate the private wey [02:17] <_dennister> lol...how silly of me [02:18] <_dennister> doesn't help that the documentation is now split up into different sections [02:23] <_dennister> jmedina: i started out with https://help.ubuntu.com/8.04/serverguide/C/httpd.html...but that one doesn't tell you how to generate any keys...right away sends you to the certificates howto [02:24] but the certificates howto does [02:24] the httpd only tell you need to create a certificate and a key, I think it is ok [02:24] <_dennister> yes, and that's where i went, like a dutiful documentation-follower [02:27] <_dennister> i know from experience that i don't want this user to have to enter a passphrase, so i did for him what i usually do for myself: generate the passphrase-less key by:openssl rsa -in server.key -out server.key....then i get errors and we're right back where we started [02:28] <_dennister> ^^^ [02:28] _dennister: Error: "^^" is not a valid command. [02:29] <_dennister> you said i missed a step, but which one, and where is it? [02:29] in the "Generating a Certificate Signing Request (CSR)" section [02:30] Whether you are getting a certificate from a CA or generating your own self-signed certificate, the first step is to generate a key. [02:30] tyhat one [02:31] <_dennister> and getting that key is the first step that I'm having trouble with! [02:31] the the warning about the passprashe and the known problems and the how to remove the passprhrase with they command you first typed [02:31] <_dennister> i try to generate the key itself, and i get errors [02:32] with this: openssl genrsa -des3 -out server.key 1024 ? [02:32] <_dennister> similar to that one...further down it says if you want passphrase-less, leave out the des3 switch [02:33] yeap, and what is the problem? [02:33] <_dennister> and type in: openssl rsa -in server.key -out server.key.insecure...that's what i usually do and it's successful [02:33] <_dennister> this time it's not successful...i'm getting errors so can't get a key generated [02:34] but that is not the usual way, unless you have a pre existing key file named server.key [02:35] I have never read that howto, but that is the way to do it [02:36] _dennister: sorry I have to go [02:36] <_dennister> what an idiot.... [02:37] You or him? [02:38] <_dennister> lol...him...i was just gonna apologize to the channel [02:38] <_dennister> he was trying to help, really, but sending me in circles and deepening my frustration [02:39] I can understand the frustration (and I've said worse), but we do try to keep things polite around here .... [02:39] * ScottK reads the scrollback. [02:39] <_dennister> and guess what? i've now solved my problem :) despite him leading me astray...yes, and i'm usually ultra-polite, which is why i was going to make the apology to the channel [02:40] <_dennister> apology... [02:41] Heh. [02:41] What was it? [02:41] <_dennister> it was the genrsa step i hadn't done...the way the howto is written now (and it was also this way in the past) is a problem [02:42] _dennister: Please file a bug against ubuntu-doc so we can get it fixed. [02:43] <_dennister> ok, it's not really a bug though...it's really a simple logical-order problem [02:43] <_dennister> and i seem to remember that I have to reveal my identity and all sorts of stuff like that to file bugs [02:44] If the documentation led you astray, IMO, it's a bug. [02:44] And assuming you are actually Simon Breton it's not like you're particulalry hiding out here. [02:45] <_dennister> the way the documentation is, will work for people, but following it to the letter means that people will be stuck with a passphrase and apache won't load at boot [02:45] <_dennister> and i'm not simon...simon is a 12-year-old gifted kid i'm building this server for :-) [02:45] Right, so at least a warning note or something. [02:46] * ScottK hears a dog throwing up and goes to investigate. [02:48] <_dennister> i'll consider geting another wiki name or something...yes, it does bother this english major when documentation can be better and more logically-organized [02:49] _dennister: If it's actually a problem for you to file the bug, then just pastebin me what should go in it and I'll file it. [02:55] <_dennister> ScottK: thank you. i will; should take me about 5 minutes [03:21] <_dennister> ScottK: http://ubuntu.pastebin.com/m7173edb5 perhaps i've been repetitive, but that's my style: paragraphs and leaving no room for misunderstanding if i can help it. edit as you will :-) [03:22] _dennister: Thanks. I'll look it over. Being painfully clear is fine. [03:26] <_dennister> no probs. i actually like to contribute, but i think more women would contribute and become members of the community if some anonymity options were available, but we're all discouraged from giving handles, men and women alike [04:27] ubuntu-vm-builder doesn't accept my "--firstboot" paramters, except it appears throughout some documentation [04:27] am i missing something? [04:31] Bangers2: Did you install python-vm-builder, or the older ubuntu-vm-builder ? And which script are you actually running? [04:34] Bangers2: If you install python-vm-builder, and use its vmbuilder script, --firstboot should work as documented, at least it seems to here for vmserver VMs. [04:35] Im using hardy with ubuntu-vm-builder package [04:35] does my older script doesnt actually support the --firstboot? [04:37] I only started using VMs recently (in Intrepid) so I don't know the answer to that. [04:46] New bug: #314952 in samba (main) "samba update filed" [Undecided,New] https://launchpad.net/bugs/314952 [04:55] i'm using reading a man page over ssh in putty and instead of apostrophes I see an "a" with a caret over it. anyone know why this is? [04:58] peepsalot: Probably Putty is not Unicode-capable but your TERM setting and locate tell the remote system to use Unicode, or the reverse... [04:58] * ScottK hands peepsalot manpages.ubuntu.com [05:00] Well, that's a workaround... it won't really solve the underlying issue :) [05:00] i should set putty to UTF-8? [05:01] peepsalot: Make sure you have not defined LESSCHARSET to something interesting, play around a bit ... does LANG=C man man work fine, for example? [05:01] peepsalot: If the remote host is using UTF8, yes. [05:01] the remote host is a fresh ubuntu 8.10 server install [05:01] i'm not sure how to tell what it's using [05:02] echo $LANG [05:02] ah ok, utf-8 it is [05:02] If that includes the string UTF-8, then that is a big clue :) [05:04] yeah looks like the apostrophes are showing now [05:04] thanks guys [05:04] Good, you've got it fixed. No problem. [05:07] been running linux on desktop for years, but this is my first headless server to admin. got lots to learn. like how to use screen, which i've been meaning to learn for a while now [05:08] once you can attach,detach, and create new screens, you know enough to get around ;) [05:12] you guys use mc much? [05:13] Not me... but if you used Norton Commander back in the days of MSDOS on 286s, you'll probably like mc :) [05:13] jmarsden: putty IS unicode capable [05:14] Chipzz: Yes, but apparently UTF-8 was not enabled by default on peepsalot's version of it. [05:14] peepsalot: http://anti.teamidiot.de/nei/2007/02/irssi_putty_screen_unicode_utf/ [05:14] that's about putty / screen / irssi [05:15] but may be able to help you [05:17] why use putty instead of a strait ssh connection? [05:17] Kamping_Kaiser: If the local PC is running Windows, with no Cygwin, maybe? [05:18] jmarsden, i took "been running linux on desktop for years" to mean "I'm not currently sitting at a doze box" [05:19] Many people have more than one desktop machine... peepsalot, help us out... are you running Putty under Windows, or under Linux? [05:20] *drumroll* [05:20] ;) [05:20] it's windows. there's no problem to help with at the moment though. :-) [05:20] hello I have a 10GB disk but when I mount it and do df it says it's 4GB, how can I increase the fs please? [05:20] should I use tune2fs or something? [05:21] Alysum, has it been partitioned ? [05:21] Kamping_Kaiser, i am on a windows box at my work. i have all ubuntu boxes at home though [05:21] Alysum: Are you confusing the size of a partition with the size of the disk? Do you understand the difference? [05:21] Alysum, you could check with "sudo fdisk -l" [05:21] well does any of you know/use amazon web services S3? [05:21] peepsalot, :) I've done the 'doze at work for admining servers' thing before. it sucked a lot. [05:22] I have a snapshot of a 4GB volume which I put on a 10GB volume [05:22] parted /device show that it's 10B [05:22] ah, now thats the cause. [05:22] Kamping_Kaiser, doesn't seem so bad really. as long as I've got ssh, whats the difference? [05:22] df -h shows 4GB [05:22] Ah, OK. You would need to do something like boot from CD and then use a partition resizer to resize the 4GB partition [05:22] peepsalot, workspaces, keyboard shotcuts, tools to do quick local checks of scripts, etc, etc [05:22] Is this a local machine to you? [05:22] no no Im using console on a remote server :) [05:23] Wow, then I think you messed up; I do not know of a good way to resize the running root partition... [05:23] are you sure it needs resizing since parted shows 10GB already? I assume thats the size of it but FS doesnt know that [05:24] no its a mounted secondary one [05:24] no worries here [05:24] it' [05:24] s an ext3 one btw [05:25] something like xfs_grow is probably what I need [05:25] Alysum, as long as you can unmount the partition to do the resize offline, your ok [05:25] Can you umount it? If so then you can do that and use ... what is it called... e2fsresize or something like that...? Let me try and find it... [05:26] yes I cna unmount it and all but looking for the utility name, ta [05:28] http://www.howtoforge.com/linux_resizing_ext3_partitions # has info using resize2fs but you haev to downgrade the fs to ext2 first, which is awkward, and the info is a bit old... [05:28] Alysum: why did you mention tune2fs when you're using xfs? [05:28] oh wait [05:29] "something like xfs_grow" [05:29] right [05:29] Chipzz: Yu would use tune2fs to disable jounralling (ext3 -> ex2) before using resize2fs [05:29] Im ext3 [05:29] jmarsden: he confused me with: 06:25 < Alysum> something like xfs_grow is probably what I need [05:29] yes thats a bit odd downgrading to etx2 lol [05:29] the only real difference is the journal [05:30] Im also confused with why parted shows 10GB [05:30] You should be able to online resize with ext3 these days shouldn't you? [05:30] parted is a partition editor right [05:31] hads: I'm not sure, is the online resizing stuff all safe now? It might be... [05:31] hads, i think it depends on th version of the tools you have available. you probably could in a modern ubuntu system, but i'd still be a bit wary of it [05:31] Alysum: Yes, but there is a difference between the size of a partition and the size a filesystem thinks it is. [05:31] http://michael-prokop.at/blog/2006/08/01/ext3-online-resizing/ [05:32] You have a 10GB partition now, it seems... but your FS has info in it saying it is a 4GB filesystem. [05:32] Yeah, I don't use ext3 for data partitions so I'm not sure. [05:32] jmarsden yes [05:33] ext4's hit mainline now. wonder how long until we get a room full of people who had to use the bleeding edge coming in with busted filesystems [05:35] surely there must be an easy tool for etx fs [05:35] I'm not seeing anything beyond ext2resize and resize2fs in my Googling so far... [05:36] i think resize2fs is where its at [05:36] Yes, that's what it looks like from here too. [05:37] Alysum: So, man resize2fs and go from there. The man page for Intrepid says it can handle ext3 directly now, and also do so onlinenow [05:37] I'd suggest doing it offline if you have that option, it feels safer to me... [05:38] offline as in with the fs unmounted [05:39] Magic [05:39] resize2fs did it [05:39] thanks guys [05:39] Good :) No problem. [05:39] woot [05:40] Alysum, did you go ext3 offline resize or ext3 online? [05:42] resize2fs /dev/sdh 10G [05:42] resize2fs 1.40.8 (13-Mar-2008) [05:42] Filesystem at /dev/sdh is mounted on /mnt/s3; on-line resizing required [05:42] so online :) [05:42] So it "just worked" online... good to know. [05:42] yeah [05:45] nice. [05:51] Apache2 question for anyone: how would I create a custom 404 error page? I've tried to research via web with no luck. [05:52] hrm, this cups guide does not seem very thorough. I don't know what I'm doing here. https://help.ubuntu.com/8.10/serverguide/C/cups.html [05:53] i've never had to set up cups before [05:54] Zombie_Gaz: ErrorDocument [05:54] I didn't remember that off the top of my head but found it by googling "apache custom 404" [05:55] right. so in apach2.conf i have... 'ErrorDocument 404 /missing.html' [05:55] erp [05:55] apache [05:55] so it should pull missing.html for a 404, right? [05:58] is there supposed to be a web interface for cups admin? if I try to access the cups server i get a 403 forbidden. this guide doesn't say much about how to configure cupsd.conf [06:05] any bash/screen experts here? [06:07] Chipzz: bash yes, screen not so much... ask your real question... [06:08] woo, got cups going. had to login from links locally, and use the web admin to allow remote web access, hehe [06:09] i'm not an expert, but I just read a tutorial on screen, so it's fresh in my mind :-P [06:12] jmarsden: I'm trying to get an extremely weird combination of bash prompt and the shelltitle sceen feature to work [06:13] jmarsden: you would need to be an expert in both to really help here I suppose [06:13] You can always ask and see .. what is your real question? [06:34] jmarsden: take a look at http://chipzz.safehex.be/docs/screenrc [06:35] the 4 lines after: ### Window titlebar ### [06:35] trying to get that to work properly with the stock ubuntu .bashrc file, and running into weird issues [06:35] case "$TERM" in [06:36] screen*) [06:36] PS1="${debian_chroot:+($debian_chroot)}""\\u@\\h:\\w\$ \ek\e\\" ;; [06:36] esac [06:36] works [06:36] but replacing the first set of "..." with '...' doesn't [06:37] Chipzz: The "" around $TERM? Then TERM won't be expanded... [06:37] no [06:37] the "" around ${debian_chroot...} [06:39] OK, by my could that is the second set of "" in what you posted here... but the same applies I think, if you make them single quotes the ${debian_chroot:+($debian_chroot)} will try to be expanded at runtime not at .bashrc execution time. [06:40] I'm aware of that [06:40] please read the rest of your stock .bashrc file [06:41] #if [ "$color_prompt" = yes ]; then [06:41] # PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ ' [06:41] #else [06:41] # PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ ' [06:41] (commented out in my case) [06:41] Ahem, my .bashrc is very much non-stock :) But I'll find the stock one... [06:41] the stock .bashrc also delays that expansion till runtime [06:41] /etc/skel/.bashrc I suspect [06:41] Yep. [06:42] the defhstatus/shelltitle combo is a neat trick btw :) [06:42] *if* you get it to work [06:42] it shows the running command inside of screen in your windows titlebar [06:45] So you are saying that your version fails to work unless you use single quotes? [06:45] yes [06:47] Hmmm. I wonder if using screen effectively evaluates the stuff "twice" in some fashion? But anyway, if it works with single quotes, use them and all is well, right?? [06:48] it works with double quotes [06:48] but [06:48] I possibly want to get this upstream (in the ubuntu screen-tricks package/stock bashrc) [06:48] there probably is a reason why they're using single quotes [06:49] so I'ld like to not deviate from that [06:50] I'm confused, are you trying to get them into a .screenrc file -- or does the screen-tricks package somehow update the default .bashrc??? [06:51] Stuff in .screenrc is being interpreted by screen, stuff in .bashrc is interpreted by bash... it's not surprising their approach to quotes differs, is it? or am I misunderstanding? [06:52] jmarsden: both [06:53] there's 2 parts to getting this to work [06:53] first involves .screenrc, which I would like to get into the screen-tricks package [06:53] second involves .bashrc, which I would like to get into the relevant package [06:55] anyway gtg, ttyl [06:55] Good luck on the second part :) Hmm. OK. [07:20] good morning from norway :) [07:21] I've installed openLDAP server on a Ubuntu Server 8.10.where can i find the sldap.conf file? In 8.04 it was in /etc/ldap/ [07:23] It's moved to cn=config [07:24] Scix: starting from ubuntu 8.10 openldap uses cn=config for its configuration [07:24] Scix: check https://help.ubuntu.com/8.10/serverguide/C/openldap-server.html [07:24] OK, tank you :) [08:45] moin [10:14] w3m => light-weight browser for CLI, so I can use "Tab" to jump from link to another, but how do i jump backward to previous link (I have tried to use Shift+Tab but it won't work) please advise, thanks [11:17] Hello there [11:18] How can I check which version of openldap I have installed? [11:53] Greetings [11:54] What's a good directory server to use these days on which distro? [11:54] ie Fedora Directory Server? [12:07] JGJones: I like openldap on ubuntu :) [13:34] sommer: Would you please take a look at Bug 314951? I gather it's in your area (Server Guide). [13:34] Launchpad bug 314951 in ubuntu-doc "SSL certificate generation docs could be clearer" [Undecided,New] https://launchpad.net/bugs/314951 [14:24] Hm. If anyone would happen to be sitting on a couple of opteron 2384s on hardy, I'd much appriciate an "openssl speed rsa4096 -multi 8" output (assuming dual quad core for number of -multi). :) [14:35] Anyone here using software RAID? [14:36] <_ruben> sure [14:39] _ruben: at what RAID level? [14:39] 0 [14:39] 1 [14:39] 5 [14:39] 10 [14:40] Is RAID 5 the most demanding in terms of CPU load? [14:42] Jeeves_: any thoughts on RAID 5 Vs. RAID 1+0 ? [14:42] higher risk of data loss in raid 5 [14:43] (only 1 redundant disk) [14:43] hello jfontan [14:43] hello [14:44] how's it going? [14:44] Deeps: I suppose data loss resulting from two drives failing in RAID 1+0 depends on the drives the fail [14:44] s/the fail/that fail/ [14:44] jfontan: not too bad thanks. [14:44] Just thinking about RAID. [14:44] ball: cpu is not very noticable [14:44] ball: indeed, whereas 2 disks fail in raid5 and you're done [14:45] Is RAID 5 easier to grow? [14:46] ball: No clue [14:47] http://linux-raid.osdl.org/index.php/Growing [14:47] Thanks Deeps [14:48] raid6 for data (raidsets of 8-14 disks) [14:49] aye thats what i'd do for that quantity of disks [14:49] with a hotspare [14:50] * ball isn't even sure what RAID 6 is [14:50] Perhaps I predate it :-) [14:50] raid 5 with 2 spare disks instead of 1 :) [14:50] Ah, I was about to ask about that. [14:50] well, 2 parity disks, not spare [14:50] sorry yes [14:50] ...thought that was still RAID 5 [14:51] you can have raid 5+1 which would be raid 5 with a spare :P [14:51] yann2: ehm. or you could mean a mirrored pair of raid5:s with 5+1 [14:52] oh am I saying bullshit [14:52] yes I think you are right [14:52] yeah, to say "5+1" for RAID 5 with a hot spare is confusing. [14:52] I thought that, but wasn't going to say anything ;-) [14:52] ok sorry I'm afk again then ;) [14:54] hello jjesse [14:55] hello ball [15:17] hello Shanix_ [15:17] ball, hi [15:29] hey everyone [15:29] I have a question about NFS in a HA environment [15:29] I have setup heartbeat to fail NFS over and setup fsids in /etc/exports for the nfs kernel server, however when I fail over I get Stale NFS file Handle errors. if I remount everything looks great however. Any thoughts? [16:12] mathiaz: the mysql-5.1 package needs some work, like the root password stuff hasnt been backported amongst other things [16:12] mathiaz: but we should add a BIG FAT WARNING to it though [16:15] Any roundcube webmail users here? Beware. There is a vulnerability disclosed recently which has been actively searched by bots for a week. My apache server is reporting such attacks every 20 minutes today. [16:16] zul: warning about what? [16:17] mathiaz: thats its not really supported by the ubuntu server team just yet [16:17] that its not as polished as the mysql version in main (ie: apparmor etc) [16:18] zul: well - it's in universe [16:18] http://www.heise-online.co.uk/security/RoundCube-vulnerability-allows-injection-of-arbitrary-scripting-code--/news/112330 [16:18] true im just building it locally before uploading it [16:23] hi [16:24] I am trying to make a script that will email me information [16:25] what command would I use to be able to do that [16:31] kizer: you can use cron for that. With cron you can scedule a script to send the email [16:36] well, I don't know the command for having an email sent [16:37] croatian CERT released a document with analysis of ubuntu security [16:38] got a "simple" question : is there a documentation on the ./configure parameters for PHP on 8.04 somewhere - looking but not finding it...... [16:38] conclusion was that users should try ubuntu cause of very good security records [16:39] penrod: ? you are compiling php? [16:39] * ball shudders [16:39] yes - [16:39] penrod: you don't like php from ubuntu packages? [16:40] reason being i need a previous version [16:40] apt-get source php5 [16:40] check out debian/rules file [16:40] perfect [16:41] ivoks: \o/ [16:41] :) [16:41] jdstrand: ;) [16:41] jdstrand: everything was green or '100%' [16:41] jdstrand: better than opensuse, fedora and vista [16:41] well, that's their conclusion [16:42] it's a 20 pages long document [16:44] Does anyone know how to email from command line? [16:44] mutt ; mail [16:44] mail? [16:45] Does US come with "mail"? [16:45] just type mail and hit enter [16:45] I'm sorry, I'm not familier with "mail" [16:45] cat cabbage.txt|mail -s Cabbages ball@cyberspace.org [16:45] hmm.. I think that's what I'm looking for [16:45] thanks [16:45] np [16:45] ball: i'm not sure, but it's in mailutils package [16:46] ivoks: thanks. [16:47] yeah I'm getting mailutils via apt-get [16:49] kizer: you can use sendmail for sending mail. [16:53] use "mail" unless you need to do something fancy, then you might want to look into something like mutt [16:55] ivoks: cool :) now with mdeslaur here, we will hopefully do even better [16:56] hehe [17:03] ivoks: do you have a URL for that report? :) [17:05] Why would ssh only work on my ip address and not my hostname... when httpd works on both ip and hostname? [17:06] erp sshd i mean [17:06] Zombie_Gazza: Check that both /etc/hosts and your DNS server have correct info for your host? [17:07] ok [17:07] in /etc/hosts [17:07] would i add a line with the ip# to point to my hostname? [17:07] ivoks: http://www.cert.hr/filehandler.php?did=357 ? [17:07] ie; 23.12.167.34 to this.com [17:08] Zombie_Gazza: Yes... but it should be there already; if not look for one saying 127.0.1.1 myhostname.whatever and change the 127.0.1.1 to the real IP; I don't know how that one gets there but have seen it on some Ubuntu desktop machines [17:08] ya [17:08] that's what's in there [17:09] just 127.0.0.1 to mne [17:09] Leave the 127.0.0.1 alone, if there a 127.0.1.1 one as well? [17:10] You want something like: 127.0.0.1 localhost [17:10] 172.17.17.100 black.jmarsden.org black [17:11] hi here [17:11] yea, there is [17:11] anyone knows if there s a gui for lvm2 management ? [17:11] Zombie_Gazza: I need to leave for work... OK, edit the 127.0.1.1 oen and leave the 127.0.0.1 localhost alone. [17:11] do i need to resrtrart? [17:11] erp [17:11] restart? [17:11] or should that just do it. [17:13] hello there [17:14] I've been trying to establish connection for 2 days now with ubuntu server but somehow I don't have that luck to do it === frojnd_ is now known as frojnd [17:14] Zombie_Gazza: Restart sshd, no need to restart the whole machine [17:15] I've checked cables, even bought a new lan card [17:15] and I still can't ping nor router nor anything [17:16] jmarsden: I have 68.82.187.97 dante.taxreligion.com dante in my /etc/hosts file... i did a ssh restart. [17:17] Yet, still... can't resolve hostname. [17:17] frojnd, interface is up has an ip , etc ...? [17:17] Zombie_Gazza: Your server machine is directly on the public Internet? No firewall in the way, no NAT, or anything like that? [17:18] orogor: I've set /etc/network/interfaces and /etc/resolf.conf [17:18] There's a router. [17:18] But I have an exception for the port [17:18] orogor: than /etc/inint.d/network/restart [17:18] for some reason mail doesn't seem to be playing nice with my gmail acount [17:18] Zombie_Gazza: The IP address in /etc/hosts needs to be the local IP of the server, not the public one. [17:18] orogor: but light won't turn on on the switch when ubuntu boots [17:19] ah [17:19] I'll try that. [17:19] it says "mail delivery failed" [17:19] frojnd, hardware issue , check cable, try with another pc [17:20] ssh: Could not resolve hostname dante.taxreligion.com: No address associated with hostname [17:20] Zombie_Gazza: on the machine, try `host dante.taxreligion.com` [17:21] orogor: I've changed cables and card [17:21] Zombie_Gazza: on the same machine you're trying to ssh from [17:21] on the second card the light is on on the switch [17:21] that gives me my public hostname [17:21] oh [17:21] yep, if it cant resolve, the problem's with your dns configuration on that machine [17:21] Host dante.taxreligion.com.freeshell.org not found: 3(NXDOMAIN) [17:22] frojnd, so now you have the light ? or there s 2 card one with a light one without ? [17:22] you need to edit your resolv.conf [17:22] ok [17:22] at a guess, you have a line in there: domain freeshell.org [17:22] Deeps: I can't even ping my router... [17:22] if so, remove it [17:22] bbl in 40ins [17:22] mins [17:22] oh wow [17:22] frojnd: i wasn't talking to you, i was talking to Zombie_Gazza, sorry. [17:23] wait [17:23] on the host i'm trying to ssh FROM [17:23] Zombie_Gazza: Sounds like hosts file now OK, DNS not yet... I need to go, Deeps can help you from here... [17:23] hosts file was never the problem, heh [17:23] right [17:24] on the host you're trying to ssh from, yes [17:24] i need to edit? [17:24] you should try a `host dante.taxreligion.com` [17:24] if that cant resolve, with the error as you described above [17:25] you need to edit the /etc/resolv.conf file [17:25] at a guess, you have a line in there: domain freeshell.org [17:25] edit /etc/resolv.conf on MY machine? [17:25] 3rd time [17:25] on the machine you're trying to ssh from, perform `host dante.taxreligion.com`; if it cant resolve, the problem is with the dns configuration of that machine. [17:26] and you'll need to edit the resolv.conf [17:26] on that machine [17:26] ok. but I don't own that machine... ;) [17:26] so i guess this really isn't my problem at all. [17:26] the problem's with the dns configuration on that machine [17:26] i just have a shell that i'm sshing from to test my ssh [17:27] here's the thing tho... [17:27] even when i use Putty via win i can't access my machine [17:27] firewalling? [17:27] nope [17:27] debug1: Connecting to dante.taxreligion.com [68.82.187.97] port 22. [17:27] times out [17:27] kees: thanks for the url. can you translate it for me? [17:27] it's not on port 22 [17:27] try port 9600 [17:28] connects fine here, RSA key fingerprint is 02:a4:ac:c1:cb:e5:fe:46:13:95:71:4c:84:ad:7b:eb. [17:28] damn [17:28] so your ssh server is fine [17:28] your ssh clients however, is where your problems are, i'm afraid [17:29] well then why can't i access it from both my windows machine at work and from my other shell account./ [17:29] weird [17:29] try to resolve the hostname on the machines [17:29] try to connect via IP directly if the hostname doesn't resolve [17:29] if you can connect via IP directly, then the problem's DNS on those machines [17:29] I CAN connect via IP. [17:29] (on the shell account) [17:29] then you have DNS issues there [17:30] I CAN'T connect anyway via windows. [17:30] sounds like firewalling on the windows machines [17:30] work blocking outbound 9600/tcp [17:30] ok [17:30] from my local windows machine, local linux machine and remote linux machine i can get that RSA fingerprint from your sshd [17:31] so the problem is not with your sshd [17:31] and i can resolve the hostname correctly so your dns server on the domain is fine [17:31] depending on when you added the dns record, you may find that some machines have cached the result [17:32] in that it gets an old ip, or no ip at all, in the machine's local dns cache [17:32] What if I changed the port recently? [17:32] It was 22... now it's 9600. [17:32] port has no relation to A records [17:32] Ok. [17:33] I think the windows machine is b/c of a firewall like you said. [17:33] I'll look into that. [17:33] But why would my shell not like the hostname? [17:33] I mean... it worked two days ago. I know DNS hasn't changed since then. [17:35] You're awesome... it was the firewall. I still had the old port in the exception. [17:36] I'm still confussed about the shell though. [17:45] mathiaz: mysql-5.1 uploaded [17:46] zul: awesome! [17:46] it will still need a lot of work to beat into shape though [17:48] jdstrand: I think it says, "Ubuntu rocks!" :) [17:49] zul: what else is required? [17:51] mathiaz: there is a list of things that need to be done hold on a sec [17:51] zul: Great to hear. [17:52] mathiaz: http://pastebin.ubuntu.com/102264/ + apparmor and ubuntu changes [17:54] it uses lsb_release to determine the distribution so we dont have to worry about somethings [17:58] zul: Riddell accepted 5.1 for you. [17:58] yep [17:59] mathiaz: php 5.2.8 is out i think it would be good for jaunty since debian is still at 5.2.6 still [18:00] anyone here gotten Sieve/Dovecot/Postfix working on 8.10? it looks so straight forward, but for some reason its just not picking up my sieve scripts [18:01] zul: right - seems like 5.2.8 has a lot of bug fixes over 5.2.6 [18:06] kirkland: about screenbin - is it possible to specify your own AMIs? [18:07] mathiaz: not at the moment, but as soon as I get the code in a bzr branch, i will accept a patch to do so :-) [18:09] zul: I take it this means mysql should build in jaunty now? I was told it didn't at UDS itme [18:13] Riddell: it does now yes [18:13] Riddell: right - a compiler flag had to be added [18:14] Ok... I'm back [18:14] Hope its ok to ask this here. I have a LAMP server on a Intrepid laptop I have setup for testing software so I don't break my real server. I installed bugzilla3 on it and it seems to work up until the point of logging in. The bugzilla main page comes up but won't accept any usr/pass. My account info should be the info for bugzilla3 database right? [18:19] I've two lan cards in the computer, if I do lspci I can see both and the light on the switch turns on only if I connect cable to the second one. I've set up /etc/network/interfaces but I don't know if I did it right for this new lan card. How can I check if the card that cable is currently on is eth0 or eth1 or what [18:20] Anyone here pelase ? [18:21] I'm trying to connect server to the internet for 2 days now [18:22] ouch [18:22] frojnd: are you using the same cable to test both NICs? [18:22] ball: yes [18:23] If you don't get a link light with one NIC, but you do with the other, I would regard with suspicion the card that isn't giving you a link [18:24] ball: i0m not sure that the original card is not working since the light turns on when restart but when booting to ubuntu it turns off [18:24] Same chipset on both cards? [18:24] ball: just a sec to check... [18:25] ok [18:25] ball: the original card worked before on that computer but after upgrading to 8.10 not.. [18:25] it was clean install [18:26] ball: one is ralink and one is realtek [18:26] If you didn't uninstall the Hardy kernel, you might try booting into that and see if it works then. [18:27] the one that is on board implemented is raling and thi is the one that won't turn on when in ubuntu [18:27] ScottK: it was a clean install [18:28] how can I check if the card is on ? [18:28] the new one [18:29] frojnd: I don't know how to configure network adaptors on Ubuntu Server. Mine "just worked"[tm] [18:31] ball: good for you [18:33] frojnd: someone here probably knows though [18:33] (and I need to find out anyway) === djiezes is now known as djiezes_afk [18:34] heh [18:35] what do I hae to put in the nameservers ? [18:35] beside Ips.. [18:35] search ??? [18:35] dns1 [18:35] dns2 [18:36] how do I find out what is my ??? [18:36] u know like; [18:36] search mydomain.example [18:36] nameserver 192.168.0.1 [18:36] nameserver 4.2.2.2 [18:36] what is "mydomain" [18:37] has anyone gotten partman-auto-raid working? [18:37] or how can Ifigure it out is this the name before @ in my shell ? [18:37] frojnd: your ISP should know. [18:37] i noticed the udeb is MIA from the installer [18:37] ball: ah u don't get it [18:37] so i dropped the udeb in its proper place, but it's not recognized. guessing i need to rebuild the initrd or something [18:38] frojnd: I was answering your DNS question [18:38] is my domain linux-z4in ? if in terminal is zzoe@linux-z4in:~> [18:38] ball: I know what are my dnss :) [18:38] ok [18:38] just don't know hwat is my domain name [18:39] I don't know either. [18:40] partman-auto-raid, anybody, somebody's got to be using it [18:41] ball: hostname command shows it [18:43] damn it [18:43] unknown host www.google.com [18:43] unknown host 192.168.1.1 which is my router.. [18:43] arh [18:43] this is driving me crazy [18:44] frojnd: did you set a default gateway? [18:44] ball: yes [18:44] Are you using DHCP? [18:45] no static [18:45] ball: I have static IPs [18:46] What IP address did you give that interface? [18:46] 192.168.1.29 [18:47] netmask: 255.255.255.0 [18:47] network: 192.168.1.0 [18:47] broadcast: 192.168.1.255 [18:47] gateway: 192.168.1.1 [18:48] Looks reasonable to me. [18:53] can someone please here me out that know the interfaces [18:58] hi here [18:58] i have some problems with lvm2 can anyone help me ?. [19:06] hey [19:07] I'm sorta a noob at servers and I'm trying to secure a small one at home [19:07] could anyone give me some tips? [19:07] what you trying to do? :) [19:08] kizer: turn everything off and then turn on just the things you need on just the interfaces that you need. [19:08] secure the ports [19:08] well, I did a simple port scan from a client machine [19:08] (e.g. if your new server is going to stream video around the house, have it do that on the LAN port, not the Internet line.) [19:08] so far the only port that showed up were the ones that I opened [19:08] frojnd: we're all ears for your problem, but your interfaces file is dead on [19:09] kizer: what do you have open? [19:09] ssh, apache (port 80) and ftp [19:09] oh and webmin [19:10] being seeing this kernel warning/trace on some of our servers, wondering if anyone else has seen this: [19:10] ftp's probably a bad idea. I don't know Webmin [19:10] http://pastebin.ca/1303699 [19:10] well the FTP is login only [19:10] google didn't turn anything helpful up [19:10] I'm also trying to port forward my server [19:10] but I don't know how to test it with my network [19:11] zoopster: what do u mean ? [19:11] if it's connecting to the internet [19:11] kizer: port forward from your router to your server? [19:11] zoopster: what info do u need to help me ? === djiezes_afk is now known as djiezes [19:13] Ball: I believe thats the config [19:13] kizer: what? [19:13] port forward from router to server [19:14] frojnd: what you showed as your interface file is dead on...and the details you showed earlier today is absolutely correct from an interfaces perspective. [19:14] frojnd: you had mentioned that the switch port was not lighting up...did you resolve that? [19:14] I only allowed port 21-20, 80-80 and 22-22 [19:14] zoopster: yes I've put in a new pci card.. the light is on now [19:15] zoopster: I also changed eth0 to eth1 in interfaces assuming "new" card is eth1 [19:15] zoopster: result is still the same: host unknown [19:15] frojnd: the only other suggestion I have is 1) verify you can ping your gateway then 2) verify you can ping another IP address beyond that gateway [19:16] frojnd: that is another problem...let's make sure you can ping IP addr's first [19:16] zoopster: I can't ping nothing... NOTHING :S [19:16] host unknow [19:16] n [19:17] One thing that might be screwing things up is, even though I set my router to port forward I also have dsl modem [19:18] zoopster: any ideas ? [19:18] kizer: I's use sftp rather than ftp [19:18] kizer: That's what I have at home: [DSL modem]----[router]---[host] [19:19] I have ssh forwarded from the router to my host. [19:19] hmm.. [19:19] kizer: do you use static IP or DHCP on the LAN? [19:19] static [19:20] I can access the server from within the network [19:20] okay good, that helps [19:20] Why are you using ftp btw? [19:20] so I was able to test that the ports that I wanted were open and everthing else was closed [19:21] So I could grab files of the server when not at home [19:21] that's wouldn't be a problem though.. would it? [19:21] kizer: you can do that through your SSH port, less insecurely [19:21] oh! [19:22] kizer: are you connecting from a Windows machine? [19:22] nope [19:22] all linux === djiezes is now known as djiezes_afk [19:22] I'm ssh'd into the machine rightnow [19:22] I'm having trouble getting samba shares set up using ebox to work: when i try to access the share, i continue to get a password prompt [19:23] kizer: great! Linux is bound to come with an sftp client [19:23] (or have one easily installable) [19:23] brb [19:23] nemoego: so type your password for that share. [19:24] nemoego, you want to access without beeing asked for a password? [19:24] frojnd: the only ideas I have are to do a ifconfig and post the details to pastebin - need to see if you have any traffic first on which interface [19:25] frojnd: you can use mii-tool -v to see what is linked and it's status [19:26] frojnd: you can use ethtool if you wish...I think they are both installed by default [19:26] mlopezqc: ball: i type the correct password, and get the password prompt again [19:26] i think that ebox by default configures the server to use openLDAP [19:27] zoopster: mii-tool -v says: eth1: negotiated 100baseTx-FD, link ok than is some product info basic mod enabled, basic status ok [19:28] frojnd: ok...good [19:28] frojnd: ifconfig eth1 shows traffic? [19:29] zoopster: just dropped: 1043434 [19:29] frojnd: you see rx/tx stats that are something other than 0? [19:29] frojnd: dropped=1043434? [19:34] zoopster: no everything is 0 [19:35] frojnd: interesting...so there is no communication at all on that interface even though it is connected to the switch...odd. [19:35] New bug: #315190 in samba (main) "package samba-common 2:3.2.3-1ubuntu3.4 failed to install/upgrade: subprocess post-installation script returned error exit status 1p" [Undecided,New] https://launchpad.net/bugs/315190 [19:37] frojnd: any errors in your syslog? [19:39] nemoego, yes but did you set de password first? [19:40] i got some issue with lvm , it doesn activate at boot time and interrupt boot process,anyone has an idea about that ? [19:40] mlopezqc: yes, I created the user and gave that user permissions to the share using ebox [19:41] nemoego, how did you create de user? [19:41] mlopezqc: using the 'add user' option in the 'users and groups' section of ebox [19:43] nemoego, I have never used ebox but consider that samba usually don't use the OS authentication system [19:44] it uses its own database [19:44] when I'm going to add a user to samba I use smbpasswd from the command line [19:46] mlopezqc: yeah, that works if you are using the built-in samba users backend, but this is using ldap [19:47] mlopezqc: i can see that the user exists by typing smbldap-usershow [username], but i think there is some problem with samba communicating with slapd... [19:48] nemoego, I think the same [19:50] maybe you should see in the ldap logs if you are getting requests from samba [19:50] yeah, looking now [19:57] can anybody tell me why I cant ping my server anymore from internal ip? === djiezes_afk is now known as djiezes [20:37] can somebody tell me how to hide the my directory's in httpd.conf [20:41] Tim__Reichhart: that's pretty basic stuff that a simple search will find - simply put a index.html in the directory [20:50] mathiaz: okay, screenbin published at lp:screenbin [20:50] mathiaz: feel free to branch and patch against that, with AMI selection fu [20:50] :-) [20:53] * andol looks up what screenbin is... [20:53] Hmm, seems potentially really useful. [21:08] hot darn it - anyone here good with Sieve scripts? ...I am trying to delete blatant spam ...but whenever I put something in place, everything goes straight to inbox :/ [21:11] Any idea's: Got a client who right now has his domain mail.blah.com pointing to an exchange server. What are my options for migrating that domain to my ubuntu server with causing the least about of downtime? [21:11] amount* [21:11] set up all his users etc first ...then change dns? if you can run them both in parralel [21:12] He has 2 users on that exchange server [21:12] I know nothing abotu exchange, guessing its not a standard mail format? [21:12] I really have no idea as I don't know either. I just know he wanted this done yesterday so to speak [21:12] I did it recently from solaris - set everything up - kept running rsync to keep mail dirs in sync ... then shut down old_server, and switched dns ...users didnt even notice :P [21:13] So he makes it rain $$ and I have to figure this out lol [21:13] did some say exchange? I know a little...what's the issue? [21:13] chances are the client will loose old mail? [21:13] unless you stand up new mail server and forward everything to the new server from the exchange [21:13] just a thought [21:13] Yeah, have to migrate the mail over too [21:13] surely they can be exported somehow, then importanted into some kind of standard [21:14] if you forward, remember to fiddle with headings, or they all loose date stamp ..and maybe to/from [21:15] gcleric: did you actually have a trigger on the word 'exchange' ;-) ? [21:16] no... I can not tell a lie I saw exchange and did not read scrool back. =) [21:16] hehe - RediXe look what a quick google found (not tested, just found) http://www.howtoforge.com/converting_outlook_pst_to_maildir [21:16] exchange can export to pst ... so that should pretty much take care of it [21:25] hehe - RediXe look what a quick google found (not tested, just found) http://www.howtoforge.com/converting_outlook_pst_to_maildir [21:26] so I guess that takes care of the converting of mail ...since you can export to pst from exchange [21:26] I got it :) thanks though [21:26] I mean I got the link the first time* [21:26] wasnt sure, followed by a crash messaqge form you ;-) [21:26] Haven't actually done anything yet. I barely got the mail server on our end up and going and I don't even know if it's right. Trying to learn so much in so little time :) [21:27] hehe, its fun [21:27] you going virtual with mail? [21:28] I really have no idea - I followed a guide on setting up a server: http://morison.biz/technotes/articles/41 I really don't know anything about mail servers [21:28] mail servers are fun :) [21:29] (especially now that I finaly got my sieve script to work) [21:29] I did that just playing around then Boss walked in and told me that one of the clients has a 2 user exchange server and said we need to migrate him to our server :P [21:29] you get paid for this? ..you lucky son of .... hehe [21:29] lol yeah I love this job [21:29] is the server going to support several domains? [21:29] my main roll is programming in C++ with wxWidgets [21:30] There is a good chance it might [21:30] then set it up right before you port anyway - there is a lot of personal preference here, but I like using a SQL backend for that [21:31] Did you check out the link? Can you glance over it and give me any opinions on it? [21:31] this here howto is writen for debian, but you can easily use it on Ubuntu - it contains everything you need: http://workaround.org/articles/ispmail-etch/ [21:31] Our client lives about a 45 min flight away so we might be flying up to him [21:31] tomorrow night [21:31] so kind of need to learn fast :P [21:32] I looked ... there is a lot of personal preference in the mail world ;-) I dont like cyrus very much - I much prefer dovecot [21:32] * hads likes dovecot [21:32] but that doesent mean cyrus is up for the task ... discussing mail software is almost like discussing linux flovors ;-) [21:32] flavor* [21:33] if you set up a server with that howto, you would be well scaled for growth [21:34] Well, I really hope this place grows because then I get paid more :D [21:34] hehe [21:35] 2 mail users is really very very little, makes it pretty easy to fiddle with stuff like passwords and whatnot [21:35] (aka, just tell them to reset it ;-) ) [21:35] Yeah, well that's what our client has who really knows nothing about computers === ivoks_ is now known as ivoks [21:37] Alright, time to figure out how to undo what I have already done on the server :P [21:37] you should be set then a) set up the mail server the way you like it (keep virtual in mind) b) set his users up c) export/import the pst files d) shut down old server e) repoint DNS [21:37] While DNS is updating though I assume we have down time and Emails sent during that time get lost? [21:38] incoming emails will be lost [21:38] ? [21:39] mail takes care of that pretty well [21:39] smtp will retry for a few days [21:39] set the DNS poll to pretty low before you throw the switch [21:40] no mail should get lost (but it might get delayed) [21:40] I think delay can be lived with - it's losing mail that would be bad :P [21:40] cant you set up linux box on DNS first, as secondary mail server, let propogate for a day or so before you pull plug? [21:41] even if something got lost (say..if you accidently did a boo-boo ;-) ) the sender would get notified that the mail did not go through [21:41] MX record or some such [21:41] there's always TTL [21:42] * martin__ defies TTL ! [21:42] even though you DNS isn't working, if you domain has big enough TTL, other DNS servers won't ask your server for information, they'll use 'cache' [21:43] i'm missing 'r' in those 'you' [21:43] and s :) [21:44] but if you looking to switch DNS fast - set the TTL low, so they will poll frequently ...and you will have less of a downtime [21:44] just remember to set it back up again afterwards, and be a good internet citizen [21:45] DNS switch is something you prepare for days [21:45] * martin__ just discovered his sieve script was deleting good mail as well - !#($&#$ [21:45] lowering TTL before the swtich [21:46] Anyone got a working sieve that deletes spam based on score? (say, anything above 10) I fail [21:57] hello has anyone had experience setting up roundcube on Ubuntu 8.10 server edition? [21:57] I can't seem to figure out how to configure the database. [22:06] stiv2k: sudo apt-get install roundcube-mysql [22:06] ivoks: i think that's what I'm missing [22:07] ivoks: now what? [22:08] ivoks: i have a 'roundcube' database and a roundcube MySQL user with a password set (from a previous version of roundcube, when Ubuntu called it roundcube-webmail) [22:08] can I use that or should I start over [22:08] use old one [22:09] ivoks: I don't know how to tell roundcube to use it...plus I don't ever recall setting the password for the roundcube user but apparently there is one [22:09] you had roundcube before or this is a fresh install? [22:10] i had it before [22:10] then when I upgraded to intrepid, it broke [22:10] because of all these changes [22:10] roundcube-webmail -> roundcube [22:10] you upgraded from which version? [22:11] ivoks: from hardy [22:14] ivoks: ? [22:15] if i have a .udeb file and i want the debian-installer to recognize it, waht do i preseed??? i just want one single udeb file recognized by the debian-installer, that's it. someone has to know how to do this. [22:15] stiv2k: in hardy, the name of the package was also roundcube-webmail [22:15] err... [22:15] roundcube-mysql [22:15] ivoks: i never had that package installed [22:15] ivoks: it worked perfectly though [22:15] ivoks: honestly, I don't know what happened, lol [22:16] it's basicaly the same version [22:16] 0.1-rc2 and 0.1.1 [22:17] what's the error roundcube displays? [22:17] ivoks: I know, but *Ubuntu* changed how they package it or something [22:17] now, it didn't [22:17] DATABASE ERROR: CONNECTION FAILED! [22:17] Unable to connect to the database! [22:17] Please contact your server-administrator. [22:17] well, is your database running? [22:17] which database do you use? [22:17] ivoks: absolutely [22:17] MySQL [22:17] http://phpmyadmin.stiv2k.info [22:19] something had to have changed, i never remember these /etc/roundcube/debian-db.php or /etc/dbconfig-common/roundcube.conf existing before [22:19] they were there in hardy too [22:19] i'm looking at roundcube@hardy right now [22:19] hmm [22:19] so, read from /etc/roundcube/debian-db.php [22:20] and try connecting with that user and password to your database [22:20] im thinking I need to set dbc_install='true' in /etc/dbconfig-common/roundcube.conf [22:20] and then run dkpg-reconfigure roundcube [22:20] possibly [22:20] don't touch that file [22:20] ivoks: i tried, it doesn't work [22:20] stiv2k: then you fscked something [22:20] :) [22:21] ivoks: that file creates the /etc/roundcube/debian-db.php file it says [22:22] the easiest thing to do [22:22] would be 'mysql -u root -p mysql' [22:22] dear god, please, somebody tell me how to add a single udeb to the installer without building a whole new cd [22:22] ivoks: what would that do [22:23] Anybody familiar with Samba? I went to #Samba but everybody appears to be idle.. [22:23] GRANT ALL PRIVILEGES TO 'username_from'debian-db.php'@'localhost' ON dbname_from_debian-db.php.* IDENTIFIED BY 'password_from_debian-db'; [22:23] FLUSH PRIVILEGES; [22:23] the password in the debian-db.php file is empty [22:23] this is what it looks like [22:24] stiv2k: then dpkg-reconfigure roundcube-mysql [22:24] JamesK89: shoot [22:24] aha [22:24] ivoks: that doesn't do anything [22:24] steve@galatea:~/websites/cfaba/app$ sudo dpkg-reconfigure roundcube-mysql [22:24] steve@galatea:~/websites/cfaba/app$ [22:26] Sorry, joe, my attention was elsewhere [22:26] roundcube-core [22:26] Basically I'm trying to add a Windows machine to a Samba domain, and everything seems to work except [22:27] that when it calls smbldap-usermod it fails and the reason appears to be that it replaces the $ in the NetBIOS name with an underscore [22:27] But smbldap-useradd and smbldap-userdel don't do that [22:27] So it adds the machine, tries to usermod it, and then removes it because usemod fails [22:28] Like this is what happens: [22:28] smbldap-useradd -w "jwinnt$" [22:29] escape the $ or put it in single quotes [22:29] oh come on [22:29] smbldap-usermod -g "Domain Users" "jwinnt_" gave 1 [22:29] smbldap-userdel "jwinnt$" [22:29] ivoks: i reconfigured it, it generated a mysql password and everything [22:30] but I still get this [22:30] http://webmail.stiv2k.info/ [22:30] so, debian-db.php has all the data now? [22:30] I tried that, for the hell of it, but it appears as though that smbldap-usermod is getting it with an underscore to begin with [22:30] ivoks: $basepath, $dbserver, and $dbport are still empty, i assume it's using default values for those [22:30] that's ok [22:30] but yes [22:31] it generated a random password for the roundcube user and stuff [22:31] now create a user with that password in mysql [22:31] and allow it full access on roundcube's database [22:32] the user is already created [22:32] it's been there [22:32] i guess the password might not be the same [22:32] is it hashed? or can I just copy the string I see in $dbpasswd [22:32] right, change the password in mysql [22:32] $dbpass [22:32] hmm i'm at a loss JamesK89 i've only added samba machines to windows domains, not this way. in the actual ldap directory, is it right? [22:32] right [22:33] ivoks: we have global priviledges: USAGE [22:33] grant: No [22:33] GRANT ALL PRIVILEGES TO 'username_from'debian-db.php'@'localhost' ON dbname_from_debian-db.php.* IDENTIFIED BY 'password_from_debian-db'; [22:33] deinstall phpmyadmin, please [22:33] i have phpmyadmin [22:33] i think it worked [22:34] http://webmail.stiv2k.info/ [22:34] i have never seen the 'server' drop box there before though [22:34] Well the LDAP is working perfectly, to my knowledge, with Webmin, OpenVPN and Samba but for some reason when it calls the "set primary group script" it replaces the dollar sign with an underscore but not with the other scripts as far as I can tell. [22:34] you have to configure roundcube [22:34] i just configured it [22:34] go to /etc/roundcube and dig in [22:34] oh [22:34] i thought you were talking about dpkg-reconfigure [22:35] i do remember specifying 'localhost' for the IMAP server [22:35] I'm completely mystified. I would have posted on the Ubuntu Forums but they appear to be down last I checked [22:35] though it said if I only specify one server it will force that one and not allow a selection [22:36] it's 11:30PM here and I don't intend to power on my brain any more [22:36] it's ok, ivoks [22:36] stiv2k: phpmyadmin uses PHP, last time I looked, the code that determines what databases to access was stored in an array. I suspect that if you have a single parameter in a second entry, you'll see a pop-up menu. That is expected behaviour. [22:36] The output from the machine's log: [22:36] cat /var/log/samba/log.jwinnt [22:36] [2009/01/08 14:38:35, 0] groupdb/mapping.c:smb_set_primary_group(312) [22:36] smb_set_primary_group: Running the command `/usr/sbin/smbldap-usermod -g "Domain Users" "jwinnt_"' gave 1 [22:36] [2009/01/08 14:38:35, 0] passdb/pdb_interface.c:smb_delete_user(419) [22:37] smb_delete_user: Running the command `/usr/sbin/smbldap-userdel "jwinnt$"' gave 6 [22:37] JamesK89: No pasting here. Use pastebin [22:37] owh: I suspect you might have misinterpreted my predicament [22:37] owh: the select box I am talking about is at roundcube, not phpmyadmin... http://webmail.stiv2k.info [22:38] How do you remove postfix so you can do a fresh install? I apt-get remove postfix it went find and then tried to reinstall and I didn't get a chance to go through the config that it has [22:38] stiv2k: I just noticed the comment about never having seen a pop-up for servers before. I was commenting on why that is. [22:38] owh: just want to make sure we're on the same page here [22:38] RediXe: You don't need to remove it at all. [22:38] owh, well too late there :P [22:38] RediXe: dpkg-reconfigure postfix [22:38] owh: thx [22:39] RediXe: To answer the actual question, how do you remove it for good -- aptitude purge postfix -- this will also remove config files. [22:39] owh: thank you :D [22:40] RediXe: But as I said, that's a tad overkill -- almost akin to fomatting the hard-disk and reinstalling the OS because your trash is full :) [22:43] owh: lol, well i used one guide and now trying to swap to another one but can't format or I would have :P [22:43] RediXe: The server guide is a good place to start. [22:44] owh: Yeah, I really need more time but need this up and running asap :P [22:56] hmm [22:57] cannot get the drop down box to go away [22:57] http://webmail.stiv2k.info === mib_c5k78v is now known as kjurkic [23:09] ok you jerks [23:09] I decided to use Ubuntu server as my server host [23:09] instead of Opensolaris [23:09] I'd better be happy [23:09] lukehasnoname: Excellent choice :) [23:09] You sound happy. [23:09] lukehasnoname: jerks?!?!?!? [23:09] ScottK - no wheeties this morning perhaps? [23:09] lukehasnoname: you're a jerk [23:10] Simmer down. [23:10] stiv2k: Settle down, lukehasnoname has a strange sense of humour - I doubt he was insulting you. [23:10] lukehasnoname: I've been using Ubuntu server for a number of years and am very happy. [23:11] I'll give him points for eliciting a response though :) [23:11] owh: ScottK: sorry [23:11] stiv2k: On IRC it's best to assume you misunderstood before you get insulted, it helps your heart-rate :) [23:12] i know what it's like to be insulted because of the distro I use though :p [23:13] people are always like "ooh I'm installing Fedora that shit BETTER be good or else" [23:13] I was really excited about using Opensolaris... but I'm going to fall back for the moment and learn how to work Linux raid via command line and some other things before tackling Osol [23:15] lukehasnoname: I've lost most of my excitement for Sun after visiting their "Open Storage" workshop in which I was presented with an "open" solution that was unsupported as soon as I actually did anything with it - but if I treated it as a closed device I'd get support. [23:15] lukehasnoname: Besides, you can boot a Ubuntu server CD and install RAID right from the installer :) [23:15] owh: I have to wonder how Ubuntu's support would be with a recompiled kernel and a few system tweaks [23:16] lukehasnoname: That depends on what you were asking. [23:16] lukehasnoname: Besides, Ubuntu support and Canonical support are two different animals. [23:16] lukehasnoname: And mdadm is a simple command to use to manage RAID :) [23:17] Sun would equal Canonical when talking about pro support [23:17] owh: ZFS is soooo awesome, though. In any case, I might end up going Osol anyway, for the sake of using ZFS. I haven't tried messing with RAID outside the installer, but I'll be reading the mdadm man pages to figure out some stuff [23:18] also, Ubuntu has massive repos and better package naming scheme [23:18] Hell, I might go FreeBSD [23:18] lukehasnoname: I was going to write: "Not so much", but actually I don't really know. I'd expect it to be completely different. Given that lots of Canonical staff are littered throughout Ubuntu, there is much better integration. [23:18] lukehasnoname: Now you're just trolling :) [23:21] owh: FreeBSD got me into the non-windows world [23:22] considering it's completely open source, fairly well documented, and used by some really big companies... that, and its filesystem hierarchy is > linux, IMO [23:22] I like its very extensive use of /usr/local [23:23] lukehasnoname: My personal feelings on the subject are "horses for courses". Ultimately the best tool for the job. Where stuff is stored is like choosing between emacs and vi, or Mac vs. PC. [23:27] It's like using file folders vs. a well written database >_> [23:27] IN OTHER NEWS my server moves 200 CFM [23:48] any reason kvm_amd module would fail to load on a VM enabled proc? === liberfiasco is now known as libervisco