search for: initlog

Displaying 20 results from an estimated 20 matches for "initlog".

2005 Mar 13
0
safe_asterisk doesn't restart when called by initlog in fedora
In fedora core 2 and 3 starting asterisk using contrib/init.d/rc.redhat.asterisk (installed by make config), if asterisk dies, it doesn't restart. Seems the problem is in initlog. The standard way to start services in fedora is by calling daemon <service> that results in: $nice initlog $INITLOG_ARGS -c "$*" Removing initlog works correctly. I don't know if this is a bug in initlog or there is someting wrong in safe_asterisk. I resolved for now remov...
2011 Feb 20
1
initlog is deprecated
Hello Centos, I am getting an error that I am not familiar with when I restart ssh. [root at virtcent01:~] #service sshd restart Stopping sshd: [ OK ] Starting sshd:WARNING: initlog is deprecated and will be removed in a future release [ OK ] [root at virtcent01:~] # I was just wondering if this is in the 'ignorable but annoying' category of things or whether there is something you can do about this. I...
2003 Jun 04
1
rsync not overwriting files on destination
Hi, I am rsyncing from my source server A to a destination server B. A/vol1 contains two files syslog.txt and syslog.bak B/vol1 contains five files syslog.txt, syslog.bak, initlog.txt, internal.txt, and internal.bak. I want to preserve the 5 files on B/vol1 when I do rsync from A to B. Here is the command I use: rsync -av --delete --exclude-from=EXCLUDEFILE A/ B I've tried the option "--exclude-from=EXCLUDEFILE" and I put the paths of those 5 files (B/vol1/F...
2006 Jun 21
2
startup script for icecast
...ction library . /etc/rc.d/init.d/functions RETVAL=0 prog="icecast2" # Some functions to make the below more readable ICECAST2=/usr/bin/icecast PID_FILE=/usr/local/icecast/logs/icecast2.pid CONFIG_FILE=/usr/local/icecast/conf/icecast.xml start() { echo -n $"Starting $prog:" # initlog -c "$ICECAST2 $OPTIONS" && success || failure initlog -c "$ICECAST2 -b -c $CONFIG_FILE" && success || failure RETVAL=$? [ "$RETVAL" = 0 ] && touch /var/lock/subsys/icecast2 echo } stop() { echo -n $"Stopping $prog:" killproc $IC...
2001 Jan 22
3
Possible funny with /sbin/fsck
...3 (on our development machine :-) to see whether it was a practical proposition for this kind of thing yet. Appears to be working so far, with a 300MB journal (based on the rule of thumb in the ext3 README), but we did notice that whereas our (RedHat) /etc/rc.d/rc.sysinit said to do a... initlog -c "fsck -C -T -R -A -a $fsckoptions" to check the non-root filesystems, we actually got a crash from the fsck parent process until we changed to serialized fscking, viz. initlog -c "fsck -s -C -T -R -A -a $fsckoptions" If this isn't a known problem (I've only...
2010 Sep 15
3
changing from zap to DAHDI
I am changing a system from zap to DAHDI. I removed everything zap. when doing the command: sh -x /etc/init.d/dahdi start, I see initlog -q -c 'modprobe wct4xxp' sh: /sbin/ztcfg: No such file or directory FATAL: Error running install command for wct4xxp doing updatedb then, locate zap returns me /var/lib/asterisk/sounds/spy-zap.gsm /usr/share/groff/1.18.1.1/font/devps/zapfdr.pfa /usr/lib/asterisk/modules/app_zapateller.so...
2006 Apr 24
0
Permissive SELinux hangs some services
...ssive mode and warns on startup of a service (during boot-up): Warning! Could not relabel /dev/pts/0 with user_u:object_r:initrc_devpts_t, not relabeling.Operation not permitted So far, so good. But this logging let's this application and all that should start after it hang. ps then shows: initlog -q -c /etc/rc3.d/S98bigsister start (bigsister is a monitoring agent) if I wait long enough the above warning gets written to messages and startup of that daemon succeeds. However, the other daemons after it don't start. If I kill the initlog process fast enough the other daemons start, not...
2005 Nov 13
0
log file errors in "messages" on update -> 3.6
...ow getting some junk spewed into the "messages" file on "all" six severs. (Only on boot up) There was none of this happing previously. I attached a txt copy because the encoding of my mailer doesn't like it. Also noticed the spew looks simular to the contents of the "initlog.conf" file, attched also. I'm guessing it's an upstream problem? I also don't this is a big concern? Any thoughts? -------------- next part -------------- A non-text attachment was scrubbed... Name: logerrors Type: application/octet-stream Size: 1641 bytes Desc: not available URL...
2001 Mar 20
3
Interesting interaction between journal recovery and slow boots
...(recovery.c, 366): do_one_pass: Scanning for sequence ID 484041 at 9612/10000 Mar 20 12:27:20 brian-laptop fsck: JFS DEBUG: (recovery.c, 366): do_one_pass: Scanning for sequence ID 484042 at 9613/10000 diplayed. On Red Hat systems (and others I am sure) the startup scripts use a package called initlog to capture all of the console output (including the above) and "syslog" it (to /var/log/boot.log on Red Hat 7.0 systems). Well, the copious amounts of JFS records were flooding the syslog server and causing it to back up, blocking further attemtps to write to syslog while the back up was...
2007 Mar 06
0
[LLVMdev] alloca & store generation
...transformation produces, it looks like: ----- int main(int ltmp_75_3, signed char **ltmp_76_9) { int ltmp_3355_85; /* Address-exposed local */ signed char **ltmp_3356_105; /* Address-exposed local */ ... *(&ltmp_3355_85) = ltmp_75_3; *(&ltmp_3356_105) = ltmp_76_9; initLogging((&ltmp_3355_85), (&ltmp_3356_105), 1, 0); ----- The C code is what I intended. That leaves me to believe that my transformation produced the correct bytecode, but the dissassembler is not properly disassebling the bytecode. Ryan Ryan M. Lefever wrote: > I am writing a transfor...
2004 Apr 21
13
wait4ifup
Hi, I have just installed 2.0.1 on two boxes. One box did not have shorewall on at all and the other had 1.4.10 on. Both these boxes are Debian. On the 1.4 box it upgraded fine, and everything works OK. The /etc/init.d/shorewall script runs on startup and loads shorewall fine. On the clean box the /etc/init.d/shorewall script does not seem to work. When run it produces no output, so on bootup
2007 Mar 06
6
[LLVMdev] alloca & store generation
I am writing a transformation that needs to add a call to a function F() at the beginning of main() with the addresses of argc and argv as parameters to F(). However, the bytecode file I'm transforming has not allocated space on the stack for argc and argv. So, I developed my transformation to change main() from: ----- int main(int %argc, sbyte** %argv){ entry: ... // some use of
2018 May 28
1
Rsync 3.1.3 segfault
Hello. I've problem with rsync 3.1.3 in my distribution (TLD Linux). It segfaults when service is started. Services are controlled by rc-scripts (TLD Linux is systemd free). Actual command thats being run by rc-scripts is: nice -n 15 initlog -c "/usr/bin/rsync --daemon --dparam=pidfile=/var/run/rsync.pid" When ran by hand it works, when ran from rc-scripts rsync segfaults. The only difference is that rc-scripts are closing/redirecting std streams prior to calling above command. The code responsible for segfault is new po...
2005 Oct 17
0
Centos 4.1 Boot Problem on ML570 with Compag 5300 Storage Array Raid Controller
...in /etc/rc.d/rc.sysinit would circumvent *the error* and allow the box to boot. Here are the lines - (around line 375) if [ "${RHGB_STARTED}" != "0" -a -w /etc/rhgb/temp/rhgb-console ]; then fsck -T -a $rootdev $fsckoptions > /etc/rhgb/temp/rhgb-console else initlog -c "fsck -T -a $rootdev $fsckoptions" fi Here are the grub.conf boot settings: title CentOS (2.6.9-22.ELsmp) root (hd0,0) kernel /vmlinuz-2.6.9-22.ELsmp ro root=LABEL=/ rhgb quiet initrd /initrd-2.6.9-22.ELsmp.img My question is: WHAT IS THE ERROR? TIA, Dave Au...
2008 Nov 25
2
tightvnc server fails to start
...it (I did a yum erase vnc-server first). So I have a working /etc/sysconfig/vncserver and my user has the appropriate ~/.vnc files that worked with regular vnc. Logged in as root, I issue: service vncserver start and get: Starting TightVNC remote administration daemon (Xvnc):2:root WARNING: initlog is deprecated and will be removed in a future vncserver: The USER environment variable is not set. [FAILED] But there is a USER environment variable set: set|grep USER PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME%%.*}:...
2005 Mar 27
3
Can''t get shorewall to start, again
Hey! No, actually shorewall works very well and starts and so on... Thanks for this! Problem is that it won''t start on boot it seems. At least it doesn''t enable forwarding. However, if I do /etc/init.d/shorewall restart it enables forwarding and the rest... But not if I do /etc/init.d/shorewall start ;) Seems weird... System is Debian Sid, Shorewall is prepackaged by Debian...
2001 Jul 11
1
Porting MS Structured Exception Handling to Linux.
...esp)); //I am throwing out the boolean just for now. Later it will be a real exception object. throw true; } struct sigaction sa; void init_signal_machinery() { sigemptyset(&sa.sa_mask); sa.sa_handler = on_accvio; sa.sa_flags = 0; if (sigaction(SIGSEGV, &sa, NULL)) { printf("initlog() : sigaction() failed.\n"); exit(1); } return; } Anyways, this approach is close, but not exactly there. It modifies the stack frame alright, and the thrown boolean is caught fine. However when I return to the offending stack code, my stack is pretty much messed up; no passed in argumen...
2006 Feb 12
11
Local Network Can't Get Past Shorewall to the Internet
Greetings all, I have just install Shorewall on a Debian system and I''m using it as a firewall on an internal network. The specifics of the system are as follows: firewall:/var/log# shorewall version 3.0.4 firewall:/var/log# uname -a Linux firewall 2.6.12-1-386 #1 Tue Sep 27 12:41:08 JST 2005 i586 GNU/Linux Shorewall start successfully and $FW can connect to the Internet for upgrading
2006 Oct 27
3
Kernel 2.2.18 to 2.2.25 as HVM on xen 3.0.3 freeze every 28s or less
Hi, For various bad reasons I must run a kernel 2.2.X and I tried to get it running on Xen 3.0.3. The virtual machine freeze every 28s (or less) for 1-3 secs which makes it unusable as demonstrated by: # while true; do date; sleep 1; done Thu Oct 26 18:03:36 PDT 2006 <missing> Thu Oct 26 18:03:38 PDT 2006 or # ping my-xen 64 bytes from 172.21.1.102: icmp_seq=0 ttl=255 time=8.5 ms 64
2007 Mar 19
23
puppet hangs while trying to restart a daemon
Hello all, puppet hangs while trying to restart a daemon when the associated config file changes, here the log: Mar 19 11:30:04 ingentTest puppetd[27390]: Starting Puppet client version 0.22.0 puppetd[27390]: Starting configuration run puppetd[27390]: (/ingenttest/qualsevolnode/guaita[guaita]/File[/etc/guaita.conf]/content) synced puppetd[27390]: