Aarvi

Activating lvgroup

lvscaninactive ‘/dev/vg1/vsv1001-d8pixocsw0jjt67p-28scn37pgayace8e’ [801.00 GiB] inherit Use below command to activate the lvgroup lvchange -a y /dev/vg1/vsv1001-d8pixocsw0jjt67p-28scn37pgayace8e [root@OK10XX qemu]# lvscanACTIVE ‘/dev/vg1/vsv1001-d8pixocsw0jjt67p-28scn37pgayace8e’ [801.00 GiB] inherit
Read more

FFMPEG and PHPFFMPEG installlation on Centos 7

yum install epel-release yum localinstall –nogpgcheck https://download1.rpmfusion.org/free/el/rpmfusion-free-release-7.noarch.rpm yum install ffmpeg ffmpeg-devel mkdir /root/source cd /root/source/ git clone https://github.com/tony2001/ffmpeg-php.git cd ffmpeg-php/ /opt/cpanel/ea-php56/root/usr/bin/phpize ./configure –with-php-config=/opt/cpanel/ea-php56/root/usr/bin/php-config nake && make install Add line extension=ffmpeg.so in php.ini and restarted httpd
Read more

error while loading shared libraries: libasound.so.2: cannot open shared object file: No such file or directory

I was gettnig error mentioned below “error while loading shared libraries: libasound.so.2:” on Centos 7 OS yum -y install alsa-lib-devel fixed the issue yum -y install alsa-lib-develLoaded plugins: fastestmirror, universal-hooksLoading mirror speeds from cached hostfile EA4: 208.74.123.61 cpanel-addons-production-feed: 208.74.123.61 cpanel-plugins: 208.74.123.61 base: www.gtlib.gatech.edu epel: mirror.oss.ou.edu extras: mirror.dal10.us.leaseweb.net nux-dextop: mirror.li.nux.ro updates: mirror.dal10.us.leaseweb.netResolving Dependencies–> Running transaction check—> […]
Read more

Debian7 404 error

Was working on Debian 7 server and on trying to update using command apt-get update was getting 404 error I could see 404 error on command apt-get update root@debian:/home/nvc# vi /etc/resolv.confroot@debian:/home/nvc# apt-get updateIgn cdrom://[Debian GNU/Linux 7.11.0 Wheezy – Official amd64 DVD Binary-1 20160605-17:36] wheezy Release.gpgIgn cdrom://[Debian GNU/Linux 7.11.0 Wheezy – Official amd64 DVD Binary-1 20160605-17:36] […]
Read more

CGI download issue

Enable CGI through .htaccess To enable CGI through .htaccess, perform the following steps: Log in to your server as the root user via SSH. Change to the /usr/local/apache/conf/ directory. Create a backup of your httpd.conf file. For example: Note: In this example, http-old.conf represents the backup file’s name. 4. Open your http.conf file with a […]
Read more

fix corrupted named.conf in cPanel

We had an issue where in cPanel server where we had our rDNS settings were no working. On editing and saving the file from WHM , Rdns worked Found the issue was due to corrupted named.conf Below are the steps undertaken to rebuild named.conf mv /etc/named.conf /etc/named.conf.bak /usr/local/cpanel/scripts/rebuilddnsconfig /scripts/restartsrv_named Now rdns and other records are […]
Read more

Exim Error: Failed to create directory “/var/spool/exim/db”: Permission denied

We came across an issue where emails were not coming to server on checking logs we saw below error failed to open DB file /var/spool/exim/db/ratelimit: Permission denied (euid=47 egid=12) We executed below steps to fix the error 1003 2020-05-20 11:38:14 rm -fv /var/spool/exim/db/*1004 2020-05-20 11:38:30 service exim restart1005 2020-05-20 11:39:22 chown -R mailnull.mail /var/spool/exim1006 2020-05-20 […]
Read more

Change SSH port on Centos 7

Open file using command vi /etc/ssh/sshd_config #Port 22 remove the # symbol and change the default port 22 and change it accordingly to your preference save the file and exit semanage port -a -t ssh_port_t -p tcp 2244 where 1234 is my ssh port firewall-cmd --permanent --zone=public --add-port=1234/tcp firewall-cmd --reload systemctl restart sshd.service Now telnet […]
Read more

named.service failed. Centos Web Panel

Named on Centos webpanel was not starting on server On checking logs only below information were displayed named.service – Berkeley Internet Name Domain (DNS) Loaded: loaded (/usr/lib/systemd/system/named.service; enabled; vendor preset: disabled) Active: failed (Result: exit-code) since Fri 2020-03-13 07:30:38 EDT; 5min ago Process: 24466 ExecStartPre=/bin/bash -c if [ ! “$DISABLE_ZONE_CHECKING” == “yes” ]; then /usr/sbin/named-checkconf […]
Read more

Aarvi server solutions Is a Web Hosting Support Company that has built a solid reputation for quality, reliability, and true professional service