[00:02] hmm, next problem [00:03] Lcawte: why didn't you just start it without grant tables? [00:03] RoyK: because that just hung [00:05] no, it did't, it just didn't fork into the background [00:05] * RoyK labels Lcawte NOOB [00:05] * Lcawte takes off the duplicate label [00:06] Hmm, now, I can't seem to mount my other disk thats attached to the server (its my 80GB desktop 11.10 disk) but I can't take it out because its needed for grub... I need to grab my sql databases from that one, but I can't seem to mount it... [00:07] Lcawte: grub isn't needed to mount anything [00:08] Lcawte: pastebin your /proc/partitions, please [00:08] !pastebin [00:08] For posting multi-line texts into the channel, please use http://paste.ubuntu.com | To post !screenshots use http://imagebin.org/?page=add | !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic. [00:08] RoyK: I know that... and I know about pastebining :P But I meant, I can't take the disk out and put it in another machine to get the stuff because if I do, I break booting on the server, and have to spend another week fixing it [00:09] hmm, whats the output of /proc/partitions supposed to look like? [00:09] or, what command do I run to get the inteded output [00:10] you may want to dump the db on that machine, then [00:10] mysqldump etc [00:11] ok, but I still can't mount that disk [00:11] "mount: can't find /dev/sdb1 in /etc/fstab or /etc/mtab" (it shows up in fdisk -l though) [00:13] Lcawte: man mount [00:15] RoyK: ah, thanks ... mount -t ext4 is the command :D [00:18] RoyK: I probably want to dump all the databases with all the info right? Then would it be "mysqldump -A"? [00:19] mysqldump --all-databases [00:20] which is -A, yes [00:20] same thing [00:22] Where does it get dumped to & in what format? [00:22] that dumps to standard output in SQL format [00:23] just dump every database you need [00:23] mysqldump mydb > mydb.sql [00:23] the mysql database (system db) may be moved as well, but if you don't have too much grants etc, you might want to add those manually to the new system db === sixstringsg|away is now known as sixstringsg [00:26] v [00:27] "mysqldump: Got error: 2002: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) when trying to connect" and "service mysql start" gives me a job failed to start message [00:29] whats the job error message you get when starting the daemon? [00:35] Question .. why does schroot fail to recognize that a path exists? [00:35] http://paste.pocoo.org/show/0jlqgcqNoJthJxjnvYUW/ [00:36] root@lcserv:/# service mysql start [00:36] start: Job failed to start [00:36] (chrooted into the disk right?) [00:43] try this [00:43] cd /usr/local/ [00:43] cd /usr/local/mysql [00:43] ./bin/mysqld_safe --user=mysql & [00:44] or /usr/local/mysql/bin/mysqld_safe --user=mysql & [00:44] directly [00:46] strickly: hmm, theres no mysql in /usr/local [00:46] did you install it manually? [00:46] or via a package manager? [00:46] the mysql app [00:46] tasksel or aptitude [00:47] may of been in an earlier version of ubuntu though, can't remember [00:49] did you try a [00:49] sudo aptitude reinstall [00:49] maybe its the fastest way to get it corrected [00:49] it shouldnt be such big deal to restart the daemon [00:50] so maybe something wrong in the install/config process [00:50] wtf is wrong with people? reinstalling things normally doesn't help - fixing things does [00:50] Well I am chrooted into the disk remember [00:51] which, either means I don't chroot properly or.. [00:51] Lcawte: move the db files away, copy the old ones in, start the db [00:51] well it's about making things easy at times [00:51] not spending hours and more hours figuring it out, when theres no need [00:51] Lcawte: dump the db, move the old ones away, move the originals back, start dbms, restore [00:52] RoyK: problem is, can't dump the old stuff because the old db won't start in chroot :) [00:52] Lcawte: did you try to read what I just wrote? [00:52] RoyK easy [00:52] :) [00:52] ok, I think I've got you... [00:53] Old database files... hmm... [00:53] * Lcawte goes hunting [01:29] hm... So if you have your home directory encrypted using ecryptfs, how can you ssh into that system with shared keys?... you're ~/.ssh/authorized_keys is encrypted until you log in... [01:37] heh... that was an easy solution... sorry for not thinking through it before asking [01:46] Where exactly is the data for mysql stored, I'm trying to copy the databases from a disk, but my first attempt seems to have left me with an empty database with the correct name === bkerensa is now known as hypodermic === hypodermic is now known as bkerensa [02:01] got it, just had to chown the files === sixstringsg is now known as sixstringsg|away [02:56] New bug: #909558 in etckeeper (main) "Default conffile change in hardy -> lucid transition silently stops etckeeper hooks" [Undecided,New] https://launchpad.net/bugs/909558 === dendrobates is now known as dendro-afk === sixstringsg|away is now known as sixstringsg === dendro-afk is now known as dendrobates [04:12] yep../wib [04:21] exit [04:21] exit [04:22] whoops [04:38] hi all === ejat- is now known as ejat === dendrobates is now known as dendro-afk === sixstringsg is now known as sixstringsg|away === sixstringsg|away is now known as sixstringsg [07:01] New bug: #909592 in samba (main) "package samba 2:3.5.8~dfsg-1ubuntu2.3 failed to install/upgrade: ErrorMessage: subprocess new post-removal script returned error exit status 2" [Undecided,New] https://launchpad.net/bugs/909592 === erichammond1 is now known as erichammond === erichammond1 is now known as erichammond === erichammond1 is now known as erichammond === erichammond1 is now known as erichammond === erichammond1 is now known as erichammond === erichammond1 is now known as erichammond === erichammond1 is now known as erichammond === erichammond1 is now known as erichammond === erichammond1 is now known as erichammond === erichammond1 is now known as erichammond [09:58] hi everyone [09:58] !hi [09:58] !hello === dendro-afk is now known as dendrobates [13:08] hello oratedq === koolhead11 is now known as koolhead17 [16:06] stupid question: I added a rule to iptables to drop all traffic after the rules for 443, 80 and 22. If I now add a rule for port 21, will it work or does it have to be before the "drop all traffic" rule? [16:33] I'm trying to set some headers on my webserver, and for some reason, cant get the header out to the link at all, had anyone had this problem before? [16:40] magicblaze007, nope === sixstringsg is now known as sixstringsg|away === guampa|2 is now known as guampa [18:43] New bug: #909828 in tomcat6 (main) "Tomcat needs update to prevent hash function DoS attack" [Undecided,New] https://launchpad.net/bugs/909828 === bitmonk_ is now known as bitmonk === alaing is now known as funkymonk === bitmonk_ is now known as bitmonk === bitmonk__ is now known as bitmonk === EvilResistance is now known as Resistance === JoshuaP is now known as A_thing [23:08] Greetings [23:09] We use gmail for our corporate e-mail, and as such, some applications that depend on a local e-mail server can not use our e-mail system. I would like to set up an internal e-mail server that these applications can use that ties into our gmail system. What would be the best way to do this? [23:11] I have looked in to postfix, but it is absolutely horrid to set up with many features and options I don't understand, nor do they seem necessary for what I am looking to do. [23:13] What do you mean by tie-in? [23:15] Essentially, the internal e-mail server would receive messages, and forward them to gmail to the approrpiate address. For example, if I received an e-mail, it would be from "noreply@mydomain.net" going to "fishscene@mydomain.net" [23:16] Not sure about automating this, but a postfix server with PostfixAdmin for web administration could work well for you. [23:16] hmmm I haven't run across PostfixAdmin yet. [23:20] fishscene: I believe this howto worked for me on 10.04 http://postfixmail.com/blog/index.php/postfixadmin-on-ubuntu-9-10/ [23:20] Thanks matoc [23:22] Hello [23:23] Hi [23:25] I want to access my Samba server from outside my home network, is that possible? [23:26] iBaer: By connecting to the samba shares directly? I normally use SSH to gain access to my home directory. [23:26] Yes. There are a few different ways. I would use OpenVPN to setup a secure VPN to you home network. [23:27] I have found that many home ISP block port 22 for SSH which makes it a problem. If it's just me and SSH work though, that what I use too. [23:27] My ISP blocks port 22 as well, so I changed the port :) But yea. [23:28] I've never tried Samba directly over the internet, I'm a little curious how well this works actually. [23:28] I can access the server via OpenSSH just fine from outside the home, but I can not access the samba [23:29] Sounds like a DNS/IP routing issue [23:29] Exposing your samba server to the Internet is not advised. [23:29] When I'm at home, behind the router, all I have to do is open Windows explorer and the Server box is listed with the samba shares available [23:30] iBaer: I think what was meant about using SSH was that it is used instead (with SSHFS perhaps?) or SMB. [23:30] iBaer: Have you tried connecting to your samba server over OpenSSH by going to (Windows) start > run > \\(ipaddress of your samba server) [23:31] fishscene: how are you establishing the OpenSSH session in windows first? Does Putty do this? [23:32] Fishscene: I've tried the \\IP thing, doesnt seem to work [23:32] wait. I'm an airhead. I was reading openssh as openvpn. I'll shutup now :P [23:32] I use Putty to connect through SSH [23:32] that's because SMB would need to be piped over SSH first, which I've never done. [23:33] OpenVPN, I havent tried that, is that trouble to setup [23:33] any tutorials site for it? [23:34] thousands [23:34] piping smb over ssh? is that possible? [23:34] I believe the official ubuntu wiki serverguide has a tutorial [23:34] Yes, but are those thousands aimed towards newbies [23:35] ibear, atleast 98% of them are [23:35] patdk-lap: Only if you pipe openvpn over your SSH connection, which begs the question again, is that possible? [23:35] I can never find ones doing strange things like I do with it [23:35] fishscene, sure [23:35] but I was thinking of ppp over ssh, since poeple love that [23:35] ah [23:36] okay now im getting lost with all this piping, ppp, ssh, qqq stuff [23:36] running samba over the internet is unlikely to work and ill-advised [23:36] Will OpenVPN allow me to access the samba shares? [23:36] most ISPs block it [23:36] openvpn lets you access networks [23:36] samba runs on networks [23:36] yes, openvpn will allow access to samba [23:37] therefor, openvpn lets you access samba :) [23:37] VPN = virtual private networking (It's as if you're physically plugged in to your remote network) [23:37] and here I thought it was virtual public networking [23:38] I can access my samba shares via FTP too, but inorder to use the files, the have to be downloaded to the computer I'm accessing the server from. [23:38] OpenVPN doesn work the same way does it? [23:38] ? [23:38] SMB over SSH: http://www.blisstonia.com/eolson/notes/smboverssh.php [23:39] I wonder if "ssh -D 445 myserver.com" would work... [23:39] OKay, well thank you everyone for the suggestions. I'm going to go research all this now. [23:42] Oh, wait, one last question sorry. I have a dynamic IP, using OpenVPN require the use of ddclient to set a staticip/or domain address? [23:44] depends on how you do i [23:44] it [23:44] but probably yes [23:45] I personally run it at a colo, and my home system vpn's into the colo, so not needed [23:46] OpenVPN is a paid service? === A_thing is now known as JoshuaP [23:46] there is a community version [23:46] if you want to pay them, sure [23:55] ok. This e-mail stuff isn't working out very well. [23:57] I need a simple email server that can bounce messages to gmail.