[00:03] I'm having problem running vsftpd on my server; getting "530 Non-anonymous sessions must use encryption." My config looks like this: http://paste.ubuntu.com/5846998/ and my user config like this: http://paste.ubuntu.com/5847003/ any help would be welcome. Thanks! === Guest16260 is now known as felipe_ [00:08] sindri: you seem to have turned that on in your config. [00:09] sindri: you enabled ssl then forced everyone to use it [00:09] sindri: make sure you also force ssl in the client [00:10] mardraum: but shouldn't it still be possible to access it? running "ftp localhost" I'm not even asked for password [00:11] perhaps vsftpd handles localhost differently. [00:12] sindri: hrm, note the guest_enable=YES and guest_username=ftp combination, is that intentional? [00:14] sarnold: I followed a guide on the forums for setting it up (virtual users and ssl) And I think that was included [00:16] sarnold: but using a pre declared username in a .db I'm not considered being a guest right? [00:17] sindri: I don't know that level of details, it just looked potentially problematic. :) [00:18] sarnold: Thanks, I'll make a note and look into it :) [00:19] sindri: client config is more likely your problem [00:21] You mean the vsftpd.config ? [00:22] sindri: you need to make sure your ftp client requests SSL [00:23] But isn't stating "ftps://ipadress" in filezilla forcing it to use SSL? [00:24] perhaps? does the log show the client asking for AUTH TLS or AUTH SSL? [00:26] It says it initiates TLS after establishing a connection [00:26] then I get timedout [00:29] sindri: you might need to break out openssl s_client -starttls ftp ... [00:30] On the server toward localhost? [00:31] sindri: sure [00:33] hm, "Connection refused" Errno:111 [00:35] No ok, my bad - wasn't sure how to really run the command. can pastebin output. [00:42] sarnold: thanks for help but I have no idea what that command is, trying to figure it out still [00:43] sindri: does the openssl s_client connect alright? can you get data back out of the ftp daemon after you've connected? [00:44] ALERT! /dev/mapper/rootvol-root does not exist. Dropping to a shell! after 10.04 to 12.04 with do-release-upgrade [00:44] any suggestion on a fix? [00:45] sarnold: It connects in some way, but I don't know how to feed it my user and password :S [00:47] sindri: iirc, it's "user username-goes-here" and "pass password-goes-here" [00:47] sindri: full thing is here: http://www.ietf.org/rfc/rfc959.txt [00:50] axisys: looks like you're using LVM, and somehow ubuntu cannot find that VG [00:50] are you using LUKS or RAID ? [00:50] or something ? [00:50] Guest51645: raid and lvm .. no luks [00:50] axisys: RAID 1? 0? [00:50] how can I track down which tasks are using my database [00:50] which one ? [00:51] Guest51645: raid 10 [00:51] Guest51645: no, raid 1 [00:51] back to grub menu [00:51] tarvid: lsof | grep /path/to/socket [00:51] axisys: can you run cat /proc/mdstat ? [00:52] Guest51645: i can go to recovery mode or pick the first optio === Guest51645 is now known as virusuy [00:52] tarvid: of course, if any programs are using a TCP socket, you'll need to look for those too, netstat -np | grep :portnumber [00:52] axisys: go to recovery and pastebin the output of cat /proc/mdstat [00:52] that will show us in which state your array is right now [00:53] virusuy: k [00:53] sarnold, I am trying to track down which databases are actually being used. They have been created over time and most have been abandoned [00:54] tarvid: mysql ? [00:54] yes [00:54] run show processlist; [00:54] tarvid: beware cronjobs or webscripts that are rarely used but still needed.. [00:54] http://paste.ubuntu.com/5848449/ [00:54] and that will show you which query and database are being used [00:54] at the moment [00:54] I created a log file and added a log: line in my.cnf [00:54] axisys: seems like everything is up and running [00:54] realy odd [00:55] sarnold: Thanks alot! I'm guessing I'm close to a solution now, think my password might contain some illegal characters as I get error 331 which means User name ok but missing password. Using "!" and "_" among other tokens might this be a problem? [00:55] I cleaned up the apache virtual stanza but lining up users and databases eludes me [00:56] sindri: oh jeeze, that'd be unfortunate... [00:56] sindri: maybe make a new user account with very simple password, for testing.. [00:56] does it work at all :) [00:56] virusuy: md0 and md1 is missing [00:56] axisys: oh! [00:56] that's it ! [00:56] sda and sdb is missing [00:57] well, that's the reason why your system doesn't boot up [00:57] so, now we should see why those 2 drivers are missing [00:57] virusuy: well not missing .. but not in that output [00:57] can you pastebin the output of fdisk -l ? [00:58] virusuy: not from initramfs [00:58] (initramfs) fdisk -l [00:58] /bin/sh: fdisk: not found [00:58] oh, ok [00:58] uhmm [00:58] [ 21.982045] sd 9:0:0:0: [sda] 143134720 512-byte logical blocks: (73.2 GB/68.2 GiB) [00:59] [ 21.982298] sd 9:0:1:0: [sdb] 143134720 512-byte logical blocks: (73.2 GB/68.2 GiB) [00:59] well, at least are there [00:59] but somehow they're not defined as an array [00:59] virusuy: yes [01:00] can you see /etc/mdadm.conf ? [01:00] http://paste.ubuntu.com/5848468/ [01:00] probably they're not defined there [01:01] http://paste.ubuntu.com/5848471/ [01:02] /dev/md0 is defined twice [01:02] exact same entry [01:02] how do I modify from here and update ? [01:03] using vi [01:03] but first !! backup that file !!! [01:03] :-) [01:04] not from initramfs [01:04] you can also rescan those arrays, and create mdadm.conf based on that scan [01:06] mdadm --detail --scan does not see md0 or md1 [01:06] mdadm --examine --scan > /etc/mdadm.conf [01:06] but first, backup mdadm.conf [01:07] (initramfs) cp /etc/mdadm/mdadm.conf /etc/mdadm/mdadm.conf.bak [01:07] sarnold: Ok, didn't matter how simple the password was. :( [01:07] virusuy: ok modified mdadm.conf [01:08] virusuy: I think I need to update initramfs before the reboot [01:08] probably [01:08] but first, cat mdadm.conf [01:08] to see if it is ok now [01:08] sindri: nuts, I was afraid of that. check your vsftpd logs again, they might have new data.. [01:09] http://paste.ubuntu.com/5848486/ [01:09] axisys: cool :-) [01:09] sarnold: Will do tomorrow :) thanks again for taking the time - goodnight all! [01:10] sindri: good luck [01:10] virusuy: thanks a lot for your help.. still may be one more step [01:11] axisys: no problem sir, you're welcome ! :-D [01:11] virusuy: can I just reboot ? I know I need to run update-initramfs when I am on OS [01:12] axisys: i'm not sure [01:12] at least, you can re-do this steps [01:13] virusuy: yep :-) [01:13] :-) tell us later if everything goes well [01:14] s/goes/went [01:16] stuck same spot [01:16] even running update-initramfs ? [01:19] mdadm -As after the --examine --scan and then exit seem to do the trick.. [01:20] looks good now.. thanks a lot for your help [01:21] no problem [01:21] good to know you got that big boy up and running again [01:46] I installed postfix dovecot sasl2-bin in ubuntu-server,but use foxmail not connect to hostname,this error prompt:535 5.7.8 Error: authentication failed: authentication failure,who can help me ? [01:47] fangj1n: are there error messages in the server log files? [01:49] Jul 6 09:45:25 ubuntu-server postfix/smtpd[8722]: warning: localhost[127.0.0.1]: SASL login authentication failed: authentication failur [01:49] that is error log [01:50] fangj1n: time for me to go -- check the sasl configuration to see what it requires for authentication. good luck! :) [06:50] how to install unity on ubuntu server? === dosaboy_ is now known as dosaboy === lotia_ is now known as lotia [21:14] don't see one of the VG after the do-release-upgrade [21:14] lots of duplicate PVs [21:15] http://paste.ubuntu.com/5850884/ shows VG splunk is there [21:15] but vgs does not show it [21:15] http://paste.ubuntu.com/5850887/ [21:15] anyway to recover the VG splunk? [21:15] axisys: you're having the same problem than yesterday ? [21:15] virusuy: hey [21:15] virusuy: no I past that [21:16] virusuy: now issue with LVM [21:16] oh [21:16] which is built on top of those mds [21:16] yeah [21:17] md2, md3 and md4 should be the PVs that were used to build the VG splunk [21:18] seems like udev changed all your HD names [21:21] sdc1,sdd1 => md2 ; sde1,sdf1 => md3 and sdg1,sdh1 => md4 [21:22] and then md2,md3,md4 to make VG splunk [21:22] those are raid1s [21:22] so trying to avoid rebuilding the PVs to keep the data if possible [21:40] removed the duplicate PVs with pvremove [21:40] but it does not let me add /dev/md2 [21:40] or /dev/md3 and /dev/md4 [21:41] only allow /dev/md2p1 or /dev/md3p1 or /dev/md4p1 [21:42] http://paste.ubuntu.com/5851037/ [23:04] I want to add 3 drives to my raid 5 and convert it to raid 6 at the same time. Any suggestions? [23:06] can i mdadm --manage /dev/md0 --add /dev/sd[hig] --level 6