/srv/irclogs.ubuntu.com/2014/11/03/#ubuntu-server.txt

sync0pateis administering your own mail server as much hassle as it seems?00:22
sync0pateI only really need it for my own personal e-mail00:22
sync0pateand it's proving to be a pain trying to get anything working.00:22
LinStatSDRSometimes, setting up very small services such as that is more of a hassle than just using gmail00:23
sync0pateI don't like gmail.00:24
sync0pateI want to use my own domain.00:24
sync0patebut it is seeming like such a hassle.00:24
sync0pateI don't understand why setting up a web server (or a million other types of server) is so easy00:25
LinStatSDRDo you have a static ip or you using dydns00:25
sync0patestatic00:25
LinStatSDRThat's good then.00:25
sync0pateand yet mail.. which is so ubiquitous00:25
sync0pateseems impossible00:25
LinStatSDRI can assure you it is possible. :D00:25
sync0pateI've just been trying it out on a temporary digitalocean vps at the moment00:25
qman__running a mail server is kind of a big deal compared to most basic services00:28
qman__but it's not impossible00:28
LinStatSDRHave you consulted the "youtube".00:28
qman__I followed the vmail tutorial linked in the server guide to set mine up, and I put up scrollout F1 in front of it for spam filtering00:29
LinStatSDRerr, "the youtube" rather lol00:29
qman__make sure you set up your SPF records, and make sure you use a good spam filtering system00:29
qman__and you won't have too much trouble00:30
qman__unfortunately I haven't had much luck upgrading my mail server00:31
qman__it's still running lucid and a release upgrade breaks my mail config00:31
qman__so I'll probably have to set up a new one00:31
LinStatSDR:(00:33
qman__but that's why I have KVM and snapshots00:34
=== Lcawte is now known as Lcawte|Away
sync0pateconsulted youtube?00:35
sync0patefor server things?00:35
sync0pateno, I've not.00:36
sync0pateI hate video tutorials of this kind of thing.00:36
qman__I would not consult youtube either00:36
qman__I would follow the server guide00:36
sync0patethe server guide?00:36
qman__yes00:36
qman__it's in the topic00:37
sync0pateYeah.. I'll maybe start again with that tomorrow00:37
sync0pategive it one last shot00:37
LinStatSDRGive it more than that, otherwise you would have just wasted the time you've spent thus far.00:38
sync0pateso better to waste more?00:38
sync0pategot it.00:38
sync0patelol00:38
LinStatSDRBetter than giving up dude.00:38
sync0patethere are plenty of times when it's better to just give up.00:39
sync0pateI can't spend too long on it tomorrow00:39
sync0pateI have actual work to do too00:40
LinStatSDRJust poke at it every now and then when you have time :D00:40
qman__the configuration to make it function is not too difficult00:41
qman__the anti-spam is the hard part00:41
sync0patespamassassin?00:41
qman__which is why I chose to stand up scrollout F1 in front of it00:41
LinStatSDRI vote exchange server in this case00:42
* LinStatSDR giggles00:42
=== zz_DenBeiren is now known as DenBeiren
=== PRaXiS is now known as MaGiSTeR
=== snuffeluffegus is now known as gurpgork
=== kickinz1_mob|off is now known as kickinz1_mobile
lordievaderGood morning.08:32
=== DenBeiren is now known as zz_DenBeiren
=== Lcawte|Away is now known as Lcawte
=== Lcawte is now known as Lcawte|Away
saladimim getting always Permission denied for my sbuild. i dont seem to be able to get sbuild set up propper12:37
MarkDenzI got an abuse notification from my hoster (and some org) that a small server of mine answers SSDP requests and I should look that nobody abuses this. I don't have any in depth knowledge about SSDP. Any idea what I could do? Here some info: http://blog.sucuri.net/2014/09/quick-analysis-of-a-ddos-attack-using-ssdp.html13:09
=== lazyWeekend is now known as lazyPower
patdk-wk_MarkDenz, why are you running upnp on a server?13:23
MarkDenzpatdk-wk_: testing services with other VMs13:23
MarkDenzpatdk-wk_: should make it only available internally I guess13:24
patdk-wk_what does upnp have to do with that?13:24
MarkDenztesting upnp discovery within the network13:24
=== Lcawte|Away is now known as Lcawte
=== Lcawte is now known as Lcawte|Away
=== Pici is now known as to
=== to is now known as Pici
=== Lcawte|Away is now known as Lcawte
ac_slater_hey guys. I have a lab of machines currently running 12.04 LTS server. Upon boot, /tmp fails to mount and I get a scary option to boot a single-user root shell without a password. This is awful. Any clue what provides this? BUSYBOX=Y in initramfs.conf ?16:20
lordievaderac_slater_: It's single user mode, you can also boot it by appending the 'single' kernel parameter.16:24
ac_slater_lordievader: right, I disable this via grub216:28
ac_slater_but yes, it can still be done16:29
ac_slater_I'd just rather not have a prompt for it16:29
lordievaderac_slater_: A prompt for what?16:29
ac_slater_lordievader: when /tmp can be mounted... I get 'Press R for root shell' ... or something like that16:30
ac_slater_maybe, 'Press R for manual recovery'16:30
lordievaderac_slater_: Is it defined in /etc/fstab?16:30
ac_slater_yes16:31
ac_slater_I've fixed the actual issue (which is well documented) ... but I'd just like to disable any prompting for root anything16:31
ac_slater_whether that is fixing upstart, disabling busybox on boot ,etc16:33
lordievaderac_slater_: It is not busybox, but I don't know how to disable it. (Apart from setting a root pw, but that ain't Ubuntu policy)16:35
ac_slater_lordievader: I guess ill mess with /etc/init/rc-sysinit.conf and other files to see.16:35
sudormrfsorry about that16:37
kevindfHello, I've set up a OpenVPN server on my Ubuntu 14.04 home server, I can succesfully connect to the server but if my firewall is enabled I cannot get internet access, If I disable my firewall everything works completely fine. I tried adding serveral iptables but none of them worked. Obviously it has something to do with the iptables. Anyone know what i'm doing wrong?16:39
kevindfI do have iptables-persistent installed16:39
lordievaderkevindf: What what it is dropping.16:40
kevindfSo basically if I connect to the VPN with firewall disabled, my ip changes and everything works fine, but with firewall enabled I don't get a network connection on the machine connected to the vpn16:41
kevindfbasically*16:41
lordievaderkevindf: Checkout what the firewall is dropping...16:42
ac_slater_I know this might not be appropriate, but I think I'm going to file a bug report for this. The user shouldnt be prompted for single-user mode shell in all cases. This should be configurable... and not by changing the mess that is /etc/init/*16:43
sudormrfthere we go16:44
kevindflordievader How can I check that? As i'm fairly new and experimenting with servers16:44
lordievaderac_slater_: I think it is by design, in this case it ain't a critical mount but suppose /lib would fail I'd like the option to fix the mess.16:46
lordievaderkevindf: Let iptables log the dropped packets and see if it drops openvpn traffic.16:47
ac_slater_lordievader: it should log and tell you to chroot in and fix16:51
ac_slater_lordievader: but this isnt a perfect world. Kernel option `splash quiet` hides the prompts16:52
lordievaderac_slater_: Matter of opinion.16:52
ac_slater_and when would /lib ever fail? People put that on a seperate FS ?16:52
lordievaderYou can...16:53
ac_slater_I've never seen it16:53
ac_slater_but yea you're right16:53
=== bilde2910|away is now known as bilde2910
=== Corey_ is now known as Corey
sync0pateOK, so, I have postfix set up and a mailbox working, using Sentora (zpanel) on 14.0418:03
sync0pateand I want to get a catch-all e-mail working, but nothing seems to work18:03
sync0pateI'm getting "Recipient address rejected: User unknown in virtual mailbox table"18:03
sync0pateand I've googled that and followed about 5 different sets of instructions to fix it, with no joy.18:04
sync0pateanyone have any idea what I can try?18:05
avid_fansync0pate: I'm not familiar with zpanel, but a quick Google search returned the following: http://www.cyberciti.biz/faq/howto-setup-postfix-catch-all-email-accounts/18:18
avid_fansync0pate: Seems pretty straightforward.18:18
sync0pateit does, doesn't it avid_fan ..18:19
sync0pateavid_fan, sorted it18:29
tewardsarnold: if you're around, mind a PM?18:29
sync0patefollowing those instructions, but I had to use the entire e-mail instead of just the username18:30
sync0patejust in case anyone else has the same thing18:30
sarnoldteward: sure18:30
avid_fansync0pate: But that seems to work?18:30
sync0pateseems to18:31
avid_fansync0pate: Cool.18:31
sync0patewith just the username it creates a mail loop (?!)18:31
avid_fansync0pate: Good to know.18:31
Pici7018:32
=== jeremy_carroll_ is now known as jeremy_carroll
=== chmurifree is now known as chmuri
=== kickinz1_mobile is now known as kickinz1_mob|off
=== bilde2910 is now known as bilde2910|away
PlizzoHi there! I recently had a RAID5 crash where two of my disks broke down on the same night, leaving me with a bit of corrupted data. I’ve ran badblocks on all of the disks, which returned nil, but I also have some smart tests, and I am wondering if you could help me interpret them to find the bad disks.20:53
nezZarioOk folks.. I'm really not all that skilled with ubuntu servers in specific.. I actually thought this was a debian server for a few minutes .. But anywho, something has a serious issue here with dependencies, ... I really have nothing to go on here20:53
bekksPlizzo: USe smartctl to run the long selftests.20:53
nezZariohttp://pastie.org/private/egdrtvg7i8ansa2ek9za <-- Apt will not get past this -- upgrade, update, anything merrily tells me this must be fixed first20:54
Plizzobekks: I have, and I have the log files ready.20:54
Plizzobekks: Two of them are showing errors, but I just want a second opinion20:54
bekksIf they show errors, they are broken.20:54
bekks:)20:54
Plizzobekks: Alright, but would you mind looking at them, just for the fun of it? :P20:55
bekksJust pastebin them then.20:55
Plizzobekks: /dev/sda: http://paste.ubuntu.com/8808108/20:55
nezZarioI see some mention about forcing installation of older packages but I really don't want to blindly start purging and (trying?) to install packages20:55
Plizzobekks: /dev/sdc: http://paste.ubuntu.com/8808123/20:55
bekksnezZario: Why do you want to do that?20:55
Plizzobekks: /dev/sdd: http://paste.ubuntu.com/8808126/20:56
Plizzobekks: /dev/sde: http://paste.ubuntu.com/8808128/20:56
nezZariobekks: that's the closest thing I can find to a "solution" via googling.. some are saying purge X packages, some say install some older packages via dpkg -i20:56
bekksPlizzo: sdc is dead, sdd is dead, sde is dead, too.20:56
bekksnezZario: Why are you trying that?20:57
Plizzobekks: How would you see that, to me, it only seems that sda and sdd are broken20:57
nezZarioI'm not, I just said that.  Although it does make a small amount of sense, from what I'm interpreting here, it's trying to install a new kernel image and a dependency is newer than what that package is expecting20:58
bekksPlizzo: Take a look at the "Seek_Error_Rate".20:58
nezZarioAs I said previously, I'm really lost otherwise, other than the fact that I can't use apt20:58
Plizzobekks: Are those values bad, I’m not really good at judging this.20:59
bekksnezZario: WHY are yiu thinkting about that? Whats the _actual_ issue behind your questions?20:59
bekksPlizzo: They indicate a dead drive.20:59
nezZariobekks: see http://pastie.org/private/egdrtvg7i8ansa2ek9za20:59
sarnoldnezZario: I suggest another apt-get update; it feels like your mirror might have been out of sync when you started20:59
Plizzobekks: Alright. This is really hard, because I managed to start my corrupted raid, and the disks are still functioning.21:00
bekksPlizzo: And "Hardware_ECC_Recovered" with values of 1837712040 indicate thats its even more dead.21:00
nezZarioapt-get update, apt-get -f install yields same error about linux-server dpeending on an older version of linux-image-server21:01
Plizzobekks: And all those disks indicate so?21:01
bekksPlizzo: Even though the drives  are working now, they will gonna die soon. sdc is a bit more alive, the others are dead.21:02
Plizzobekks: Alright, thanks for your feedback!21:05
sarnoldnezZario: I -think- the linux-server package in that release is just a pointless metapackage; perhaps it can just be deleted?21:05
bekksPlizzo: You're welcome :)21:05
sarnoldnezZario: .. dunno if it'll sort your actual issue, but check apt-cache show linux-server and see if it looks useless :)21:05
nezZariosarnold: that may of worked21:07
sarnoldnezZario: cool; make sure you still have e.g. linux-image-generic  installed, so you will get kernel security updates when they are published21:09
nezZarioyep, that looks like it cleaned it up21:16
nezZariothanks sarnold :)21:16
sarnoldnezZario: nice21:17
=== Lcawte is now known as Lcawte|Away
=== Lcawte|Away is now known as Lcawte
=== kickinz1_mob|off is now known as kickinz1_mobile
=== kickinz1_mobile is now known as kickinz1_mob|off
=== Lcawte is now known as Lcawte|Away

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