search for: cfgfile

Displaying 20 results from an estimated 62 matches for "cfgfile".

2007 Jul 27
1
MRTG with 14all.cgi on centos 5
...h (@INC) # uncomment the following line and change the path appropriatly # or use a LibAdd: setting in the config file #use lib qw(/usr/local/rrdtool-1.0.38/lib/perl); use lib qw(/usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi); ### where the mrtg.cfg file is # anywhere in the filespace #$cfgfile = '/home/mrtg/mrtg.cfg'; $cfgfile = '/etc/mrtg/mrtg.cfg'; # relative to the script #$cfgfile = 'mrtg.cfg'; # use this so 14all.cgi gets the cfgfile name from the script name #(14all.cgi -> 14all.cfg) #$cfgfile = ''; Everything works fine. But, i need to custumise...
1997 May 26
1
an anti-overflow wrapper
...n''t forget to remove * the suid bits from the wrapped program and to add them to the * wrapper! * */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <ctype.h> #include <syslog.h> #include <unistd.h> #define BUFFSIZE 1024 #define CFGFILE "/etc/wrapper.cfg" extern char **environ; void syntax(const char *s) { syslog(LOG_ERR, "WRAPPER: error in %s: %s.", CFGFILE, s); fprintf(stderr, "Syntax error in %s. Please notify the system\n" "administration.\n", CFGFILE); } int main(int argc, cha...
2008 Aug 11
2
debian package from svn / errors and non working debian rules
...rules, it starts compiling, but throws an error: make[4]: Leaving directory `/root/svn/icecast/src/timing' make[4]: Entering directory `/root/svn/icecast/src' cc -DHAVE_CONFIG_H -I. -I.. -Wall -ffast-math -fsigned-char -I/usr/include/libxml2 -I/usr/include -pthread -g -O2 -g -Wall -O2 -c cfgfile.c In file included from cfgfile.h:32, from cfgfile.c:27: global.h:54: error: expected specifier-qualifier-list before 'spin_t' global.h:66: warning: 'struct rate_calc' declared inside parameter list global.h:66: warning: its scope is only this definition or declarat...
2015 Mar 22
2
exposed-port option for Icecast behind reverse proxy
...st 2.3.2 source code, and modified it to add a new option: <exposed-port>80</exposed-port> If this option is present in the Icecast configuration file, then m3u/xspf files as well as YP updates will use that port number. The below patch is for Icecast version 2.3.2: diff --git a/src/cfgfile.c b/src/cfgfile.c index 5eac93d..42d917f 100644 --- a/src/cfgfile.c +++ b/src/cfgfile.c @@ -436,6 +436,10 @@ static void _parse_root(xmlDocPtr doc, xmlNodePtr node, configuration->mimetypes_fn = (char *)xmlNodeListGetString(doc, node->xmlChildrenNode, 1); } else if (xmlStrcmp (node->name,...
2018 Aug 15
1
WARN cfgfile/_parse_alias incomplete alias definition HELP PLEASE.
...help me i couldnt find answer in web , sorry for english). I install Icecast 2.4.0-kh10 with all needed packages . Ubuntu-16.04-amd64. No errors . ~# icecast -status Icecast 2.4.0-kh10 When I start icecast icecast -b -c /usr/local/etc/icecast.xml i have problems like: [2018-08-15 03:42:02] WARN cfgfile/_parse_alias incomplete alias definition [2018-08-15 03:42:02] EROR main/fatal_error FATAL: error parsing config file (/usr/local/etc/icecast.xml) [2018-08-15 03:42:02] EROR main/fatal_error XML config parsing error Ill try to fix and reinstall apt-get install libxml2 apt-get install libxml-libx...
2005 Nov 11
0
[PATCH] icecast video preview 2
..._theora.h (revisione 10365) +++ src/format_theora.h (copia locale) @@ -14,6 +14,7 @@ #ifndef __FORMAT_THEORA_H #define __FORMAT_THEORA_H +#include <theora/theora.h> #include "format_ogg.h" ogg_codec_t *initial_theora_page (format_plugin_t *plugin, ogg_page *page); Index: src/cfgfile.c =================================================================== --- src/cfgfile.c (revisione 10365) +++ src/cfgfile.c (copia locale) @@ -53,6 +53,7 @@ #define CONFIG_DEFAULT_CHUID 0 #define CONFIG_DEFAULT_USER NULL #define CONFIG_DEFAULT_GROUP NULL +#define CONFIG_DEFAULT_VIDEO_PREVIEW 1...
2005 Nov 11
2
[PATCH] icecast video preview 2
Updated version of video preview covering frame writing every 3 keyframe and a xsl typo. Best regards :) kysucix -- Make things as simple as possible, but no simpler. - Albert Einstein
2005 Nov 11
1
[PATCH] icecast video preview
Hi. Here it is my patch to put a video preview of a theora stream in status.xsl. I just added a: <video-preview>1</video-preview> parameters in icecast.xml.in that control the previewing function. It encodes a png in $webroot/$mountname.tmp and then move it to $webroot/$mountname.png As for now it saves a frame every theora keyframe, which is probably too heavy for the server but
2016 Jun 06
0
[PATCH] Config: Rename mp3-metadata-interval to icy-metadata-interval
As proposed in #2272, this renames the mount specific mp3-metadata-interval to icy-metadata-interval to prevent confusion about what it does (setting the icy metadata interval) and to make clear it's not mp3 specific but ICY specific. --- src/cfgfile.c | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/src/cfgfile.c b/src/cfgfile.c index f8fde5d..dfe2891 100644 --- a/src/cfgfile.c +++ b/src/cfgfile.c @@ -397,7 +397,7 @@ static void __append_old_style_url_event(event_registration_t **list, static void c...
2019 Jan 07
0
how to set proxy systemwide (wget and docker)
...get and docker. > My first idea was /etc/environment but allthough the proxy is set wget and > docker don? t connect to their target-systems. I have this in /etc/profile.d/proxy-config.sh: -----%<--------------------------------- PROXYHOST="proxy" PROXYPORT="8080" for CFGFILE in /etc/sysconfig/proxy-config ${HOME}/.proxy-config; do [ -s $CFGFILE ] && . $CFGFILE done export http_proxy="http://${PROXYHOST}:${PROXYPORT}" export HTTP_PROXY="http://${PROXYHOST}:${PROXYPORT}" export https_proxy="http://${PROXYHOST}:${PROXYPORT}" export...
2015 Jan 05
3
CentOS 6 Xen 4.4.1 packages available on virt6-testing / libvirt blktap2 problems
...> > I'll test soon. Thanks a lot! > Ok I just used a couple of hours testing Xen 4.4.1 rpms on CentOS 6.6 with Linux 3.10 dom0 kernel. This session was all about xm/xend testing. I manually enabled xend first. What Works OK: - Manually creating/managing guests with xm and domU cfgfiles in /etc/xen and LVM volumes as storage (phy backend). - Manually creating/managing guests with xm and domU cfgfiles in /etc/xen and file images as storage (tap2:aio backend). - Using virt-install to install PV domUs using LVM volumes as storage (phy backend). - Using virt-manager to install PV...
2019 Jan 05
4
how to set proxy systemwide (wget and docker)
Hallo, what is the right way to set a proxy systemwide using centos 7? I need this for wget and docker. My first idea was /etc/environment but allthough the proxy is set wget and docker don? t connect to their target-systems. Thanks for hints Ralf
2011 Oct 31
2
Xen 4.1.2 PVHVM guest with Linux 3.1.0 network problem, empty MAC address (all zeroes)
...0 doesn''t have any vifs/taps connected to it anymore. Has anyone seen that behaviour? I bet that''s also the reason why eth0 inside the PVHVM guest has a MAC address with only zeroes in it: 00:00:00:00:00:00. If I disable PVHVM with "xen_platform_pci=0" in the domain cfgfile then network for the guest works OK using the qemu-dm emulated nic. PVHVM guest cfgfile: kernel = "hvmloader" builder=''hvm'' device_model = ''qemu-dm'' name = "f16pvhvm" memory = 1024 vcpus=1 pae=1 acpi=1 apic=1 vif = [ ''type=ioemu, ma...
2006 Apr 01
2
compiling 2.3.1
...n a slackware 10.0 box. I've successfully compiled the libshout libraries. Now this is what I got after a make in the source dir: > make[3]: Entering directory `/tar_archive/icecast-2.3.1/src' > /bin/sh ../libtool --mode=link gcc -pthread -g -O2 -L/usr/local/lib > -o icecast cfgfile.o main.o logging.o sighandler.o connection.o > global.o util.o slave.o source.o stats.o refbuf.o client.o xslt.o > fserve.o event.o admin.o md5.o format.o format_ogg.o format_mp3.o > format_midi.o format_flac.o auth.o auth_htpasswd.o format_vorbis.o > net/libicenet.la thread/libicet...
2004 Aug 06
0
[RFC] RTP support
...entation is only for mp3 streams, because the vorbis RTP payload format is still not fully standardized. Once it is, a vorbis stream implementation may be possible. Yet we may start an experimental implementation right now. Regards, Samuel Thibault --- icecast2-1.9+2.0alphasnap2+20030802.orig/src/cfgfile.h +++ icecast2-1.9+2.0alphasnap2+20030802/src/cfgfile.h @@ -82,6 +82,9 @@ char *hostname; int port; + int rtp_port; + int rtp_ttl; + int rtp_ip; listener_t listeners[MAX_LISTEN_SOCKETS]; --- icecast2-1.9+2.0alphasnap2+20030802.orig/src/cfgfile.c +++ icecast2-1.9+2.0alp...
2008 Aug 11
0
debian package from svn / errors and non working debian rules
...all out of sync easily. > make[4]: Leaving directory `/root/svn/icecast/src/timing' > make[4]: Entering directory `/root/svn/icecast/src' > cc -DHAVE_CONFIG_H -I. -I.. -Wall -ffast-math -fsigned-char > -I/usr/include/libxml2 -I/usr/include -pthread -g -O2 -g -Wall -O2 -c > cfgfile.c > In file included from cfgfile.h:32, > from cfgfile.c:27: > global.h:54: error: expected specifier-qualifier-list before 'spin_t' > global.h:66: warning: 'struct rate_calc' declared inside parameter list > global.h:66: warning: its scope is only th...
2004 Aug 06
0
[PATCH] Add per-listener and per-mount connection time limits.
...are effected. * Default behaviour is NO limit. To apply this patch, put it in your icecasr-2.0.0 source tree root, and execute 'patch -p0 < timelimiter.patch' Please give me feed back if this is working as you expect. //dale -------------- next part -------------- *** src/cfgfile.c.orig Fri Dec 12 10:23:08 2003 --- src/cfgfile.c Fri Mar 5 13:12:03 2004 *************** *** 19,24 **** --- 19,25 ---- #define CONFIG_DEFAULT_ADMIN "icemaster@localhost" #define CONFIG_DEFAULT_CLIENT_LIMIT 256 #define CONFIG_DEFAULT_SOURCE_LIMIT 16 + #define CONFIG_DEFAULT_CLIENT_...
2018 Nov 03
2
limit-rate
Hi, Where is the mount option 'limit-rate' in the current version? I checked in cfgfile.c and in the documentation, no mention. Yet this option did exist at one time: http://lists.xiph.org/pipermail/icecast/2010-October/011703.html http://lists.xiph.org/pipermail/icecast/2009-January/011391.html I try to limit the bitrate of a mount-point, is there another solution? Do you know why...
2008 Aug 11
1
debian package from svn / errors and non working debian rules
...> >> make[4]: Leaving directory `/root/svn/icecast/src/timing' >> make[4]: Entering directory `/root/svn/icecast/src' >> cc -DHAVE_CONFIG_H -I. -I.. -Wall -ffast-math -fsigned-char >> -I/usr/include/libxml2 -I/usr/include -pthread -g -O2 -g -Wall -O2 -c >> cfgfile.c >> In file included from cfgfile.h:32, >> from cfgfile.c:27: >> global.h:54: error: expected specifier-qualifier-list before 'spin_t' >> global.h:66: warning: 'struct rate_calc' declared inside parameter list >> global.h:66: warning: i...
2011 Oct 31
5
Xen 4.1.1 HVM guest cdrom trouble, lost interrupts, ata failed commands (frozen)
...d Linux 3.1.0 dom0 kernel. Fedora 16 PV domUs seem to work nicely. I noticed a problem with Fedora 16 Xen HVM guests though. The F16 guest kernel (Linux 3.1.0) fails with the qemu-dm emulated DVD-ROM drive.. Full HVM guest kernel dmesg attached to this email. See the end of this email for Xen cfgfile for the domain and some workarounds.. Important parts of the guest dmesg: [ 0.000000] Linux version 3.1.0-5.fc16.x86_64 (mockbuild@x86-10.phx2.fedoraproject.org) (gcc version 4.6.1 20111003 (Red Hat 4.6.1-10) (GCC) ) #1 SMP Thu Oct 27 03:46:50 UTC 2011 [ 0.000000] Command line: initrd=initr...