/srv/irclogs.ubuntu.com/2016/07/08/#ubuntu-server.txt

=== roaksoax_ is now known as roaksoax
masuberuhi03:27
masuberuhas Ubuntu a tool or a way to restore the / file permission?03:27
sarnoldmasuberu: if you've changed / to something that then forbids you from running commands, you may not have many options except rebooting into a rescue system03:40
masuberuok03:41
sarnoldmasuberu: maybe you can run programs via ../../bin/chmod03:41
masuberuyou mean boot from original cd and restore it from there?03:41
sarnoldyeah that should do it03:41
sarnoldwhat di dyou change it to? :) and how? :)03:41
masuberuis there an option to fix it on the installation menu on the boot cd?03:42
masuberumate, I did the most stupid thing on earth03:42
masuberuI run sudo chmod -R 777 / nvme03:42
sarnoldahhhhhhh03:42
masuberuinstead of sudo run chmod -R /nvme03:42
sarnoldso you've got a lot more than just the permissions on / to fix03:42
masuberuyes03:42
masuberubasically everything03:42
masuberuwhat would you recommend?03:43
sarnoldafter a good long cry?03:43
masuberuis reinstall my only solution?03:43
sarnoldthat's the best solution, but you might be able to get away with comparing against another system03:44
sarnold.. and then manually fixing everything. that doesn't sound like fun though.03:44
masuberuI thought ubuntu installation cd could fix it03:45
masuberuchoosing an option from the installation menu?03:45
sarnoldafaik debian/ubuntu doesn't have any equivalent of other systems's "expected permissions" tools, and I don't think dpkg has any way to report which permissions are wrong and what they -ought- to be :(03:45
masuberuhum ok03:45
masuberunow my problem is that I can't ssh into it ...03:46
sarnold.. because the permissions are too permissive. oooof.03:46
masuberuI go to terminal and I can ping outside03:46
masuberuthe ip of the machine is same as before so no network issues03:46
masuberudoes it ring any bell?03:47
sarnoldyeah, ssh is really picky about allowed permissions on its files03:47
sarnoldtry first chmod 755 / /etc /etc/ssh /home ~ ; chmod 700 ~/.ssh03:48
masuberuok...03:50
masuberuhasn't complain03:50
masuberushall I restart the machine?03:50
sarnolddepends; if you want to just re-install, that's not a bad option. if you want to try to fix it, just keep changing permissions on it until it's fixed.. _then_ reboot03:55
masuberui ended up reinstalling06:01
masuberu:___(06:01
phoenix_hello09:18
phoenix_i have configured postfix09:19
phoenix_when i try echo "Test mail from postfix" | mail -s "Test Postfix" you@example.com09:19
phoenix_echo "Test mail from postfix" | mail -s "Test Postfix" dahlia2.co2016@gmail.com09:19
phoenix_i get this error09:19
phoenix_Can't canonicalize "/home/dahlia/Maildir"09:19
phoenix_Failed to save message in "/home/dahlia/Maildir/sent" - message not sent09:20
phoenix_"/home/dahlia/dead.letter" 6/14009:20
phoenix_what should i do ?09:20
phoenix_is there someone?09:32
hateball!patience | phoenix_09:38
ubottuphoenix_: Don't feel ignored and repeat your question quickly; if nobody knows your answer, nobody will answer you. While you wait, try searching https://help.ubuntu.com or http://ubuntuforums.org or http://askubuntu.com/09:38
hateball(I don't know)09:38
hateballphoenix_: Permissions, perhaps? Also there is #postfix09:39
phoenix_#postfix :Cannot send to channel09:40
hateball!register | phoenix_09:45
phoenix_hateball, i have a domain name dahliaco.com and it is configured on a server i need to my customers recieve emails from info@dahliaco.com09:45
ubottuphoenix_: Information about registering your nickname: https://help.ubuntu.com/community/InternetRelayChat/Registration - Type « /nick <nickname> » to select your nickname. Registration help available by typing /join #freenode09:45
hateballphoenix_: I don't know anything about postfix so there's no need to direct towards me :)09:46
phoenix_i dont know how can i do that09:46
phoenix_omg10:35
pirxwhen i install 14.04 i am asked about the Location (of the server i presume). anyone have an idea of where this is saved? or is it seen in e.g. the timezone only?11:39
Xinhey all whats an easy to install web proxy?12:14
hateballXin: nginx12:15
hateballXin: or what do you mean by a proxy? does it need to cache things and so on?12:15
hateball!info squid12:15
ubottusquid (source: squid3): Full featured Web Proxy cache (HTTP proxy). In component main, is optional. Version 3.5.12-1ubuntu7.2 (xenial), package size 2283 kB, installed size 8060 kB12:15
XinI dont really care about caching12:16
Xinill give squid a crack though, thats what ive always heard about12:16
Xinthanks12:16
Xinlordy12:25
Xinthis config is complex lol12:25
=== Isla_de_Muerte is now known as NwS
lamontpirx: /etc/timezone12:49
foormeahi. i'm working on a headless server and i'm about to change its mobo. do i have a way to predict the network interface name with the new mobo? with ethX renamed in enXXXX i'm a bit wary of screwing up my config (and i have no access to console or serial on that headless server)12:50
patdk-wkyes12:50
patdk-wkor add a udev rule12:50
foormeamh, could you explain further how to predict the name, or how to add the udev rule, or point me to some doc? :) sorry i'm a bit clueless right now :/12:52
ogra_the location also makes apt pick the closest server for your sources.list12:54
foormeapatdk-wk, got it: https://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames/    thanks for the hint!13:00
pirxlamont: thanks!13:02
foormeaback to my question about predictable network interface naming: can i somehow have both the predictable (enpXsY...) AND the former standard (ethX) pointing to the same device?13:33
foormeathis way i'd be able to configure my eth0 during the motherboard change13:34
foormeaas it's gonna be tricky to know the "predictable" name for that specific slot on that new mobo :/13:34
ogra_you mean the unpredictable names taht everyone knew from the top of his head ? :)13:34
ogra_you can drop "predictable names" completely by setting net.ifname=0 on your kernel commandline13:35
ogra_that will switch bac to the old behaviour13:35
Odd_Bloke*net.ifnames=013:35
foormeawell i don't really wanna do that: i don't wanna use an older standard. i'd like to have both ethX and enpXsY for a bit, so that i'll know after mobo change the new iface name13:36
foormeaif i disable it altogether, i won't know the new name under predictable scheme13:36
ogra_ah, thanks for the correction (and sorry)13:36
foormeai'm thinking of having a script run at bootup that dumps "ip a" into a file, boot with new mobo13:37
foormeareboot with old mobo and see the file13:37
foormeamodify config accordingly...13:37
foormeathat's a bit overkill13:37
foormeabut i have no serial/screen/keyboard AND i have no usb HDD reader13:38
Odd_Blokefoormea: No DHCP server?13:38
foormeai have a dhcp running on the network yeah13:38
foormeabt13:38
foormeabut13:38
foormeaif that iface is not told in /etc/network/interfaces to come up... it won't, will it?13:38
foormeaand the thing is, i need to be EXACT in what i'm doing, or i lose my server until i get a screen/keyboard/etc for it :/13:39
Odd_Blokefoormea: Well, you can specify configuration for both eth0 and $new_name and still have the option to switch back to the old mobo, right?13:42
foormeaany thoughts, anything obvious i haven't thought of (apart from reverting to older ethX naming scheme)?13:42
Odd_Blokehttps://forums.opensuse.org/showthread.php/493546-How-to-predict-predictable-network-interface-names <-- there's a script there which purports to tell you the predictable name13:42
foormeayeeeeeeeeeh13:42
Odd_Bloke(Note that I had to change the path of lspci, but it worked for me)13:42
foormeaohhhh let me see13:42
foormeain that case i'd revert to ethX scheme, change mobo, check the "predictable" name with that script, revert config to predictable13:43
Odd_Blokefoormea: Right, because you don't actually have the system booted with the new hardware.13:43
foormeayep13:43
foormeaaright very good, very helpful that link you just gave me13:44
foormeaanyway the background story is: i'm sort of scavenging hardware13:44
foormeaand just got a hold of a newer mobo/cpu than what i had13:44
foormeaargh grrr i hope virtualisation is enabled in that mobo's bios...13:45
Odd_Blokefoormea: TBH, you might be best off scavenging a keyboard/monitor and doing this another day. ;)13:46
foormeayeah perhaps you're right, but i like a challenged13:47
foormeachallenge13:47
foormeawell thanks for the tips, i'll give it a thought and let you know how it went if i end up doing it13:48
TeguI had to move a 16.04 usb installation to another machine and had the same naming issue. fortunately, I could connect the other machine to a monitor and check the name there. but I kinda wished it could be automagic :)13:50
foormeaoh well i'll go ahead for that solution: revert to older naming scheme, get the new name, revert to newer naming scheme13:56
foormeaworst case it screw it up and won't be able to use it for a few days -- found a keyboard, but i'll need to find a vga cable which i can find in 3 days13:57
foormeaso i add net.ifnames=0 to end of line "linux   /boot/vmlinuz-4.4.0-28-generic root=UUID=8c3f5192-2348-45f9-ad7f-83360f82589b ro" in my /boot/grub/grub.cfg ?14:00
foormeaor... http://askubuntu.com/questions/19486/how-do-i-add-a-kernel-boot-parameter might be better14:01
DulcinHi does ubuntu have a default mail server enabled? I just uninstalled postfix, i dont want my testserver to send out mails14:06
DulcinI probably installed postfix myself I dont remember, but is there anything else I should worry about?14:06
DulcinI'm on Ubuntu 14.04 by the way14:06
XinI need a romanian or estonian or somesuchhh14:18
phoenix_hello14:19
phoenix_i am configuring postfix14:20
phoenix_when i use  echo "This is the body of the email" | mail -s "This is the subject line" dahlia2.co2016@gmail.com14:20
phoenix_i get this error14:20
phoenix_Failed to save message in "/home/dahlia/Maildir/sent" - message not sent14:21
phoenix_"/home/dahlia/dead.letter" 6/15914:21
Xinanyone know a CHEAP vps provider in like, estonia/romania etc regions?14:25
patdk-wklowendbox.com14:28
yoinkKVM issues with 16.04 - basically I run a bunch of 14.04 virual machines (on a 16.04 host) without issue. However I can't seem to connect/setup 16.04 in KVM. Whether I update a working 14.04 VM to 16.04 or start with 16.04 from scratch, it won't get to the console to login.14:33
yoinkI'm using libguestfs mostly - so virt-builder and virt-install and managing the vms through Virsh.14:34
rbasakyoink: uvtool works on 16.04 to start a 16.04 instance. AFAIK cloud images as published work with 16.04's KVM. So I wonder what virt-builder/virt-install are doing differently?14:35
yoinkrbasak: I'll check with the #libguestfs folks. Other images work fine... maybe it's time to learn a new toolset! :)14:36
yoinkReading up on uvtool now. :)14:36
rbasakyoink: well the paths are certainly going to be very different. If there is a bug somewhere, it could be in libvirt for example, or just a change in behaviour that causes something unintended. My question is really more about identifying what that thing is to determine where the bug might be.14:37
rbasakI've just verified that uvtool successfully started:14:37
rbasakrelease=xenial arch=amd64 label=daily (20160707)14:37
yoinkI hear that - I'm just running out of playtime. :)14:38
rbasakOn a Xenial host (that isn't fully up to date probably, but was installed with Xenial freshly after release)14:38
caribourharper: are you still planning on merging multipath-tools ?14:39
yoinkrbasak: I have an idea... brb.14:39
caribourbasak: rharper: we've just got a multipath-tools patch accepted by multipath-tools's upstream14:45
caribourbasak: rharper: we'll do the submittodebian legwork but I thought that you might want to keep an eye on this one14:46
caribourbasak: rharper: FYI, it's LP: #157009314:50
ubottuLaunchpad bug 1570093 in multipath-tools (Ubuntu) "multipath-tools update introduced syslog messages about partx" [Low,In progress] https://launchpad.net/bugs/157009314:50
LaserAllan_hey there, ive got a question, I have a couple of nfs folders that I want to be mounted at startup, should those commands be written with sudo in the rc.local script?15:00
mdeslaurLaserAllan_: no, add the mounts you want to /etc/fstab15:04
LaserAllan_mdeslaur: Oh, ok, what is rc.local then for launching applications and so on?, ive probably just missunderstood it all15:08
LaserAllan_but thanks15:08
LaserAllan_but should the nfs mount commands be added with sudo or is it automatic sudo on those?15:08
mdeslauryou don't directly add the commands, look at the file, you just need to add an entry to it15:09
riz0nHello guys, I have an HP DL380 G3 server that I have installed Ubuntu LTS on. No GUI. Is there a way to change the system from loading the ATI Rage drivers to just loading Generic VGA drivers? The ATI drivers are causing my system to crash after so long of running.15:09
mdeslaurLaserAllan_: rc.local is run with root privileges, so anything you put in there doesn't need sudo15:09
riz0nRigh now, as it stands, when the system boots, eventually the system changes and the size of the letters on the screen get very, very small. I want standard VGA with the big letters. Any help would be appreciated!15:17
LaserAllan_mdeslaur: Is it the same with fstab?15:18
LaserAllan_Since i need to put the nfs mount commands in there15:18
mdeslaurLaserAllan_: the mounts in fstab are mounted as root, yes15:18
mdeslaurLaserAllan_: but you don't put commands in that file15:18
LaserAllan_mdeslaur: So where do I put them then?15:23
mdeslaurLaserAllan_: you put them in /etc/fstab, but not the commands. that file is a list, you just add what you want to the list.15:24
mdeslaursee here: http://manpages.ubuntu.com/manpages/xenial/en/man5/fstab.5.html15:24
LaserAllan_mdeslaur: Hmm, i have never really done this before so what do I put ther ethen to amek nfs folders mount on startup on my other host?15:26
mdeslaursomething like "servername:dir /mntpoint nfs rw,hard,intr 0 0"15:27
mdeslaursee here: https://help.ubuntu.com/community/SettingUpNFSHowTo15:27
LaserAllan_mdeslaur: Thanks15:28
riz0nOK guys, I uncommented a line in the Grub config that put it in 640x480 then "update-grub" and it booted into 640x480. Any way to see what video drivers are loading and change them to just standard VGA? Or should it be standard VGA since there is no GUI?15:48
nacc!crosspost | riz0n15:50
ubotturiz0n: Please don't ask the same question in multiple Ubuntu channels at the same time. Many helpers are in more than one channel and it's not fair to them or the other people seeking support.15:50
naccriz0n: what version of ubuntu?15:51
riz0nnacc, 14.04.2115:52
riz0nOops 14.0415:52
riz0nwhatever the latest rel is15:52
naccriz0n: the latest release is 16.04 :)15:53
riz0nWell, the latest 14.04 rel ;)15:53
riz0nI want to say it's 14.04.315:53
riz0nI'mts15:53
teward14.04.4 is the latest point release :)15:54
naccriz0n: ok, i think you should check what lspci says for your graphics device as to the driver in-use (and/or lshw)15:54
riz0ne that doesn't really matter, I'm on 14.04 LTS15:54
* teward goes back to lurking15:54
naccriz0n: it does matter, actually (given that you have different kernels, and stacks with each hwe stack, potentially)15:54
riz0nand my remote desktop is acting goofy15:54
riz0nThis system is using the 4.2.0-41 kernel15:54
riz0nVGA compatible controller: Advanced Micro Devices, Inc. AMD/ATI Rage XL PCI rev 2715:55
nacclscpi -vvv -s <pci address> of that device15:57
naccriz0n: will tell you the kernel module in use15:57
riz0nThanks so much guys. I know this DL380-G3 server is quite ancient, but it16:00
riz0nit's rock solid till the NMI PCI error happens (and I've traced it to the video). I hate to fill it full of buckshot over something simple I can easily fix. Plus I don't have the money to buy a new server yet.16:01
riz0nThe error is "NMI: PCI system error (SERR) for reason b1 on CPU 0" Dazed and confused, but trying to continue16:02
patdk-wkhmm, I dunno I would bother messing with it much16:05
patdk-wkserr says the video card is bad16:05
patdk-wkthrow in a pcie video card to replace it with16:05
patdk-wkand move on16:05
rbasaknacc: I'm a little confused as to why php7.0-mysql's {mysqlnd,mysqli,pdo_mysql}.so don't link to libmysqlclient at all. Could this be a bug? They did in PHP 5 in Trusty.16:12
rbasakOr are they statically linking by accident or something?16:12
naccrbasak: looking16:19
rbasaknacc: no urgency. I'll ignore it for now.16:20
rattkingHello all, I would like to spawn a custom shell on one tty.. I am not sure how to do this since the switch to systemd. does anyone know where that is configured now? It use to be configured in /etc/init/tty?.conf16:22
naccrattking: afaict, /etc/init/tty?.conf still exist with systemd16:23
rattkingoh perhaps there is another reason its not working then.. thanks16:23
rbasakI don't think they're used though, are they?16:23
rbasakAIUI, /lib/systemd/system/getty* are what are used now.16:24
naccunclear :/16:24
rbasakAnd you can override with /etc/systemd/system/16:24
naccah it does seem to be there now16:24
naccrbasak: another case like our init.d discussion of confusing end-results :)16:24
rbasakIndeed.16:25
rattkingheh16:25
rbasakIt's a consequence of Debian supporting multiple init systems.16:25
rattkingI will take a look around in /lib/systemd/system/getty* thanks for the tip16:26
rattkinggot it!16:31
naccrattking: nice, congrats! :)16:34
jrwrenanyone ever see this kind of systemd message? http://pastebin.ubuntu.com/18798467/  "Failed to foward REleased message"  it just spews to syslog every few seconds.16:46
Toraxmaluhi16:58
Toraxmaluhase someone experience with xen?16:58
Toraxmaluafter installing xen-hypervisor-amd64 i was confronted with a boot-loop16:58
PryMar56Toraxmalu, is your system EFI?17:01
Toraxmaluyepp17:01
Toraxmaluit is17:01
PryMar56Toraxmalu,  dpkg -l xen-hyper*amd64 | grep -i efi17:04
Toraxmaluis there a known issue? I've read, that there are is the advise to switch back to BIOS, but that is simply not possible for my case17:04
Toraxmalu-are17:04
PryMar56maybe there is an efi boot blob in the *.deb17:04
PryMar56xen.efi17:04
PryMar56maybe not17:05
Toraxmaluerr...17:05
Toraxmaluand that means?17:05
PryMar56Toraxmalu, upstream xen includes source for the xen.efi. Not sure is Xenial packages/builds it17:05
Toraxmaluokay - you're talking to a windows-power-user... and i understand, that xenial possible didn't compile that important stuff - do you have a link or something, so i can build that thing by myself?17:06
Toraxmalu(howto would be nive - sorry)17:07
ToraxmaluPryMar56 - I've found the Issue-List17:20
Toraxmaluit is simply not possible with UEFI with ubuntu 16.0417:20
Toraxmaluwell - thank you for your efforts17:21
Toraxmaluand sorry for the distrubence17:21
=== steve____ is now known as stiv2k

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