CUPS Printer cancel all pending jobs

Posted by: Shailesh Posted on: March 12, 2019 Comments: 0

[root@app1 ~]# lpq SPDDCNPH09 is ready no entries [root@app1 ~]# lpstat -o SPLDPHCA02-1994129 applprod 2048 Wed 18 Jan 2017 11:24:54 AM GST DPDDCNPH03-1994219 applprod 2048 Wed 18 Jan 2017 11:28:03 AM GST NWADCNPH20-1994345 applprod 2048 Wed 18 Jan 2017 11:33:39 AM GST KHADCNPH03-1994530 applprod 2048 Wed 18 Jan 2017 11:41:02 AM GST SPLDIPPH01-1994538 applprod 2048 Wed 18 Jan 2017 11:42:32 AM GST SPLDCNPH10-1994642 applprod 2048 Wed 18 Jan 2017 11:46:41…

CUPS Printer configuration on Linux

Posted by: Shailesh Posted on: March 12, 2019 Comments: 0

#ssh Y.Y.Y.Y #yum install cups #yum list cups #mv printers.conf printers.conf_orig #command to take printers.conf backup #scp X.X.X.X:/etc/cups/printers.conf . #/etc/init.d/cups restart #yum install firefox #scp X.X.X.X:/etc/cups/ppd/* ppd/ #This command to copy existing cups configuration or we can add new printers manually.

How to disable IPV6 on Linux

Posted by: Shailesh Posted on: March 12, 2019 Comments: 0

Method 1: # echo ‘1’ > /proc/sys/net/ipv6/conf/lo/disable_ipv6 # echo ‘1’ > /proc/sys/net/ipv6/conf/lo/disable_ipv6 # echo ‘1’ > /proc/sys/net/ipv6/conf/all/disable_ipv6 # echo ‘1’ > /proc/sys/net/ipv6/conf/default/disable_ipv6 # /etc/init.d/networking restart Method 2: #vi /etc/sysctl.conf # IPv6 disabled #add these 3 lines in the last net.ipv6.conf.all.disable_ipv6 = 1 net.ipv6.conf.default.disable_ipv6 = 1 net.ipv6.conf.lo.disable_ipv6 = 1 # /etc/init.d/networking restart Method 3 : Disable ipv6 from GRUB Ipv6 can also be disabled by editing the grub configuration file $…

Android Malware ‘Judy’ Hits as Many as 36.5 Million Phones

Posted by: Shailesh Posted on: May 29, 2017 Comments: 0

The security firm Checkpoint on Thursday uncovered dozens of Android applications that infected user’s devices with malicious ad-click software. In at least one case, an app bearing the malware was available through the Google Play app store for more than a year. While the actual extent of the malicious code’s spread is unknown, Checkpoint says it may have reached as many as 36.5 million users, making it potentially the most…

Start the MySQL server fails

Posted by: Shailesh Posted on: May 16, 2017 Comments: 0

Start the MySQL server fails, as follows: [root@spark01 ~]# /etc/init.d/mysqld start Starting mysqld (via systemctl): Job for mysqld.service failed because the control process exited with error code. See “systemctl status mysqld.service” and “journalctl -xe” for details. [FAILED] When prompted, respectively, using systemctl status mysqld.service and journalctl -xe see why the service failed to start [root@spark01 ~]# systemctl status mysqld.service ?.mysqld.service – SYSV: MySQL database server. Loaded: loaded (/etc/rc.d/init.d/mysqld) Active: failed…