Apache error:httpd: Syntax error on line XXX of /etc/httpd/conf/httpd.conf: Cannot load modules/libphp7.so into server
Please click the ► at the beginning of this line to view this solution
Full error message:
MMM DD HH:MM:SS ServerName httpd[45914]: httpd: Syntax error on line XXX of /etc/httpd/conf/httpd.conf: Cannot load modules/libphp7.so into server: /etc/httpd/modules/libphp7.so: cannot open shared object file: No such file or directory
MMM DD HH:MM:SS ServerName systemd[1]: httpd.service: Control process exited, code=exited, status=1/FAILURE
MMM DD HH:MM:SS ServerName systemd[1]: httpd.service: Failed with result ‘exit-code’.‘exit-code’.
Execute:
sudo nano --backup /etc/httpd/httpd.conf
change the following lines:
LoadModule php7_module modules/libphp7.so
Include conf/extra/php7_module.conf
to:
LoadModule php_module modules/libphp.so
Include conf/extra/php_module.conf
Respectively! (They are not necessarily next to one another!)
Save (Ctrl+XEnterY)
Restart Apache (or reboot if you don’t know how or to to get that Window$ feeling again)
Pulseeffects stopped working
Please click the ► at the beginning of this line to view this solution
gnome-shell-extension-desktop-iconscannot be updated
"Please click the ► at the beginning of this line to view this solution
error: failed to commit transaction (conflicting files)
gnome-shell-extension-desktop-icons: /usr/share/gnome-shell/extensions/desktop-icons@csoriano/schemas/gschemas.compiled exists in filesystem
Errors occurred, no packages were upgraded.
Compile the driver (if you get an error, see Note 3):
cd nvidia-450xx-utils && makepkg -si
cd ../lib32-nvidia-450xx-utils && makepkg -si
cd ../nvidia-450xx && makepkg -sif
Reboot on kernel 5.4 (see Note 1 below on how to do this)
Now, everything is working again! To check if you’re indeed running kernel Linux 5.4, you can run uname --kernel-release in a console, and to check if you’re running the driver you just compiled, you can run inxi --graphics --display OR nvidia-smi
Note 1: to choose which kernel to boot on, you need to edit those two lines in /etc/default/grub to match those (5 as in 5 seconds to make your choice on the menu, you can put whatever):
GRUB_TIMEOUT=5
GRUB_TIMEOUT_STYLE=menu
Then, run sudo update-grub. When booting, you’ll now see a menu with all installed kernels so you can choose which one to use for this session.
Then finally execute the reboot command:
sudo reboot
Note 2: During step 5 and 6: If you already have compiled the nvidia driver during last update, you can skip cloning nvidia-450xx-utils and lib32-nvidia-450xx-utils (you already have the sources, you just need to compile them again), but I suggest you remove your older nvidia-450xx folder (rm -rf nvidia-450xx) and clone it again before compiling this one, otherwise you will get an error like “folder already exists” when trying to compile.
Note 3: When trying to compile the driver, you might get an error with two nvidia packages creating conflicts (I think lib32-nvidia-utils was one of them, I don’t remember the other one). To fix that, just uninstall those packages with pamac remove <package>.
I’m still running on nvidia-450 and I want to upgrade to 460 (Kernel 5.10):
Please click the ► at the beginning of this line to view this solution
Print this page so you have it as a reference while in TTY2
Log off
Switch to TTY2 by pressing Ctrl+Alt+F2
Log in there
Execute:
pamac remove nvidia-450xx-utils
#you will get some warnings about optional components needing this:
# no worries, you'll install 460 in the next line
sudo mhwd --install pci video-nvidia
sudo reboot
Recent Arch Linux news:
PHP 8.0 and PHP 7 legacy packages are available
PHP 8.0 and PHP 7 legacy packages are available
2021-01-28 - Pierre Schmitz
The php package has been updated to version 8.0. Please refer to the upstream migration guide. As some applications are not compatible with PHP 8 yet we provide a php7 package which can be installed alongside version 8. Packages that depend on PHP reflect this update and will require php7 if needed. You might need to update your configuration accordingly. PHP 7 binaries and configuration have the “7” suffix:
Note that support for php7 will be limited and likely be dropped in about a year depending on how soon the majority of applications will be compatible with version 8.
Google has announced that they are going to block everything but Chrome from accessing certain Google features (like Chrome sync) starting on March 15. This decision by Google is going to affect Arch’s chromium package a bit earlier, on March 2, when Chromium 89 gets released.
We know for sure that data syncing will stop working (passwords, bookmarks, etc.). Other features such as geolocation or enhanced spell check might continue to function for a bit longer. Extensions integrating with Google Drive might misbehave and LibreOffice will lose access to documents stored there.
Other distros such as openSUSE and Fedora have already removed the soon-to-be-limited API keys from their Chromium 88 packages. Fedora’s advisory provides a great deal of perspective on this and I also found this Hackaday post to be quite informative.
Moving to Zstandard images by default on mkinitcpio
Moving to Zstandard images by default on mkinitcpio
2021-02-19 - Giancarlo Razzolini
As linux-lts moved to the 5.10 version, all official kernels of Arch Linux now support zstd compressed initramfs images, so mkinitcpio is switching to zstd compressed images by default with version 30, which is currently on [testing].
If, for any reason, you are using a kernel version prior to 5.9, make sure to change mkinitcpio.conf COMPRESSION to use one of the compressors supported, like gzip, otherwise you will not be able to boot images generated by mkinitcpio.
We recommend to switch over to Nouveau drivers if your card is mentioned here and the feature you need is not in red TO DOhere for your particular card.
If you however still need proprietary drivers, you may want to execute the following to ensure all parts of the nVidia drivers get installed properly:
sudo mhwd -a pci nonfree 0300
If proprietary drivers don't fix everything, please click the ► at the beginning of this line to view more info
For AMD GPU users having a black screen with kernel 5.10
Please click the ► at the beginning of this line to view more info
Due to a bug in the AMD drivers, please try the following first:
For GRUB:
Open a terminal or a TTY
Open /etc/default/grub in your favourite CLI editor (nano vi, emacs`)
Find the line: GRUB_CMDLINE_LINUX_DEFAULT="
Add amdgpu.dc=0
Save
Execute sudo update-grub and reboot
For systemd-boot:
Open a terminal or a TTY
Open /boot/loader/entries/manjarolinux5.10.conf in your favourite CLI editor (nano vi, emacs`)
Add amdgpu.dc=0 to the end of the line options
Save & reboot
For rEFInd:
Open a terminal or a TTY
Open /boot/refind_linux.conf in your favourite CLI editor (nano vi, emacs`)
Find the line: "Boot using default options" "root=
Add amdgpu.dc=0
Save & reboot
Possible 2 Min delay on shutdown with Gnome
Please click the ► at the beginning of this line to view more info
If you got the problem with shutdown delay (about 2min) on Gnome, here is a workaround:
Edit /usr/lib/systemd/user/gnome-session-restart-dbus.service in your favourite editor as root and add Slice=-.slice as a line all by itself like this:
You get [PKGNAME] warning: directory permissions differ on [Directory name]
followed by:
Filesystem: NNN package MMM
Please click the ► at the beginning of this line to view this solution
The solution:
sudo chmod MMM DirectoryName
Where obviously MMM is the second number you see (the correct one)
The explanation:
Your package expects the security permissions to be MMM but your system is set to NNN. This is just a warning (today) but to ensure you remain up-to-date with the latest and greatest security rules it’s advised to execute the above command.
Systemd error message: .slice: Failed to migrate controller cgroups
If you have a similar error message like this:
systemd[1004]: -.slice: Failed to migrate controller cgroups from /user.slice/user-1000.slice/user@1000.service, ignoring: Permission denied
… you may need to add this Grub parameter to your /etc/default/grub file in line GRUB_CMDLINE_LINUX_DEFAULT: systemd.unified_cgroup_hierarchy=true. To update your grub menu, call: sudo update-grub. For more information on that issue, see also Arch Forum.
CUPS update need manual intervention
After you update your system, update your systemd services like this:
xf86-video-intel already exists in filesystem errors
Please click the ► at the beginning of this line to view this solution
If you get something like this:
error: failed to commit transaction (conflicting files)
xf86-video-intel: /usr/bin/intel-virtual-output exists in filesystem
xf86-video-intel: /usr/lib/libI810XvMC.so exists in filesystem
...
xf86-video-intel: /usr/share/man/man4/intel.4.gz exists in filesystem
xf86-video-intel: /usr/share/polkit-1/actions/org.x.xf86-video-intel.backlight-helper.policy exists in filesystem
Errors occurred, no packages were upgraded.
Just delete the files that are in conflictand perform the upgrade again.
nvidia-450xx-utils and nvidia-440xx-utils are in conflict
Please click the ► at the beginning of this line to view this solution
If you get the following error message:
resolving dependencies...
looking for conflicting packages...
:: nvidia-450xx-utils and nvidia-440xx-utils are in conflict (nvidia-libgl). Remove nvidia-440xx-utils? [y/N] y
error: failed to prepare transaction (could not satisfy dependencies)
:: unable to satisfy dependency 'nvidia-440xx-utils=440.100' required by linux54-nvidia-440xx
:: removing nvidia-440xx-utils breaks dependency 'nvidia-440xx-utils=440.100' required by linux58-nvidia-440xx
Warning: do not reboot until this procedure tells you to starting from the next step!
Please note the exact nVidia driver you have running by executing:
mhwd --listinstalled
Please note the kernel(s) you’ve got installed and remove anything 440-related, including CUDA by executing:
pamac remove nvidia-440xx-utils linuxZZ-nvidia-440xx cuda nvtop
where ZZ is/are the kernel version(s) you’re running.
Repeat for all the kernel versions you have
How do I know which kernel versions I have?
execute ls /boot/linux*
any nulber after linuxbefore the - (minus sign) are the kernel(s) you have installed
If you would have any other old nVidia drivers that you don’t need any more because your card is supported by the 450 series get rid of them as well.
now install the same family of 450 driver you had for the 440 driver, by executing:
mhwd --install pci Your450Family
where Your450Family is obviously one of video-hybrid-amd-nvidia-440xx-primeORvideo-nvidia-440xx that you noted above
And finally:
sudo reboot
If this would not have solved your issue, please open a new issue here and state that you followed this procedure already.
Warning: directory permissions differ on /var/lib/dhcpcd/
followed by:
filesystem: 700 package: 755
Please click the ► at the beginning of this line to view this solution
The solution:
sudo chmod 755 /var/lib/dhcpcd/
The explanation:
The DHCP Daemon expects the security permissions to be 755 but your system is set to 700. This is just a warning (today) but to ensure you remain up-to-date with the latest and greatest security rules it’s advised to execute the above command.
virtualbox NS_ERROR_FAILURE (0x80004005)
Please click the ► at the beginning of this line to view this solution
The solution:
You need to add your user back into the virtualbox user group
sudo usermod --append --groups vboxusers $USER
(Change $USER to the correct user name if not for yourself)
Upgrade the VirtualBox extension pack to the latest version by executing:
pamac build virtualbox-ext-oracle
PAM and PAMBASE got updated, which might prevent you from login
Please click the ► at the beginning of this line to view more detailed information
Due to updates from pambase and pam you might take care about any .pacnew files in /etc/pam.d as for example pam_tally, pam_tally2 and pam_cracklib got deprecated. Read in the ArchWiki about managing those files.
Typical issue:
For recovery, it is enough to boot with kernel option “systemd.unit=rescue.target”, then proceed into /etc/pam.d and merge “system-auth” and “system-auth.pacnew”
Bad font rendering after freetype2 upgrade
Please click the ► at the beginning of this line to view more detailed information
There were some changes in the freetype2 version 2.10.3 which enable subpixel rendering.
This might look ugly without enabling lcdfilter at the same time.
You can create a symlink in /etc/fonts/conf.d/ to enable “lcddefault” as filter.
If you’ve got errors like Failed to start Network Manager Wait Online. you can try removing systemd from passwd and group in /etc/nsswitch.conf as described here Update: If you can see the line dbus-daemon[1453]: [system] Connection has not authenticated soon enough, closing it (auth_timeout=30000ms, elapsed: 45146ms)
in in your dbus log ( journalctl -b -u dbus ), the new/better workaround is to switch cups from service to socket as described here: systemctl disable cups.service systemctl enable cups.socket
I think I’ve some font problems
With the update of fontconfig some major rules how fonts get applied changed. Make sure that your system has ttf-dejavu installed. A more in depth explanation can be found here.
Gnome-shell-extension-pop-shell is currently incompatible with wayland
… and causes the system to freeze when the first window is tiled and can render it unbootable. Solution is a hard reset and disabling either pop shell or wayland. If the system becomes unbootable, use a live USB to edit /etc/gdm/custom.conf to disable wayland and reboot.
Ok, but how to enable. I don’t see any changes (no new pacman.conf.pacnew or pamac equivalent), I don’t know where to search instructions. Also, this repo isn’t listed here. I suppose to this repo was moved kde-git packages – it’s good change, should make fewer problems with mixing git and non-git KDE packages for non-technical users. It’s just my curiosity, I don’t use kde-git.
Pulseeffects 5.0 with pipewire started with no sound. I just removed the app and installed pulseeffects-git from AUR. Now it’s ok.
By the way, I cannot mute pulseeffects using plasma-pa in KDE. Pavucontrol works now (before this update it also couldn’t mute the pulseeffects sink). Maybe I need to kind of “reset” the plasma-pa configuration?
Just got a notification for the update about an hour ago. Before I saw the announcement. (Usually it’s the other way 'round.) So I waited a bit to read the announcement.
There was nothing major in it, so I went ahead and did the upgrade. Went smoother than a warm knife thorough butter, and both my kernels boot.
Again, thank you team Manjaro for the awesomness that is Manjaro!
I noticed that the update had been posted on The Forum for 8hrs, but I had no notification on Pamac even after going through the GUI and clicking the update button and re-syncing the data base afterwards…
I went through the terminale and used the following commands:
“sudo pacman-mirrors -c” followed by “sudo pacman -Syyu”