I hate to be "that guy", but this seems pretty clearly a networking issue
with Ubuntu, and nothing related to DSpace. I think the question is
probably best asked elsewhere, and not just because it isn't related to
DSpace, but because you'll likely get more and better responses from a
support channel that's dedicated to Ubuntu.
- Darryl
On Friday, June 9, 2023 at 5:28:43 AM UTC-6 Maya Zbitneva wrote:
>
> Letter from Daan Lesing:
>
> >Hi there,
>
> >Enter via the command line with your username and password.
>
> >Then check the following files if they are correct:
>
> >sudo vi /etc/hosts
> >This file holds your physical server name and IP address eg. >192.168.0.1
> repository.com
>
> >sudo vi /etc/hostname
> >This file holds your physical server name eg. repository.com
>
> >Could you check that your network settings are correct?
>
> >sudo vi /etc/networks/interfaces
>
> >sudo vi /etc/resolv.conf
>
> Error 1: String “resolv.conf->../run/system/resolve/stub-resolv.conf” is
> colored by red color.
> Error 2: File “stub-resolv.conf” does not exist.
>
> Question 1: Should I restore “stub-resolv.conf” and symbolic link
> “resolv.conf->../run/system/resolve/stub-resolv.conf”?
>
> >make sure that your DNS and gateway configurations are correct.
>
> >Also check that systemd-resolved.service is started - sudo systemctl
> status systemd->resolved.service
>
> Error 3: Systemd-resolved.service loaded, but failed.
>
> sudo systemctl start system-resolved.service – failed.
>
> Result of “sudo systemctl start systemd-resolved.service”:
> [image: start_resolved.jpg]
>
> Result of “journalctl -xe”:
> [image: journal1.jpg]
> [image: journal2.jpg]
>
> Question 2: Should I make that systemd-resolved.service will be started
> that is to be active?
>
> >Hope this helps
>
> Letter from Mohammad S. AlMutairi:
>
>
> >To check the service errors it generated.
> >2) sudo journalctl -u systemd-resolved -p err
>
> Result of “sudo journalctl -u systemd-resolved -p err”:
>
> [image: FailedNetworkNameResolution.jpg]
>
> Question: How to correct error “Failed to start network name resolution”?
>
> With respect,
> Maiia,
> Academia.
> середа, 7 червня 2023 р. о 22:14:54 UTC+3 Mohammad S. AlMutairi пише:
>
>> In addition to the previous message and after completing it. it's
>> possible the cause of the issue you have is the failing of the start of
>> Network Name Resolution so you need to further check why it's failing. You
>> can check the service log or the it's errors by running the following
>> comands.
>>
>> To check the service log.
>> 1) sudo journalctl -u systemd-resolved
>>
>> To check the service errors it generated.
>> 2) sudo journalctl -u systemd-resolved -p err
>>
>> To override it temporarily.
>> 3) cp /etc/resolv.conf /etc/resolv.conf-orig && echo "nameserver 8.8.8.8"
>> > /etc/resolv.conf
>>
>> Update & Upgrade your server.
>> 4) sudo apt update -y && sudo apt upgrade -y && sudo shutdown -r now
>>
>> Hope it helps & Good luck
>>
>> Mo.
>>
>> [image: terminal2.jpg]
>> On Wednesday, June 7, 2023 at 9:22:39 PM UTC+3 Mohammad S. AlMutairi
>> wrote:
>>
>>> It's an OS issue and for sure it's fixable but without more in-depth
>>> details I'm shooting in the dark. Trying to help. Try the steps you see
>>> below in the sequence you see it:
>>>
>>> 1) sudo truncate -s 0
>>> /var/lib/ubuntu-release-upgrader/release-upgrade-available
>>> 2) sudo dpkg-reconfigure dash
>>> ** make sure to choose no when prompted if you want to (Use dash as the
>>> default system shell).
>>> 3) ping changelogs.ubuntu.com (make sure if it's resolvable.). If for
>>> any reason it can't be resolved double check your DNS settings in
>>> /etc/resolv.conf. You can use google public dns server 8.8.8.8 temporarily.
>>> 4) sudo shutdown -r now
>>> 5) apt update -y && apt upgrade -y && shutdown -r now
>>> 6) You have to upgrade your server to a newer version. You need to.
>>>
>>> Hope it helps.
>>>
>>> Mo.
>>> On Wednesday, June 7, 2023 at 10:23:10 AM UTC+3 Maya Zbitneva wrote:
>>>
I have Ubuntu 18 LTS and Dspace 6 on another computer which is
temporary web server and not real web server. And I have not any such
problem which I described above.
вівторок, 6 червня 2023 р. о 18:58:23 UTC+3 Mohammad S. AlMutairi пише:
> Ubuntu 18.04 LTS reached end of life 6 days ago so I think that what's
> causing the issues you are facing. Definitely you need to upgrade to a
> newer Ubuntu version that still supported or as another option you can
> buy
> an extended commercial support for the 18.04 version you have to keep
> using
> it for a while but still the right decision is to upgrade both the OS and
> dspae since dspace 6.x will reach end of life too in less than a month
> from
> now.
>
> Mo.
>
> On Tuesday, June 6, 2023 at 10:28:05 AM UTC+3 Maya Zbitneva wrote:
>
>> It is not problem with Internet/network, because My Academy Dspace 6
>>