Skip to content

Instantly share code, notes, and snippets.

View stephdl's full-sized avatar
🏠
Happy to work in Aveyron

Stephane de Labrusse stephdl

🏠
Happy to work in Aveyron
View GitHub Profile
@stephdl
stephdl / gist:95ee8a6c8fadc562344461116119edbf
Created December 1, 2016 17:14
/var/log/slapd during the change of password with dokuwiki
Dec 1 18:12:41 NS7DEV4 slapd[3539]: conn=1065 fd=20 ACCEPT from IP=127.0.0.1:50062 (IP=0.0.0.0:389)
Dec 1 18:12:41 NS7DEV4 slapd[3539]: conn=1065 op=0 BIND dn="cn=ldapservice,dc=stephdl,dc=dyndns,dc=org" method=128
Dec 1 18:12:41 NS7DEV4 slapd[3539]: conn=1065 op=0 BIND dn="cn=ldapservice,dc=directory,dc=nh" mech=SIMPLE ssf=0
Dec 1 18:12:41 NS7DEV4 slapd[3539]: conn=1065 op=0 RESULT tag=97 err=0 text=
Dec 1 18:12:41 NS7DEV4 slapd[3539]: conn=1065 op=1 BIND anonymous mech=implicit ssf=0
Dec 1 18:12:41 NS7DEV4 slapd[3539]: conn=1065 op=1 BIND dn="cn=ldapservice,dc=stephdl,dc=dyndns,dc=org" method=128
Dec 1 18:12:41 NS7DEV4 slapd[3539]: conn=1065 op=1 BIND dn="cn=ldapservice,dc=directory,dc=nh" mech=SIMPLE ssf=0
Dec 1 18:12:41 NS7DEV4 slapd[3539]: conn=1065 op=1 RESULT tag=97 err=0 text=
Dec 1 18:12:41 NS7DEV4 slapd[3539]: conn=1065 op=2 SRCH base="ou=People,dc=stephdl,dc=dyndns,dc=org" scope=2 deref=0 filter="(&(uid=toto)(objectClass=inetOrgPerson))"
Dec 1 18:12:41 NS7DEV4 slapd[3539]: <= bdb_equality
[root@NS7DEV5 ~]# yum search xapian
Loaded plugins: changelog, fastestmirror, nethserver_events
Loading mirror speeds from cached hostfile
* base: centos.mirror.fr.planethoster.net
* epel: mirrors.ircam.fr
* extras: ftp.rezopole.net
* nethforge: mirror1.nethserver.org
* nethserver-base: mirror1.nethserver.org
* nethserver-updates: mirror1.nethserver.org
* remi-safe: remi.mirror.ate.info
#####OFIICIAL SCL REPO
[root@NS7DEV6 ~]# yum search php56 --disablerepo=remi-safe
Loaded plugins: changelog, fastestmirror, nethserver_events
Loading mirror speeds from cached hostfile
* base: mirror.in2p3.fr
* epel: mirrors.ircam.fr
* extras: ftp.ciril.fr
* nethforge: mirror2.nethserver.org
clamscan(1) Clam AntiVirus clamscan(1)
NAME
clamscan - scan files and directories for viruses
SYNOPSIS
clamscan [options] [file/directory/-]
@stephdl
stephdl / gist:79596042688b482caba4023d6b002930
Created January 17, 2017 22:09
unpackaged translation files
warning: Installed (but unpackaged) file(s) found:
/usr/share/locale/sl/LC_MESSAGES/nethserver-backup-data.mo
/usr/share/locale/sl/LC_MESSAGES/nethserver-firewall-base.mo
/usr/share/locale/sl/LC_MESSAGES/nethserver-password.mo
/usr/share/locale/sl/LC_MESSAGES/nethserver-samba.mo
/usr/share/locale/sl/LC_MESSAGES/nethserver-webtop4.mo
/usr/share/nethesis/NethServer/Language/fil/NethServer.php
/usr/share/nethesis/NethServer/Language/fil/NethServer_Module_BackupConfig.php
/usr/share/nethesis/NethServer/Language/fil/NethServer_Module_BackupConfig_Backup.php
/usr/share/nethesis/NethServer/Language/fil/NethServer_Module_BackupConfig_Restore.php
@stephdl
stephdl / gist:5a82bb25527b0ac6c65e7e77001fc25f
Last active January 30, 2017 19:49
clamav-data conflicts clamav-data-empty
[root@tutu ~]# yum install nethserver-squidclamav
Loaded plugins: changelog, fastestmirror, nethserver_events
Loading mirror speeds from cached hostfile
* base: mirror.plusserver.com
* epel: mirrors.ircam.fr
* extras: mirror.plusserver.com
* nethforge: mirror1.nethserver.org
* nethserver-base: mirror1.nethserver.org
* nethserver-updates: mirror1.nethserver.org
* updates: ftp.ciril.fr
[root@tutu ~]# cat /root/anaconda-ks.cfg
#platform=86, AMD64, or Intel EM64T
#version=DEVEL
# Install OS instead of upgrade
install
# Use CDROM installation media
cdrom
# Use graphical install
graphical
#platform=86, AMD64, or Intel EM64T
#version=DEVEL
# Install OS instead of upgrade
install
# Use CDROM installation media
cdrom
# Use graphical install
graphical
firstboot --disable
USE moodle;
CREATE TABLE IF NOT EXISTS `mdl_config` (
`id` bigint(10) NOT NULL AUTO_INCREMENT,
`name` varchar(255) NOT NULL DEFAULT '',
`value` longtext NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `mdl_conf_nam_uix` (`name`)
) ENGINE=InnoDB AUTO_INCREMENT=466 DEFAULT CHARSET=utf8 COMMENT='Moodle configuration variables';
Error
Madsonic encountered an internal error. You can report this error in the Madsonic Forum. Please include the information below.
Exception org.springframework.jdbc.BadSqlGrammarException
Message PreparedStatementCallback; bad SQL grammar [select username, locale, theme_id, final_version_notification, beta_version_notification, main_caption_cutoff, main_disc_number, main_track_number, main_artist, main_album, main_genre, main_mood, main_year, main_bit_rate, main_duration, main_format, main_file_size, main_bpm, main_composer, playlist_caption_cutoff, playlist_disc_number, playlist_track_number, playlist_artist, playlist_album, playlist_genre, playlist_mood, playlist_year, playlist_bit_rate, playlist_duration, playlist_format, playlist_file_size, playlist_bpm, playlist_composer, button_rank, button_loved, button_starred, button_play, button_playadd, button_playmore, button_addcontext, button_addnext, button_addlast, button_download, button_youtube, button_lyric, last_fm_enabled, last_fm_username, last_fm