Arch Linux
Right after systemd-boot (formerly gummiboot) presents the boot-menu, I’m prompted to type in my disk-encryption password. While typing, I always get a string of errors that overwrite the scree. You can see it in the attached image:
[sdb] No Caching mode page found [sdb] Assuming drive cache: write through
I can continue to type the password, and then the system boots up fine, but i’m a bit concerned about this error, or really just want to fix the problem, or at least understand whats causing it.
The system is an Apple MacBook Pro 8,2 (Early-2011). Its running LVM over LUKS on a Samsung 500G SSD drive on /dev/sda.
If you’re interested in exactly how I’ve partitioned the drive, i wrote up an article of the exact steps I used to install arch linux, over here: https://visual-assault.org/2016/03/05/i … hard-drive
Disk /dev/sda: 465.8 GiB, 500107862016 bytes, 976773168 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: gpt Disk identifier: 26F9DE70-32E9-43E2-B82C-BB87F42CFA1C Device Start End Sectors Size Type /dev/sda1 40 409639 409600 200M EFI System /dev/sda2 409640 487683495 487273856 232.4G Apple Core storage /dev/sda3 487683496 488953031 1269536 619.9M Apple boot /dev/sda4 489215176 976773134 487557959 232.5G Linux LVM Disk /dev/mapper/vgcrypt: 232.5 GiB, 249627577856 bytes, 487553863 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk /dev/mapper/vgcrypt-root: 60 GiB, 64424509440 bytes, 125829120 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk /dev/mapper/vgcrypt-home: 172.5 GiB, 185199493120 bytes, 361717760 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes
cat /etc/fstab # # /etc/fstab: static file system information # # # /dev/mapper/vgcrypt-root UUID=9a628dc2-183a-45f0-94e8-a02a65fb0d12 /dev/mapper/vgcrypt-root / ext4 discard,rw,relatime,data=ordered 0 1 # /dev/mapper/vgcrypt-home UUID=0fb45fe2-8304-48fa-8f53-f7e8d899316b /dev/mapper/vgcrypt-home /home ext4 discard,rw,relatime,data=ordered 0 2 # /dev/sda1 UUID=67E3-17ED LABEL=EFI /boot vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro 0 2
Last edited by x33a (2016-03-08 04:55:34)
Page not found but page is there
What am I doing wrong? When I search https://teampass.domain.org/ I get a blank screen. when I search https://teampass.domain.org/teampass, I get the following errors.
Error on Chrome:
Error on IE:
root@teampass:/var/www/html# ls -l total 16 -rwxrwxr-x. 1 www-data www-data 11510 Oct 30 09:36 index.html -rwxr-xr-x. 1 www-data www-data 49 Dec 4 11:01 index.php lrwxrwxrwx. 1 www-data www-data 20 Nov 3 16:44 teampass -> /opt/TeamPass-2.1.23
root@teampass:/var/www/html/teampass# ls admin.php error.php includes load.php tools admin.settings_api.php favico.ico index.php otv.php upload admin.settings_categories.php favorites.php items.export.php profile.php users.load.php admin.settings.load.php files items.import.php readme.md users.php admin.settings.php find.load.php items.load.php robots.txt views_database.load.php api find.php items.offline.php roles.load.php views_database.php backups folders.load.php items.php roles.php views.load.php changelog.md folders.php kb.load.php sources views_logs.load.php composer.json home.load.php kb.php suggestion.load.php views_logs.php datatable.logs.php home.php license.md suggestion.php views.php
root@teampass:/etc/apache2/sites-enabled# ls teampass.conf root@teampass:/etc/apache2/sites-enabled# more teampass.conf ServerName teampass.domain.org Redirect permanent / https://teampass.domain.org/ ServerAdmin webmaster@localhost #ServerAlias www.teampass.domain.org DocumentRoot /var/www/html AllowOverride All ErrorLog $/error.log CustomLog $/access.log combined # # DO NOT REMOVE # RewriteOptions Inherit # ServerAdmin webmaster@localhost ServerName teampass.domain.org #ServerAlias www.teampass.domain.org DocumentRoot /var/www/html AllowOverride all SSLCertificateFile /etc/apache2/ssl/star_domain_org SSLCertificateKeyfile /etc/apache2/ssl/teampass.key SSLCACertificateFile /etc/apache2/ssl/DigiCertCA SSLEngine on ErrorLog $/teampass_error.log CustomLog $/teampass_access.log combined #DO NOT REMOVE RewriteOptions Inherit
# Global configuration # # ServerRoot: The top of the directory tree under which the server's # configuration, error, and log files are kept. # # NOTE! If you intend to place this on an NFS (or otherwise network) # mounted filesystem then please read the Mutex documentation (available # at ); # you will save yourself a lot of trouble. # # Do NOT add a slash at the end of the directory path. ServerRoot "/etc/apache2" # The accept serialization lock file MUST BE STORED ON A LOCAL DISK. Mutex file:$ default # # PidFile: The file in which the server should record its process # identification number when it starts. # This needs to be set in /etc/apache2/envvars # PidFile $ # # Timeout: The number of seconds before receives and sends time out. # Timeout 300 # # KeepAlive: Whether or not to allow persistent connections (more than # one request per connection). Set to "Off" to deactivate. KeepAlive On # # MaxKeepAliveRequests: The maximum number of requests to allow # during a persistent connection. Set to 0 to allow an unlimited amount. # We recommend you leave this number high, for maximum performance. # MaxKeepAliveRequests 100 # # KeepAliveTimeout: Number of seconds to wait for the next request from the # same client on the same connection. # KeepAliveTimeout 15 # These need to be set in /etc/apache2/envvars User $ Group $ # # HostnameLookups: Log the names of clients or just their IP addresses # e.g., www.apache.org (on) or 204.62.129.132 (off). # The default is off because it'd be overall better for the net if people # had to knowingly turn this feature on, since enabling it means that # each client request will result in AT LEAST one lookup request to the # nameserver. # HostnameLookups Off # ErrorLog: The location of the error log file. # If you do not specify an ErrorLog directive within a # container, error messages relating to that virtual host will be # logged here. If you *do* define an error logfile for a # container, that host's errors will be logged there and not here. # ErrorLog $/error.log # # LogLevel: Control the severity of messages logged to the error_log. # Available values: trace8, . trace1, debug, info, notice, warn, # error, crit, alert, emerg. # It is also possible to configure the log level for particular modules, e.g. # "LogLevel info ssl:warn" # LogLevel warn # Include module configuration: IncludeOptional mods-enabled/*.load IncludeOptional mods-enabled/*.conf # Include list of ports to listen on Include ports.conf # Sets the default security model of the Apache2 HTTPD server. It does # not allow access to the root filesystem outside of /usr/share and /var/www. # The former is used by web applications packaged in Debian, # the latter may be used for local directories served by the web server. If # your system is serving content from a sub-directory in /srv you must allow # access here, or in any related virtual host. Options FollowSymLinks AllowOverride None Require all denied AllowOverride None Require all granted Options Indexes FollowSymLinks AllowOverride ALL Require all granted Options Indexes FollowSymLinks AllowOverride None Require all granted # AccessFileName: The name of the file to look for in each directory # for additional configuration directives. See also the AllowOverride # directive. # AccessFileName .htaccess # # The following lines prevent .htaccess and .htpasswd files from being # viewed by Web clients. # Require all denied # # The following directives define some format nicknames for use with # a CustomLog directive. # # These deviate from the Common Log Format definitions in that they use %O # (the actual bytes sent including headers) instead of %b (the size of the # requested file), because the latter makes it impossible to detect partial # requests. # # Note that the use of %i instead of %h is not recommended. # Use mod_remoteip instead. # LogFormat "%v:%p %h %l %u %t \"%r\" %>s %O \"%i\" \"%i\"" vhost_combined LogFormat "%h %l %u %t \"%r\" %>s %O \"%i\" \"%i\"" combined LogFormat "%h %l %u %t \"%r\" %>s %O" common LogFormat "%i -> %U" referer LogFormat "%i" agent # Include of directories ignores editors' and dpkg's backup files, # see README.Debian for details. # Include generic snippets of statements IncludeOptional conf-enabled/*.conf # Include the virtual host configurations: IncludeOptional sites-enabled/*.conf # vim: syntax=apache ts=4 sw=4 sts=4 sr noet # phpMyAdmin Configuration Include /etc/phpmyadmin/apache.conf #load ssl module #LoadModule ssl_module /usr/lib/apache2/modules/mod_ssl.so #ServerName teampass
My port.conf:
# If you just change the port or add more ports here, you will likely also # have to change the VirtualHost statement in # /etc/apache2/sites-enabled/000-default.conf Listen 80 Listen 443 # #listen 443 # # #Listen 443 # listen 443 # # vim: syntax=apache ts=4 sw=4 sts=4 sr noet
Teampass_error.log
[Fri Dec 04 09:58:08.542417 2015] [:error] [pid 1535] [client 192.168.48.140:49521] script '/var/www/html/index.php' not found or unable to stat [Fri Dec 04 13:33:03.267594 2015] [authz_core:error] [pid 2985] [client 192.168.48.140:51385] AH01630: client denied by server configuration: /var/www/html/favicon.ico [Fri Dec 04 13:33:11.406379 2015] [authz_core:error] [pid 2980] [client 192.168.48.140:51384] AH01630: client denied by server configuration: /var/www/html/ [Fri Dec 04 13:33:31.378893 2015] [authz_core:error] [pid 2986] [client 192.168.48.140:51387] AH01630: client denied by server configuration: /var/www/html/ [Fri Dec 04 13:33:43.407475 2015] [authz_core:error] [pid 2986] [client 192.168.48.140:51387] AH01630: client denied by server configuration: /var/www/html/ [Fri Dec 04 13:40:53.650664 2015] [authz_core:error] [pid 3091] [client 192.168.48.140:51420] AH01630: client denied by server configuration: /var/www/html/ [Fri Dec 04 13:41:42.235341 2015] [authz_core:error] [pid 3148] [client 192.168.48.140:51434] AH01630: client denied by server configuration: /var/www/html/ [Fri Dec 04 13:41:43.015287 2015] [authz_core:error] [pid 3148] [client 192.168.48.140:51434] AH01630: client denied by server configuration: /var/www/html/ [Fri Dec 04 13:41:43.751712 2015] [authz_core:error] [pid 3148] [client 192.168.48.140:51434] AH01630: client denied by server configuration: /var/www/html/ [Fri Dec 04 13:41:44.543296 2015] [authz_core:error] [pid 3148] [client 192.168.48.140:51434] AH01630: client denied by server configuration: /var/www/html/ [Fri Dec 04 13:41:44.839544 2015] [authz_core:error] [pid 3148] [client 192.168.48.140:51434] AH01630: client denied by server configuration: /var/www/html/ [Fri Dec 04 13:41:45.071213 2015] [authz_core:error] [pid 3148] [client 192.168.48.140:51434] AH01630: client denied by server configuration: /var/www/html/ [Fri Dec 04 13:41:45.359165 2015] [authz_core:error] [pid 3148] [client 192.168.48.140:51434] AH01630: client denied by server configuration: /var/www/html/ [Fri Dec 04 13:41:46.167545 2015] [authz_core:error] [pid 3148] [client 192.168.48.140:51434] AH01630: client denied by server configuration: /var/www/html/ [Fri Dec 04 13:41:49.034585 2015] [authz_core:error] [pid 3148] [client 192.168.48.140:51434] AH01630: client denied by server configuration: /var/www/html/ [Fri Dec 04 13:41:50.172611 2015] [authz_core:error] [pid 3148] [client 192.168.48.140:51434] AH01630: client denied by server configuration: /var/www/html/ [Fri Dec 04 13:41:51.932699 2015] [authz_core:error] [pid 3148] [client 192.168.48.140:51434] AH01630: client denied by server configuration: /var/www/html/ [Fri Dec 04 13:43:21.909775 2015] [authz_core:error] [pid 3207] [client 192.168.48.140:51461] AH01630: client denied by server configuration: /var/www/html/ [Fri Dec 04 13:43:27.765746 2015] [authz_core:error] [pid 3207] [client 192.168.48.140:51461] AH01630: client denied by server configuration: /var/www/html/