gentoo beragadt init script takarítása

/etc/init.d/docker zap


Debian 8 Docker daemon default start params remove

Somebody at debian’s thought, it will be very usefull, if adds the

-H fd://

param to the docker daemon default

To remove it, and use the /etc/docker/daemon.json do this below:

vi /lib/systemd/system/docker.service

mod this line:

ExecStart=/usr/bin/dockerd -H fd://



than reload the daemon config

systemctl daemon-reload

and reload the service

/etc/init.d/docker restart



JDK 8 Failed to read schema document ‘xjc.xsd’, because ‘file’ access is not allowed due to restriction set by the accessExternalSchema property.

The error msg is:

java.lang.AssertionError: org.xml.sax.SAXParseException; systemId: jar:file:/path/to/glassfish/modules/jaxb-osgi.jar!/com/sun/tools/xjc/reader/xmlschema/bindinfo/binding.xsd; lineNumber: 52; columnNumber: 88; schema_reference: Failed to read schema document ‘xjc.xsd’, because ‘file’ access is not allowed due to restriction set by the accessExternalSchema property.

the resolution is:

Create a file named (if it doesn’t exist) under /path/to/jdk1.8.0/jre/lib and then write this line in it:

javax.xml.accessExternalSchema = all


gigabit e1000e Detected Hardware Unit Hang

If we see it in

$ dmesg
[Tue Feb 13 20:53:07 2018] e1000e 0000:00:19.0 eno1: Detected Hardware Unit Hang:
                             TDH                  <1b>
                             TDT                  <76>
                             next_to_use          <76>
                             next_to_clean        <1b>
                             time_stamp           <361c0382c>
                             next_to_watch        <1e>
                             jiffies              <361c056ec>
                             next_to_watch.status <0>
                           MAC Status             <80083>
                           PHY Status             <796d>
                           PHY 1000BASE-T Status  <3800>
                           PHY Extended Status    <3000>
                           PCI Status             <10>
[Tue Feb 13 20:53:07 2018] e1000e 0000:00:19.0 eno1: Reset adapter unexpectedly

the resulution is:

$ ethtool -K eth0 gso off gro off tso off


for gentoo, add these lines into

$ vi /etc/conf.d/net

  /usr/sbin/ethtool -K eno1 gso off gro off tso off




Tomcat 8.5 manager app, manager-script role

Mert másodszor futottam bele. A tomcat 8.5 alap manager appjában változott (szigorodott) a jogosultság kezelés.

Az alábbi sort ki kell kommentezni:



<Context antiResourceLocking="false" privileged="true" >
<Valve className="org.apache.catalina.valves.RemoteAddrValve" allow="127\.\d+\.\d+\.\d+|::1|0:0:0:0:0:0:0:1" />


MySQL root pwd reset

/etc/init.d/mysql stop

next start damon at safe mode

mysqld_safe --skip-grant-tables

connect to the safe mode daemon into mysql database

mysql --user=root mysql

change pwd

update user set Password=PASSWORD('new-password') where user='root';


flush privileges;

kill safe moded daemon

than restart deamon

/et/init.d/mysql start

test the new pwd

mysql -u root -p



Adot napnál régebbi fájlok megkeresése

find . -maxdepth 1 -daystart -mtime +0 -ls


Pidgin facebook usage

Most useful solution:

Download, install (copy ddl-s), then restart. Done.



pidgin, language set on windows

Hard to change language of Piding to english…

The way is, add an environment variable with:


Restrat pidgin


So tricky… not funny…

Raspberry Pi – Chrome(mium) kiosk mode on startup

cp /etc/xdg/lxsession/LXDE-pi/autostart /home/pi/.config/lxsession/LXDE-pi/autostart
sudo nano /home/pi/.config/lxsession/LXDE-pi/autostart
#@xscreensaver -no-splash  # comment this line out to disable screensaver
@xset s off
@xset -dpms
@xset s noblank
@chromium-browser --incognito --kiosk http://localhost/  # load chromium after boot and point to the localhost webserver in full screen mode

save and

sudo reboot