/srv/irclogs.ubuntu.com/2013/06/09/#ubuntu-server.txt

ClientAliveWhat is the best way to align partitions across multiple disks? Is there a way to do it that doesn't involve creating partitions on the other disks just as spacers? My problem is, I'll have a raid array but not everything on this systeam can be in a raid array (the uefi system partition for instance). I still want the partitions in the raid array to lign up on the physical platters across all disks though.04:37
soy_el_pulpoI guess you can copy the partition of the disk you want to be the source to the other targets, assuming they are exactly the same04:53
soy_el_pulpoand only add to the raid the ones you need, excluding those that can't be RAIDed04:54
soy_el_pulpoyou can use "sfdisk -d /dev/sda | sfdisk /dev/sdb" to copy the partition form sda to sdb04:55
soy_el_pulpoClientAlive: hope this helps04:56
ClientAlivethx man04:57
ClientAliveit does :)04:57
jacksonkaAnyone aware of an encryption algorithm stronger than ECDSA04:57
jacksonkaAnyone aware of an encryption algorithm stronger than Elliptic Curve Digital Signature Algorithm?05:01
jacksonkaSpecifically ECDSA 52105:02
jacksonkaI am attempting to deploy Jabber has anyone done it on Ubuntu 12.04?05:15
madpropshi, I was wondering what the justifications for forking apache are06:10
madpropssome folks at httpd seem to be appalled by this06:12
andolmadprops: what fork are you refering to?06:23
madpropsandol, http://wiki.apache.org/httpd/DebianDeb0rkification06:26
andolWouldn't call that so much a fork, as providing a different set of default configuration.06:28
andolMy personal opinion is that I do appreciate this split into include files, but agree with the wiki page on some not-optimal default. From what I have understood that is at least partly done in regards to backward compability, not breaking upgrades for packages which depend on Apache2, etc06:31
balachmarHi, I am installing postfix as a mailserver on a vps and it is working with ufw disabled. But when I enable it it blocks port 587 even when in the status it allows udp and tcp from Anywhere07:13
sarnoldbalachmar: can you pastebin your ufw status output somewhere?07:16
sarnoldbalachmar: have you manually added any rules that would prevent it from working?07:16
sarnoldbalachmar: does netstat -tnlp | grep :587  show it listening? is it listening on the interfaces you expect?07:17
sarnolds/interfaces/addresses/07:17
balachmar@sarnold: http://pastebin.com/uwV47Dr6 for ufw status verbose07:18
sarnoldbalachmar: hrm, I see an explicit DENY on 25; how are you testing that 587 doesn't work?07:18
balachmarsarnold: I am using thunderbird. and it works fine with ufw disabled07:19
balachmarsarnold: iptables output: http://pastebin.com/BKSjcCzd07:20
sarnoldoof, I'm once again reminded that I need to study iptables more. :)07:20
balachmarsarnold: and netstat: http://pastebin.com/rZNyT7yx07:21
sarnoldbalachmar: and you're confident thunderbird isnt using 25?07:21
balachmarsarnold: yes, that was what I was thinking as well, with all that chaining, I am a bit abffled07:21
balachmarsarnold: well, it is telling me it uses 587 with STARTTLS07:22
balachmarBut I can allow 25 for now07:22
sarnoldbalachmar: can you try something like openssl s_client -connect mailserver.foo.example.com:587   ? I think that should work..07:22
balachmarsarnold: even with 25 open (according to ufw) no luck07:23
balachmaropenssl s_client -connect mail.wligtenberg.nl:58707:24
balachmarCONNECTED(00000003)07:24
balachmarmmm, I could have ubfoscated the server name there :)07:24
sarnoldCONNECTED is actually encouraging..07:24
sarnold   16  2272 ACCEPT     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           tcp dpt:58707:24
sarnoldthat shows some 16 packets accepted through to port 587, right?07:25
sarnold(line 73)07:25
balachmarsarnold: http://pastebin.com/695FdJc7 full thing from openssl07:26
sarnoldbalachmar: can you check the postfix logs? thjere might be something else oging on..07:26
sarnoldbalachmar: aha, add a -starttls smtp to that openssl command line; I just got a nice SMTP session with your server07:28
balachmar@sarnold: you were able to send mail?07:29
balachmar@sarnold: I don't know :)07:36
sarnoldbalachmar: hehe :)07:37
balachmar@sarnold: aah I know why it whines about that07:37
sarnoldbalachmar: well, there's lots of reasons why it might fail to relay.. hopefully the logs say _why_07:37
balachmar@sarnold: you need to login to do that07:37
balachmar@sarnold: do you know how I can login using the openssl command?07:37
=== mlocher_ is now known as mlocher
=== irv_ is now known as irv
sarnoldbalachmar: oh man, it looks complicated :)  http://tools.ietf.org/html/rfc255407:38
balachmarmaybe I can use this: http://www.ndchost.com/wiki/mail/test-smtp-auth-telnet07:38
sarnoldbalachmar: ooh. worth a shot.07:39
balachmar@sarnold: ok, authenticated :)07:44
balachmar@sarnold: and seemingly able to send an e-mail07:46
sarnoldbalachmar: nice :) can you send...07:46
sarnoldwoo.07:46
balachmar@sarnold: but it didn't arrive yet...07:46
balachmar@sarnold: mmm, it didn't work07:48
balachmarSo, as soon as I turn off ufw, I can send e-mail07:49
balachmarsarnold: I think it is actually about sending it, not receiving the task of sending mail07:49
balachmarsarnold: yes, it is unable to resolve google.com hostname07:50
balachmarsarnold: I can't ping on that machine either when I turn on ufw07:50
balachmarsarnold: I just don't know which ports are required for that07:52
sarnoldbalachmar: ping is different, that uses icmp rather than tcp or udp07:52
balachmar@sarnold, ok and which port is used for DNS?07:53
sarnoldbalachmar: resolving google.com would require probably allowing input from port 53 back to your server on any ephemeral port...07:53
sarnoldbalachmar: (the request is probably made from an ephemeral port rather than a well-known port..)07:53
sarnoldbalachmar: .. is there a connection tracking module required / available for dns?07:54
balachmarsarnold: don't know07:54
balachmarsarnold: I know that ping google.com doesn't work as soon as I enable ufw and that postfix also complains about not knowing where to send the mail07:55
sarnoldbalachmar: hrm, I don't see one on my system anyway..07:55
sarnoldbalachmar: 'ufw allow proto icmp' would probably fix that...07:56
sarnold(fix ping, that is. dunno about the rest. :)07:56
balachmarsarnold: ERROR: Need 'to' or 'from' clause ... (I forgot to mention this thing is running 8.04...)07:57
sarnoldbalachmar: aha, my shiny 13.04 laptop has them both optional :)07:57
sarnold.. though maybe that's just a shotrhand in the manpage.07:58
balachmarsarnold: and since it is a vps on openvz upgrading I cannot upgrade it07:58
sarnoldbalachmar: maybe 'to 0.0.0.0'?07:58
balachmarsarnold:ERROR: Unsupported protocol 'icmp'08:00
sarnoldbalachmar: try 'proto 1' ?  (I found it via grep icmp /etc/protocols)08:01
balachmarsarnold:ERROR: Unsupported protocol '1'08:03
balachmar:)08:03
balachmarsarnold: Aah, there seem to be issues with ufw using non stock ubuntu kernels (which vps companies do)08:07
balachmarsarnold: so, fixing that first08:07
sarnoldbalachmar: oooof. :/ it's bedtime for me, I hope you get something working to your liking. :)08:28
sarnoldbalachmar: if you wind up fixing it, I'd be curious to know what the end result is. :) good luck08:28
balachmarsarnold: I will let you know via a pm08:42
=== acrocity_ is now known as acrocity
_dreamerHello, I am installing a webserver with apache mysql and php. I ran into some trouble while trying to connect to my mysql server (from a local machine that's not the server). I get the Can't connect to [local] MySQL server error and I do not understand how to fix it even after reading this, http://dev.mysql.com/doc/refman/5.6/en/can-not-connect-to-server.html. Can anyone help me?10:27
_dreamerHello, I am installing a webserver with apache mysql and php. I ran into some trouble while trying to connect to my mysql server (from a local machine that's not the server). I get the Can't connect to [local] MySQL server error and I do not understand how to fix it even after reading this, http://dev.mysql.com/doc/refman/5.6/en/can-not-connect-to-server.html. Can anyone help me?10:32
_dreamernvm, gonna use phpmyadmin...10:36
balachmarHi, I'm installing my own mail server, and I can send mail, and connect to imap. But I don't receive mails that I send from my gmail account to my new mail address.11:57
balachmarI am not sure how I can check that11:57
e_t_balachmar: do you have an MX record pointing to the mail server you set up?12:06
balachmare_t_: yes, I now found this website that allowed me to check to which server it is pointing12:07
balachmare_t_: http://mxtoolbox.com/SuperTool.aspx and that was fine12:07
balachmare_t_: however when I did an smtp check, it failed. Now I allow port 25 as well, I didn't know if that was required12:07
balachmare_t_: and that seemed to fix it :) I didn't really want to open 25, because I am sending over ssl, but apparently I also need it to receive mails :D12:08
e_t_Port 25 has to be open on a mail server. Otherwise, it's like welding your mailbox shut.12:09
balachmare_t_: yep, kind of got that now :D12:09
lirihey guys13:39
liriI've got an Ubuntu natty server, where all of my repositories are configured to use us.archive.ubuntu.com. When I issue an apt-get update, I get 404 Not Found on many of the configured repositories.13:40
liriShould I fix up the repositories configuration some how or should I just go about doing a dist-upgrade?13:42
mardraumpersonally I would upgrade, otherwise, look for a mirror that still holds that ancient release.13:45
liriyeah I think I found a way13:46
lirijust convert the source.list file from us.archive.ubuntu.com to old-releases.ubuntu.com13:46
lirishould do it for the basic stuff13:46
lirithanks though13:46
=== highvolt1ge is now known as highvoltage
garrettkajmowiczGreetings! I just upgraded my server from 10.04 LTS to 12.04 LTS and the newly-installed kernels will not boot. Specifically, I get dumped to a busybox shell. If I boot a kernel from 10.04, everything comes up fine. The funny thing is that if I am in the busybody shell, the root volume isn't mounted, but "mount /dev/md0 /root" works just fine. Any thoughts?17:22
qman__garrettkajmowicz, try creating/recreating /etc/mdadm/mdadm.conf17:44
qman__backing up any existing files of course17:44
qman__the 10.04 kernel may be doing autodetection that the 12.04 kernel isn't doing17:45
garrettkajmowiczqman__: I can buy that (working on the file now). However, simply running "mount /dev/md0 /root" works flawlessly once I'm in busybox - the RAID set has been automatically assembled.17:48
garrettkajmowiczqman__: I've checked the mdadm.conf file and updated it with a few bits. Next reboot (which will disable this connection) I will see if anything works better.17:52
qman__ok, just an idea17:52
qman__one other thing, check to make sure /boot didn't fill up17:54
qman__if it did you may have gotten partial/broken files on your new kernels or new initramfs files17:55
lenny__Hello this may be the wrong place for this question so I am sorry in advanced. I have set up my own server and have configured the DNS to point to it when I arrive at the page the page displays webpagename.com but when I go to any link it shows my server name. Is doing a mod rewrite the best way to handle this or is their a better way to do this?18:19
lenny__sorrry server IP not name18:19
qman__lenny__, that means you need to reconfigure your web application's settings18:25
qman__most web applications have a configuration file which has a setting for your site URL - where it is will depend on that application18:26
lenny__ok so for instance this is a wordpress install I should be looking their?18:30
balachmarI am trying to install roundcube, installed package form repos, but server/roundcube/installer/ doesn't exist18:31
qman__yes, wordpress should have a configuration file with a setting that is currently set to your server's IP, and that should be changed to your site name18:31
lenny__ok thank you very much qman__18:31
andolSeem to recall that wordpress has that setting in the database? (Commonly modified from /wp-admin/)18:32
lenny__I think wp-config.php should have it if not ill check the database. myserver is locked down to only allow shell access from my network though so I will check in an hour when I get back.18:33
=== diplo_ is now known as diplo
=== yofel_ is now known as yofel
=== Ursinha is now known as Ursinha-afk
=== Ursinha-afk is now known as Ursinha
=== Ursinha is now known as Ursinha-afk
=== Ursinha-afk is now known as Ursinha
=== daker_ is now known as daker
codepython777anyone using vagrant / puppet / chef here?23:31
codepython777I was thinking of provisioning using bash, and was wondering if someone had any luck with that?23:31
=== unreal_ is now known as unreal
madpropsis there much difference between CentOS and Ubuntu Server when it comes to security?23:49
qman__yes, the two take different approaches on a number of issues23:52
qman__if you're really asking if one is more secure than the other though, the answer is no23:53
qman__security isn't about selecting one product over another, it's about strategy and behavior, you're only as strong as your weakest link23:56

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!