Main menu

Skip to content
  • Home
  • About Me
  • Dspace (digital repository)
    • DSPACE 3.1 INSTALLATION ON DEBIAN SQUEEZE 6.0.
    • Dspace 6 installation on Debian 9 Stretch
  • Islam
    • Quraan Tajweed
      • The Lengthening
    • the Isalm
  • Koha
    • Install Koha on Debian 9 (Stretch)
  • Sample Page

Ahmad Maher

07.05.23
by amdmaher

koha REST API Authentication failure

koha REST API Authentication failure

enable RESTBasicAuth in system preferences
also you need to enable koha plack
sudo su
sudo koha-plack –enable library
sudo koha-plack –start library
sudo service apache2 restart

Posted in koha | Tagged koha | Leave a comment |
11.08.22
by amdmaher

apache shutdown error , couldn’t release the accept mutex

to fix apache error

couldn’t release the accept mutex

in debian & ubuntu

do that

  1. Create the following file: /etc/apache2/conf-available/mutex.conf
  2. Add Mutex file:${APACHE_LOCK_DIR} default inside the newly created file
  3. Enable new configuration file with a2enconf mutex
  4. Restart Apache with systemctl restart apache2
Posted in apache, debian | Leave a comment |
09.06.22
by amdmaher

dspace discovery error with tomcat9 /dspace/solr/search/data/index/write.lock: Read-only file system

copy the tomcat9.service file to /etc/systemd/system 
cp /usr/lib/systemd/system/tomcat9.service /etc/systemd/system/

and modify
 it by adding

 ReadWritePaths=/dspace/solr/
 ReadWritePaths=/dspace/solr/search/data

 Then execute systemctl daemon-reload.
Posted in apache solr, tomcat | Leave a comment |
04.03.22
by amdmaher

force redirect all http urls to https on a apache reverse proxy server

in the <VirtualHost *:80> add

RewriteEngine On
 
RewriteCond %{HTTPS} !=on
 
RewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [R,L]
Posted in apache | Leave a comment |
02.09.22
by amdmaher

Basic authorization Missing in headers with Apache

add this to apache configuration
or .htaccess

SetEnvIf Authorization “(.*)” HTTP_AUTHORIZATION=$1

Posted in apache | Tagged api | Leave a comment |
09.28.21
by amdmaher

Using VuFind as the Site Root

add this in apache file httpd-vufind.conf 

<VirtualHost *:80>
    DocumentRoot /usr/local/vufind/public
    ServerName yourdomain.edu
    ServerAlias www.yourdomain.edu
</VirtualHost>
Posted in vufind | Leave a comment |
06.22.21
by amdmaher

mysql : Specified key was too long; max key length is 767 bytes

Set the following For key column.

  • INNODB utf8 VARCHAR(255)
  • INNODB utf8mb4 VARCHAR(191)

Posted in mysql | Leave a comment |
06.09.21
by amdmaher

Restrict access to the Apache Solr admin interface external

sudo iptables -A INPUT -p tcp -s localhost –dport 8983 -j ACCEPT
sudo iptables -A INPUT -p tcp –dport 8983 -j DROP

sudo service iptables save

Posted in apache solr, vufind | Tagged apachesolr | Leave a comment |
04.26.21
by amdmaher

free space after file removal in linux

kill -9 $(lsof | grep deleted | cut -d " " -f4)

Posted in Linux | Leave a comment |
04.03.21
by amdmaher

: Permission denied for schema table in Postgres

Step 1
GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA name_schema TO name_user;

Step 2
GRANT USAGE ON SCHEMA name_schema TO name_user;

Posted in postgresql | Leave a comment |
Page 1 of 1312345Next ›Last »

Categories

  • amazon ec2
  • apache
  • apache solr
  • cakephp
  • centos
  • Cpanel/WHM
  • debian
  • Drupal
  • dspace
  • exim
  • ftp
  • git
  • koha
  • laravel
  • Linux
  • magento
  • MongoDB
  • mysql
  • nodejs
  • Perl
  • php
  • postgresql
  • Ruby On Rails
  • tomcat
  • Ubuntu
  • Uncategorized
  • Vsftpd
  • vufind
  • wordpress
  • zebra
© Ahmad Maher - Powered by Ahmad Maher