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