[02:52] <chila> can anyone help me
[02:55] <dguitar4> with?
[02:56] <chila> ubuntu server setup
[02:56] <chila> and and setting up ftp with proftpd
[02:57] <dguitar4> Are you having problems? or are you looking for a guide of some sort?
[02:57] <chila> I have ubuntu server installed and configured with apache2, proftpd, php5, mysql, ispconfig
[02:59] <chila> well a little of both
[02:59] <chila> well one, I cant connect to my computer form an outside ip
[02:59] <dguitar4> http://www.howtoforge.com/perfect_setup_ubuntu_6.06
[03:00] <chila> i did all that
[03:00] <dguitar4> o
[03:00] <dguitar4> any specific problem?
[03:00] <chila> yeah I cant connect to ispconfig from an outside ip
[03:00] <chila> I have a dyndns though
[03:00] <chila> using ddclient
[03:01] <dguitar4> hmmm don't have a lot of experiance with dyndns
[03:01] <chila> well how about proftpd
[03:01] <dguitar4> not really :\
[03:01] <chila> how about ispconfig?
[03:02] <dguitar4> lol nope
[03:02] <chila> lol
[03:02] <chila> hmmm
[03:02] <dguitar4> well i might be able to help alittle
[03:02] <mralphabet> chila: what is the IP address of the linux box?
[03:02] <dguitar4> You do have apache running?
[03:03] <chila> yeah
[03:03] <dguitar4> Can you get to apache from outside?
[03:03] <chila> I dont think so
[03:03] <dguitar4> Do you have port forwarding setup?
[03:03] <chila> I believe so
[03:03] <dguitar4> You setting this up at home?
[03:03] <chila> yes
[03:04] <dguitar4> Most likely port 80 won't be able to be forwarded (fyi)
[03:04] <chila> yeah I might not have ip forwarding setup
[03:04] <chila> what about port 81
[03:04] <chila> im trying to get there from the outside
[03:04] <dguitar4> port 81 should be fine
[03:04] <chila> I can connect there from my desktop in my home network
[03:04] <chila> but not from the outside
[03:05] <dguitar4> Well how are you trying to connect?
[03:05] <chila> firefox
[03:05] <chila> using my dns from dyndns
[03:05] <foo> chila: Please don't private message people in here for help. Please just ask and wait in here in the future. 
[03:06] <dguitar4> Ah, well can you connect via your IP
[03:06] <chila> ok
[03:06] <chila> I tryed yesterday and assumed I was doing something wrong
[03:06] <chila> no
[03:06] <chila> not my dyndns one
[03:07] <chila> but the network one I can
[03:07] <dguitar4> Do you know what your public IP address is?
[03:07] <dguitar4> http://whatismyip.com
[03:08] <dguitar4> will tell you
[03:08] <chila> 76.99.47.39
[03:09] <dguitar4> so http://76.99.47.39:81 would go to your site, if you have port forwading setup correctly
[03:09] <chila> yes
[03:10] <chila> but it doesn't
[03:10] <dguitar4> then you don't have Port forwarding setup correctly ;)
[03:10] <chila> how do I set up port forwarding
[03:10] <dguitar4> It would be a setting in your router @ home
[03:11] <chila> i see
[03:11] <dguitar4> You'll have to chose a port, then choose what internal IP address it is forwarding to
[03:23] <chila_> hey it works now
[03:24] <chila_> thank you dguitar
[03:24] <dguitar4> :)
[03:24] <dguitar4> np
[09:44] <levander> If I want to add a virtual host to my already running apache config, is all I have to do is put the VirtualHost directive (which I've been supplied with) in /etc/apache2/sites-enabled?
[09:44] <coNP> levander: true
[09:45] <levander> coNP: so, why when I pull up the URL, does my browser say: "Firefox can't establish a connection to the server at louis:8888." without any messages about it at all in /var/log/error.log or /var/log/access.log?
[09:45] <levander> !paste
[09:46] <coNP> louis is your machine and 8888 is the port?
[09:47] <levander> yes. here's the VirtualHost directive I was supplied with by this wiki software: http://pastebin.ca/563677
[09:47] <levander> just pulling up louis does pull up a directory listing off /var/www on that machine
[09:47] <levander> and, i have restarted apache2
[09:47] <levander> /etc/init.d/apache2 restart
[09:48] <levander> i put that virtualhost directive in a file called wiki2go in /etc/apache2/sites-available, then put a link to it in sites-enabled
[09:49] <coNP> does you apache listen on port 8888?
[09:49] <coNP> /etc/apache2/ports.conf should contain "Listen 8888"
[09:49] <levander> coNP: no, http://louis/ goes to the index of /var/www
[09:49] <levander> coNP: that may be it
[09:49] <levander> lemme look
[09:51] <levander> Well, now http://louis:8888/ just goes to the directory listing of /var/wwww
[09:51] <levander> /var/www
[09:54] <coNP> is somewhere a "NameVirtualHost *:8888"?
[09:55] <levander> i don't see a NameVirtualHost, but I see a "VirtualHost *:8888" in that file i pasted
[09:56] <coNP> try to prepend a  "NameVirtualHost *:8888" line to that file
[09:57] <levander> coNP: I just did that, no dice
[09:58] <coNP> with apache2 restart, I guess
[09:58] <levander> yeah, i did
[09:59] <levander> i gotta give up for the night
[09:59] <levander> thanks for trying to help coNP 
[11:11] <fabio__|> hello, can you suggest me a very configurable FTP server for Ubuntu? 
[11:11] <fabio__|> i don't like very much vsftpd...
[12:00] <CrummyGummy> Hi all, I upgraded to Fiesty and now my mysql replication is broken. Were there any major changes in that space? The error is 
[12:00] <CrummyGummy> Failed to open the relay log './lloyd-relay-bin.000001' (relay_log_pos 0)
[12:00] <CrummyGummy>  Could not find target log during relay log initialization
[12:01] <CrummyGummy> course I have since changed the relay log by  hand in the relay-log.info file but the same problem was there with the original relay log.
[12:03] <shawarma> Do you have a lloyd-relay-bin.000001 somewhere?
[12:03] <shawarma> Or something that smells like it?
[12:08] <CrummyGummy> shawarma, Yes I do.
[12:08] <shawarma> That very file? Where?
[12:08] <CrummyGummy> hmmm, maybe a slave reset would work.
[12:08] <CrummyGummy> /var/lib/mysql/lloyd-relay-bin.000001
[12:08] <shawarma> CrummyGummy: Try "mysqladmin variables" (passing it proper authentication if needed) and see what your datadir is set to.
[12:08] <CrummyGummy> the file is specified in relay-log.info as ./lloyd-relay-bin.000001
[12:08] <CrummyGummy> from mysql... var... 
[12:08] <CrummyGummy> datadir                         | /var/lib/mysql/
[12:11] <shawarma> CrummyGummy: The "./" bit should be ok, I think.
[12:11] <shawarma> CrummyGummy: As I believe it's relative to datadir.
[12:12] <CrummyGummy> Yeah, it works on the master server. The repl is circular.
[12:13] <shawarma> Ok.
[12:15] <shawarma> I really have no idea. You log files don't say anything clever?
[12:15] <CrummyGummy> its very wierd... I'm gonna reset the slave and see if it fixes it.
[12:15] <shawarma> Well..
[12:15] <CrummyGummy> sorry, didn't see you rlast comment. No nothing else in the logs. Lemme have another look...
[12:15] <shawarma> you could always do a "mysqlbinlog lloyd-relay-bin.00001" and pipe it into mysql to make sure you don't lose whatever's in the log.
[12:17] <CrummyGummy> Thanks, I did that. No nothing else in the logs :(
[12:19] <CrummyGummy> Cool, reset fixed it :) wierd....
[02:46] <sommerts> hey everybody. i have a question about postfix. anybody who can help?
[02:49] <sommerts> anybody, postfix savvy?
[02:49] <Kamping_Kaiser> sommerts, ask your question, if someone knows about postfix they will answer, if not , you may be out of luck
[02:50] <Kamping_Kaiser> sommerts, and dont be afraid to wait
[02:51] <sommerts> alright. I'm receiving mail on mail@mydomain with the standard postix setup. so only local accounts should receive mail. mail altough is not a local unix account. how comes? RFC?
[02:53] <shawarma> sommerts: Well, just because you're running a standard setup that does local delivery, that doesn't stop the rest of the world from sending e-mail to mail@yourdomain? Or am I not unerstadning your question?
[02:56] <sommerts> yeah right, but the message should be rejected as if i would send something to xy@mydomain. mail@mydomain gets delivered to /var/spool however.
[02:59] <shawarma> sommerts: /var/spool/mail/mail ?
[02:59] <sommerts> exactly
[03:01] <sommerts> could it be that mail is similar to abuse and postmaster?
[03:08] <shawarma> No, it seems not.
[03:08] <sommerts> hmm, what else could it be? any idea where to start looking?
[03:09] <CrummyGummy> shawarma, Hi, can I bend your ear again?
[03:10] <shawarma> CrummyGummy: Sure.
[03:10] <shawarma> sommerts: I'm looking into it. Gimme a sec.
[03:11] <CrummyGummy> I'm now upgrading the next server and mysql is insisting on putting the relay-bin file in /var/run.
[03:11] <CrummyGummy> The datadir is /var/lib/mysql.
[03:11] <CrummyGummy> This is wierd.
[03:11] <sommerts> tks
[03:12] <shawarma> CrummyGummy: That's... odd.
[03:16] <CrummyGummy> Thats what I though...
[03:17] <shawarma> CrummyGummy: Directly in var/run or in /var/run/mysql ?
[03:18] <CrummyGummy> /var/run/mysqld
[03:19] <shawarma> CrummyGummy: Feisty, you say?
[03:19] <CrummyGummy> yup
[03:22] <ivoks> what's the problem?
[03:22] <shawarma> ivoks: Mysql server putting relay-bin file in /var/run/mysqld
[03:23] <ivoks> um?
[03:23] <ivoks> i can't see it
[03:23] <ivoks> doh, i upgraded to gutsy this morning :/
[03:24] <shawarma> ivoks: No, it's just CrummyGummy.
[03:24] <CrummyGummy>  I've run a "reset slave", "change master", edited the relay-log.info to the right file (.//mysqld-relay-bin.000001 pos0) and run 'start slave' and within a second the error above shows and its relay-log.info is back to /var/run/mysqld/mysqld-relay-bin.000002 pos 235
[03:25] <CrummyGummy> I've grepped all the config files and only pid_file and socket point at that dir.
[03:28] <ivoks> no idea
[03:28] <shawarma> ivoks: Well, CrummyGummy and https://bugs.launchpad.net/ubuntu/+source/mysql-dfsg-5.0/+bug/119271.
[03:31] <CrummyGummy> shawarma, hmmm, so one other person has the same problem and the maintainer doesn't see it. wierd...
[03:32] <CrummyGummy> and it only happened on one of my servers.
[03:32] <ivoks> others are ok?
[03:32] <ivoks> hm..
[03:33] <CrummyGummy> yup. and the config is almost identical except for slave stuff.
[03:33] <ivoks> CrummyGummy: no one confirmed his problem and he didn't reply to question, so... you can't say maintainers didn't see it
[03:37] <shawarma> CrummyGummy: Um, I'm the maintainer. :)
[03:37] <CrummyGummy> ivoks, Not didn't see it. Doesn't see it (the problem)
[03:37] <shawarma> CrummyGummy: So I've seen it, and asked for further info .:)
[03:37] <CrummyGummy> yup
[03:38] <ivoks> ok, i've setup replication, but... nothing in /var/run/mysqld/
[03:40] <CrummyGummy> so its still just me and some random dude...
[03:41] <ivoks> maybe i did something wrong :)
[03:41] <ivoks> in /etc/mysql/conf.d/ i added new file with content
[03:41] <ivoks> log-bin = /var/log/mysql/mysql-bin-test.log
[03:41] <ivoks> binlog-do-db and server-id
[03:43] <shawarma> Yes, sure that would work around it. Default should not be to put anything in /var/run that is as important as those logs.
[03:44] <shawarma> sommerts: Noone in #postfix seems to able/willing to answer. It appears to be behaviour by design on local(8)'s part that it delivers it. It likely means that it should be filtered elsewhere.
[03:44] <shawarma> sommerts: Like in /etc/aliases or something.
[03:48] <sommerts> i'll look into it deeper later on the day. thanks anyway. appreciated.
[03:48] <shawarma> sommerts: If you could file it as a bug, that'd be great.
[03:48] <ivoks> postfix bug? :)
[03:48] <sommerts> if it is one. i'll do that.
[03:48] <ivoks> oh, there it is...
[03:48] <ivoks> in /var/run/mysqld
[03:48] <shawarma> Yes?
[03:48] <shawarma> ivoks: Really? It's reproducable?
[03:48] <CrummyGummy> ?
[03:48] <ivoks> yes
[03:48] <ivoks> mysqld.pid  mysqld-relay-bin.000002  mysqld-relay-bin.index  mysqld.sock
[03:48] <ivoks> yup...
[03:48] <ivoks> easy to reproduce:
[03:49] <ivoks> CHANGE MASTER TO MASTER_HOST='192.168.0.101', MASTER_USER='slave_user', MASTER_PASSWORD='pass', MASTER_LOG_FILE='log.001', MASTER_LOG_POS=183;
[03:50] <shawarma> Man, I need more hardware, so I can test these things.
[03:50] <ivoks> :)
[03:50] <shawarma> -ENOTENOUGHHARDWARE
[03:50] <ivoks> kvm? :)
[03:51] <shawarma> Here's a complete list of my hardware:
[03:51] <ivoks> none :)
[03:51] <shawarma> 1) IBM Thinkpad X40
[03:51] <shawarma> EOL
[03:51] <shawarma> It sucks to be me.
[03:51] <ivoks> don't worry
[03:51] <ivoks> i have toshiba satellite pro U200
[03:51] <ivoks> :)
[03:51] <shawarma> When I grow up, I want decent hardware.
[03:52] <ivoks> anyway, bbl
[03:52] <shawarma> Well, my thinkpad is decent, but insufficient for my current needs, unfortunately.
[03:52] <shawarma> ivoks: See you.
[03:53] <shawarma> CrummyGummy: Could you make a not in that bug report that it's happening to you, too?
[03:53] <shawarma> note*
[04:16] <CrummyGummy> I got dropped, did I miss anything?
[04:24] <mralphabet> 08:52 < shawarma> CrummyGummy: Could you make a not in that bug report that it's happening to you, too?
[04:24] <mralphabet> 08:52 < shawarma> note*
[04:25] <CrummyGummy> K, I'm setting up an account.
[04:25] <shawarma> CrummyGummy: Excellent. Thank you!
[05:01] <CrummyGummy> done
[05:03] <shawarma> CrummyGummy: Thanks. I won't have time to work more on it today (or tomorrow, probably), but I'll definitely take a look at it soon.
[05:08] <CrummyGummy> I'm going to have to spend time on it before then. I need to reboot at least one of my servers tomorrow and this could turn out to be a big problem.
[05:28] <CrummyGummy> http://bugs.mysql.com/bug.php?id=28850
[05:28] <CrummyGummy> Reported on the second of June.
[05:33] <shawarma> CrummyGummy: Ah, great. Thanks for digging that up! Could you put a linkt to that in the bug report?
[05:37] <CrummyGummy> done
[05:46] <CrummyGummy> I've added
[05:46] <CrummyGummy> relay_log       =       /var/lib/mysql/mysqld-relay
[05:46] <CrummyGummy> to my my.cnf and it seems to be working as expected.
[05:50] <sommerts> do you guys have a unix account named 'mail' in /etc/shadow? and is it unlocked?
[05:57] <mralphabet> sommerts: mail:*:13629:0:99999:7:::
[05:57] <sommerts> same here. tks
[06:07] <ivoks> CrummyGummy: great
[06:08] <ivoks> CrummyGummy: just, don't add stuff to my.cnf
[06:08] <ivoks> CrummyGummy: add it in files in /etc/mysql/conf.d/
[06:08] <ivoks> CrummyGummy: it makes upgrade of packages easier, *a lot*