/srv/irclogs.ubuntu.com/2022/02/22/#ubuntu-server.txt

souldessinshayf what is the issue you are having00:00
shayfi cant login to root00:00
shayfi cant use sudo or su00:00
shayfsystem is saying that none of the users on it exist00:00
shayfsouldessin00:00
souldessinshayf are you using `su` or `su -`?00:05
shayfi cant, says this: su: user root does not exist or the user entry does not contain all the required fields00:06
souldessinBut are you using the hyphen or not?00:07
Maikshayf: please do not cross post, either keep support here or in #ubuntu but not both00:09
shayfim tryin to get support from 10 different places Maik00:10
shayfi need the help asap00:10
Maikshayf: please read the rules and guidelines00:10
souldessinshayf worst case, you can boot live and use chroot to recover. 00:11
Maikhttps://wiki.ubuntu.com/IRC/Guidelines?action=show&redirect=IrcGuidelines shayf00:11
tomreynbotting to recovery nad dropping to a shell should work, i think00:18
tomreynah, not here00:18
adachm, my hosting provider says, that the ethernet interface should be eno1. However in my ubuntu server 18.04 only ens4 does appear08:56
adacAny ideas what could cause that? I#m also not able to bring up this eno108:57
adacvia "sudo ip link set eno1 up"08:58
oerhekseno1 is onboard nic, ens4 is a nic in a 'slot', in this case slot 409:00
oerhekshttps://www.freedesktop.org/software/systemd/man/systemd.net-naming-scheme.html09:01
adacoerheks, ok I see thanks. 09:02
oerheksone cannot replace 'enoX'09:02
adacCould it be a BIOS thingy in comnination with new kernel, that I cannot see this eno1?09:02
oerheksno idea, if this happend last 24 hrs, it might have to do with the kernel update yesterday, indeed09:02
oerheksif so, file a bugreport09:03
adacActually it is longer then 24 hours. On Sunday I had to get a disk replaced in my raid. When the server should have come up again, the network didn#t09:03
adacafter some debugging it seems, that eno1 was gone09:04
oerheksai09:04
adacI'm in contact with my hosting provider. Lets see what he says. This is an incredible time consuming thing for me debugging network things :D09:05
oerheksoke, good luck, keep us posted09:07
adachttps://askubuntu.com/questions/1287652/eno1-interface-has-disappeared-ethernet-unclaimed09:10
adacthis guys card was broken. that f course would explain things09:11
ahasenackgood morning11:51
memoryleakhello ahasenack12:03
ahasenackhello memoryleak 12:03
athosgood morning!12:10
ahasenackhi athos12:15
utkarsh2102athos: hey, since you did the latest nss merge, do you have any idea about LP: #1960736?12:45
ubottuLaunchpad bug 1960736 in nss (Ubuntu) "Libnss3 doesn't log SEC_ERROR_UNKNOWN_PKCS11_ERROR properly  ( NSS error code: -8018 )" [Undecided, New] https://launchpad.net/bugs/196073612:45
utkarsh2102it's a very interesting bug but I don't know where to begin with honestly12:45
utkarsh2102any clue?12:45
athosutkarsh2102: I'd start by asking for a reproducer from the user since it is being triggered by google chrome. Then, with a propere reproducer, we could start debugging the issue. For instance, do we know if that chrome build was built with a libnss3 version compatible with what he has installed in his system?12:53
athosutkarsh2102: I'd mark it as incomplete until he could provide us with a reproducer or at least the origin and version of that chrome package12:56
utkarsh2102athos: good point, thanks!13:07
utkarsh2102\o/13:07
HollyW00dWould anyone recommend Ubuntu Server over Debian for a WordPress site or vice versa?15:13
sdezielHollyW00d: nginx/apache2, mysql and php are all in 'main' on Ubuntu so you get that part covered for security ... that leaves "only" Wordpress to keep up to date ;)15:15
HollyW00dGot it15:16
=== genii-core is now known as genii
sergiodjahasenack: hi.  re. bileto: no, it just built the packages but never run their autopkgtests.  I ended up running them by hand15:50
bryycegood morning15:54
* kanashiro waves15:59
bryyceHollyW00d, often people will install web apps from upstream, so distro choice is just for getting the required base elements needed16:00
ahasenacksergiodj: yep, my experience exactly16:02
sdezielI would recommend *not* to pull wordpress from Ubuntu archives as it is terribly outdated 16:04
utkarsh2102HollyW00d: Debian LTS and stable releases keep an updated version of WordPress, though. 16:07
zerosumhey all, I have simple bash script that executes within roots crontab /etc/crontab and I have it log to a log file called backups.log but I'm seeing duplicate entries per run and I have no idea why.. what am I missing? here's my script: https://bpa.st/NCFA16:49
ahasenackhow are you calling it in the crontab? Maybe you are redirecting to the backup file in /etc/crontab already16:54
ahasenackzerosum: ^16:54
ahasenackalthough it looks like the script is silent16:56
ahasenackrbasak: around for a quick review? Seed change: https://code.launchpad.net/~ahasenack/ubuntu-seeds/+git/platform/+merge/41591817:04
ahasenackI'll have two more later17:05
rbasakahasenack: approved, thanks!17:09
ahasenackthanks17:09
rfmzerosum, you null backups.log at the beginning of the script where the current directory is /root, then cd to /opt/netbox and append to backups.log there.  so you're nulling /root/backups.log and continually appending to /opt/netbox/backups.log.  This is why I like to use absolute paths in scripts...17:13
zerosumrfm wow.. that explains it. Thank you17:15
=== Ps1-Jack is now known as Psi-Jack
=== lifeless_ is now known as lifeless
adacOn ubuntu server, if I want to run gedit via ssh -X is there something else I have to setup on the server to make this work19:21
adacI get: Gtk-WARNING **: 20:20:55.663: cannot open display:19:21
adacbut on other servers I got this working19:21
bryyceadac, DISPLAY=:0 ?19:22
ahasenackyou might need some X package installed on the server19:22
ahasenacklibs or something19:22
bryyceahasenack, presumably if gedit is installed on the server all necessaries should be present.  libxcb is probably the key one in this case19:23
ahasenackah, I missed that. yeah, that would make sense19:24
bryycessh has some configurables19:24
bryyce /etc/ssh/ssh_config - ForwardX1119:24
bryyce /etc/ssh/sshd_config - X11Forwarding19:26
adacbryyce, yes that one is enabled19:26
adacoh ok in both on the server?19:26
bryyceformer is client-side, other is server-side19:26
adacalright yes. Yeah both is st up correctly19:27
adacGtk-WARNING **: 20:28:09.491: cannot open display: :019:28
adacwhen setting DISPLAY0:019:28
bryycehow about DISPLAY=20:20:55.663:0 gedit ?19:32
bryycesorry, that should probably be DISPLAY=20.55.663:0 gedit19:33
rbasakadac: are you using shared connections via control sockets? I do that and find that -X only works if it was used on the master connection. To work around, I use "ssh -Snone -X ..."19:35
adacbryyce, what is this numer?19:35
adacnumber19:35
bryyceadac, DISPLAY=<hostname|ip-addr>:0 is the syntax.  0:0 is "default display on local host"19:36
bryyceadac, maybe it'd help to understand better what your objective is?19:37
adacrbasak, nopw does not work for me just tried19:37
adacbryyce, thanks19:37
rbasakMaybe the server has X11 forwarding disabled?19:37
rbasakDo you control the other end?19:37
akaridelsurgood morning, could you give me a hand with my server, it is in ubuntu and I have problems with the ssl certificates19:39
rbasak!ask | akaridelsur 19:40
ubottuakaridelsur: Please don't ask to ask a question, simply ask the question (all on ONE line and in the channel, so that others can read and follow it easily). If anyone knows the answer they will most likely reply. :-) See also !patience19:40
adacrbasak, yes I do19:41
adachow can I check this?19:41
rbasakadac: see the sshd_config manpage and /etc/ssh/sshd_config19:42
akaridelsurI summarize, I have an implementation of ubuntu with odoo, all perfect but when updating Nginx the certificate did not get it to work, and I tried to rebuild it and not what it works19:42
jhutchinsakaridelsur: Was there a guide you were following to set up odoo?19:45
adacsome say I could try to allow all hosts via xhost +19:45
adacbut that gives me :D19:45
adacxhost +19:46
adacxhost:  unable to open display ""19:46
akaridelsuryes, follow a guide, the issue happened to me when letsencrypt disabled the ssl certificates and I was not able to get the certificates with cerbot19:48
leftyfbakaridelsur: use letsencrypt to re-issue a new certificate 19:55
adacok I had to install xauth first19:58
adacthen re-login via ssh19:59
adacthen xhhost+19:59
adacxhost+19:59
adacthen it wirks19:59
adacworks19:59
adacsorry for the typos it made me exhausted this problem :D19:59
bryyceah yes forgot about xhost +19:59
bryyceadac, congrats, hope it is working well enough20:00
adacbryyce, but that didnt work either before intsalling xauth and re-login via ssh20:00
adacyeah hope so too20:00
adaclooks good20:00
bryyceadac, just be aware X11 over ssh does have some security considerations, so wouldn't recommend it for a production environment20:03
leftyfbadac: why not just use vim, emacs or nano to edit files?20:03

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