souldessin | shayf what is the issue you are having | 00:00 |
---|---|---|
shayf | i cant login to root | 00:00 |
shayf | i cant use sudo or su | 00:00 |
shayf | system is saying that none of the users on it exist | 00:00 |
shayf | souldessin | 00:00 |
souldessin | shayf are you using `su` or `su -`? | 00:05 |
shayf | i cant, says this: su: user root does not exist or the user entry does not contain all the required fields | 00:06 |
souldessin | But are you using the hyphen or not? | 00:07 |
Maik | shayf: please do not cross post, either keep support here or in #ubuntu but not both | 00:09 |
shayf | im tryin to get support from 10 different places Maik | 00:10 |
shayf | i need the help asap | 00:10 |
Maik | shayf: please read the rules and guidelines | 00:10 |
souldessin | shayf worst case, you can boot live and use chroot to recover. | 00:11 |
Maik | https://wiki.ubuntu.com/IRC/Guidelines?action=show&redirect=IrcGuidelines shayf | 00:11 |
tomreyn | botting to recovery nad dropping to a shell should work, i think | 00:18 |
tomreyn | ah, not here | 00:18 |
adac | hm, my hosting provider says, that the ethernet interface should be eno1. However in my ubuntu server 18.04 only ens4 does appear | 08:56 |
adac | Any ideas what could cause that? I#m also not able to bring up this eno1 | 08:57 |
adac | via "sudo ip link set eno1 up" | 08:58 |
oerheks | eno1 is onboard nic, ens4 is a nic in a 'slot', in this case slot 4 | 09:00 |
oerheks | https://www.freedesktop.org/software/systemd/man/systemd.net-naming-scheme.html | 09:01 |
adac | oerheks, ok I see thanks. | 09:02 |
oerheks | one cannot replace 'enoX' | 09:02 |
adac | Could it be a BIOS thingy in comnination with new kernel, that I cannot see this eno1? | 09:02 |
oerheks | no idea, if this happend last 24 hrs, it might have to do with the kernel update yesterday, indeed | 09:02 |
oerheks | if so, file a bugreport | 09:03 |
adac | Actually 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#t | 09:03 |
adac | after some debugging it seems, that eno1 was gone | 09:04 |
oerheks | ai | 09:04 |
adac | I'm in contact with my hosting provider. Lets see what he says. This is an incredible time consuming thing for me debugging network things :D | 09:05 |
oerheks | oke, good luck, keep us posted | 09:07 |
adac | https://askubuntu.com/questions/1287652/eno1-interface-has-disappeared-ethernet-unclaimed | 09:10 |
adac | this guys card was broken. that f course would explain things | 09:11 |
ahasenack | good morning | 11:51 |
memoryleak | hello ahasenack | 12:03 |
ahasenack | hello memoryleak | 12:03 |
athos | good morning! | 12:10 |
ahasenack | hi athos | 12:15 |
utkarsh2102 | athos: hey, since you did the latest nss merge, do you have any idea about LP: #1960736? | 12:45 |
ubottu | Launchpad 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/1960736 | 12:45 |
utkarsh2102 | it's a very interesting bug but I don't know where to begin with honestly | 12:45 |
utkarsh2102 | any clue? | 12:45 |
athos | utkarsh2102: 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 |
athos | utkarsh2102: I'd mark it as incomplete until he could provide us with a reproducer or at least the origin and version of that chrome package | 12:56 |
utkarsh2102 | athos: good point, thanks! | 13:07 |
utkarsh2102 | \o/ | 13:07 |
HollyW00d | Would anyone recommend Ubuntu Server over Debian for a WordPress site or vice versa? | 15:13 |
sdeziel | HollyW00d: 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 |
HollyW00d | Got it | 15:16 |
=== genii-core is now known as genii | ||
sergiodj | ahasenack: hi. re. bileto: no, it just built the packages but never run their autopkgtests. I ended up running them by hand | 15:50 |
bryyce | good morning | 15:54 |
* kanashiro waves | 15:59 | |
bryyce | HollyW00d, often people will install web apps from upstream, so distro choice is just for getting the required base elements needed | 16:00 |
ahasenack | sergiodj: yep, my experience exactly | 16:02 |
sdeziel | I would recommend *not* to pull wordpress from Ubuntu archives as it is terribly outdated | 16:04 |
utkarsh2102 | HollyW00d: Debian LTS and stable releases keep an updated version of WordPress, though. | 16:07 |
zerosum | hey 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/NCFA | 16:49 |
ahasenack | how are you calling it in the crontab? Maybe you are redirecting to the backup file in /etc/crontab already | 16:54 |
ahasenack | zerosum: ^ | 16:54 |
ahasenack | although it looks like the script is silent | 16:56 |
ahasenack | rbasak: around for a quick review? Seed change: https://code.launchpad.net/~ahasenack/ubuntu-seeds/+git/platform/+merge/415918 | 17:04 |
ahasenack | I'll have two more later | 17:05 |
rbasak | ahasenack: approved, thanks! | 17:09 |
ahasenack | thanks | 17:09 |
rfm | zerosum, 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 |
zerosum | rfm wow.. that explains it. Thank you | 17:15 |
=== Ps1-Jack is now known as Psi-Jack | ||
=== lifeless_ is now known as lifeless | ||
adac | On 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 work | 19:21 |
adac | I get: Gtk-WARNING **: 20:20:55.663: cannot open display: | 19:21 |
adac | but on other servers I got this working | 19:21 |
bryyce | adac, DISPLAY=:0 ? | 19:22 |
ahasenack | you might need some X package installed on the server | 19:22 |
ahasenack | libs or something | 19:22 |
bryyce | ahasenack, presumably if gedit is installed on the server all necessaries should be present. libxcb is probably the key one in this case | 19:23 |
ahasenack | ah, I missed that. yeah, that would make sense | 19:24 |
bryyce | ssh has some configurables | 19:24 |
bryyce | /etc/ssh/ssh_config - ForwardX11 | 19:24 |
bryyce | /etc/ssh/sshd_config - X11Forwarding | 19:26 |
adac | bryyce, yes that one is enabled | 19:26 |
adac | oh ok in both on the server? | 19:26 |
bryyce | former is client-side, other is server-side | 19:26 |
adac | alright yes. Yeah both is st up correctly | 19:27 |
adac | Gtk-WARNING **: 20:28:09.491: cannot open display: :0 | 19:28 |
adac | when setting DISPLAY0:0 | 19:28 |
bryyce | how about DISPLAY=20:20:55.663:0 gedit ? | 19:32 |
bryyce | sorry, that should probably be DISPLAY=20.55.663:0 gedit | 19:33 |
rbasak | adac: 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 |
adac | bryyce, what is this numer? | 19:35 |
adac | number | 19:35 |
bryyce | adac, DISPLAY=<hostname|ip-addr>:0 is the syntax. 0:0 is "default display on local host" | 19:36 |
bryyce | adac, maybe it'd help to understand better what your objective is? | 19:37 |
adac | rbasak, nopw does not work for me just tried | 19:37 |
adac | bryyce, thanks | 19:37 |
rbasak | Maybe the server has X11 forwarding disabled? | 19:37 |
rbasak | Do you control the other end? | 19:37 |
akaridelsur | good morning, could you give me a hand with my server, it is in ubuntu and I have problems with the ssl certificates | 19:39 |
rbasak | !ask | akaridelsur | 19:40 |
ubottu | akaridelsur: 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 !patience | 19:40 |
adac | rbasak, yes I do | 19:41 |
adac | how can I check this? | 19:41 |
rbasak | adac: see the sshd_config manpage and /etc/ssh/sshd_config | 19:42 |
akaridelsur | I 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 works | 19:42 |
jhutchins | akaridelsur: Was there a guide you were following to set up odoo? | 19:45 |
adac | some say I could try to allow all hosts via xhost + | 19:45 |
adac | but that gives me :D | 19:45 |
adac | xhost + | 19:46 |
adac | xhost: unable to open display "" | 19:46 |
akaridelsur | yes, follow a guide, the issue happened to me when letsencrypt disabled the ssl certificates and I was not able to get the certificates with cerbot | 19:48 |
leftyfb | akaridelsur: use letsencrypt to re-issue a new certificate | 19:55 |
adac | ok I had to install xauth first | 19:58 |
adac | then re-login via ssh | 19:59 |
adac | then xhhost+ | 19:59 |
adac | xhost+ | 19:59 |
adac | then it wirks | 19:59 |
adac | works | 19:59 |
adac | sorry for the typos it made me exhausted this problem :D | 19:59 |
bryyce | ah yes forgot about xhost + | 19:59 |
bryyce | adac, congrats, hope it is working well enough | 20:00 |
adac | bryyce, but that didnt work either before intsalling xauth and re-login via ssh | 20:00 |
adac | yeah hope so too | 20:00 |
adac | looks good | 20:00 |
bryyce | adac, just be aware X11 over ssh does have some security considerations, so wouldn't recommend it for a production environment | 20:03 |
leftyfb | adac: 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!