[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/feed.php on line 173: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/feed.php on line 174: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
Cheshire Cat Computing Software support and information 2006-04-05T20:42:17+13:00 http://steveshipway.org/forum/feed.php?f=21&t=801 2006-04-05T20:42:17+13:00 2006-04-05T20:42:17+13:00 http://steveshipway.org/forum/viewtopic.php?t=801&p=6155#p6155 <![CDATA[Error: WorkDir not specified in mrtg config]]>
The WorkDir error is because every MRTG .cfg files MUST have a WorkDir: line specifying the directory.

It appears that your generation code (this is part of the bundle, so Im not familiar with it) is generating blank files for some devices in your myrouters.txt, and since a blank file has no WorkDir line,it generates an error (probably not a fatal problem, though).

Looks like oyu have the right solution - remove the devices from myrouters.txt that generate a null file.

Statistics: Posted by stevesh — Wed Apr 05, 2006 8:42 pm


]]>
2006-04-05T15:44:21+13:00 2006-04-05T15:44:21+13:00 http://steveshipway.org/forum/viewtopic.php?t=801&p=6154#p6154 <![CDATA[Error: WorkDir not specified in mrtg config]]>
2006-03-30 12:50:52 -- Use of uninitialized value in pattern match (m//) at c:/mrtg/mrtg/bin\..\lib\mrtg2/MRTG_lib.pm line 493.
2006-03-30 12:50:52 -- ERROR: "WorkDir" not specified in mrtg config file

Considering there is nothing in the .cfg including an entry for workdir: or rrdtool:, it's seems natural to fail. Once I excluded the 0 byte .cfg's from the crontab and myrouters.txt, the errors have disappeared.
...at least it worked for me.

Statistics: Posted by technicalx — Wed Apr 05, 2006 3:44 pm


]]>
2006-03-31T08:05:12+13:00 2006-03-31T08:05:12+13:00 http://steveshipway.org/forum/viewtopic.php?t=801&p=6128#p6128 <![CDATA[Error: WorkDir not specified in mrtg config]]> have approx 10 switches and 5 routers, all cisco, being polled successfully for about 2 months
have followed the bundle instructions and upgraded as it suggests
have reviewed each .cfg file for a "/" in place of a "\" but all are corrected

have tried the above solution in the MRTG_lib.pm but continue to get these messages in the mrtg.log file.


2006-03-30 12:50:52 -- Use of uninitialized value in pattern match (m//) at c:/mrtg/mrtg/bin\..\lib\mrtg2/MRTG_lib.pm line 493.
2006-03-30 12:50:52 -- ERROR: "WorkDir" not specified in mrtg config file

Also, does the entry,
/mrtg/perl/bin/perl c:/mrtg/mrtg/bin/mrtg --logging=c:/mrtg/mrtg.log c:$CFGFILES
have additional param's that will include more information than it currently provides?

Thanx in advance!

Statistics: Posted by technicalx — Fri Mar 31, 2006 8:05 am


]]>
2006-03-21T00:14:15+13:00 2006-03-21T00:14:15+13:00 http://steveshipway.org/forum/viewtopic.php?t=801&p=6087#p6087 <![CDATA[Error: WorkDir not specified in mrtg config]]> Statistics: Posted by stevesh — Tue Mar 21, 2006 12:14 am


]]>
2006-02-02T14:29:10+13:00 2006-02-02T14:29:10+13:00 http://steveshipway.org/forum/viewtopic.php?t=801&p=5944#p5944 <![CDATA[Error: WorkDir not specified in mrtg config]]>
Get Free windows notepat with line numbers..etc.;
http://www.editpadlite.com/

- before I start do anything;
-=Step 1:
Make sure stop the all the MRTG bundle services;
1) Apache
2) Cron
3) Perl.exe (if any)

-=Step 2:

Delete all the pre-configured files from;
c:\mrtg\wwwroot (everything)
c:\mrtg\mrtg\bin\router-switch-pc.CFG leave only the original files.

-=Step 3:
- delete the files in c:\mrtg\mrtg.log
- if you have't, update you myrouters.txt
- run c:\mrtg\Update_MyRouters.bat
- run manually-run-apache.bat and manually-run-mrtg.bat or reboot the system

Have fun.

DDemirchi

Statistics: Posted by ddemirchi — Thu Feb 02, 2006 2:29 pm


]]>
2006-02-02T13:25:16+13:00 2006-02-02T13:25:16+13:00 http://steveshipway.org/forum/viewtopic.php?t=801&p=5942#p5942 <![CDATA[Error: WorkDir not specified in mrtg config]]> I've been getting the same errors, dude. tried the 'workdir' error on one .cfg but haven't had the time to see if it made a difference.

I just now replaced the \ with a \\ in the MRTG_lib file. Glad you figured it out as notepad isn't a line counter. neither am I.

I just started getting these when I added two Cisco 4506 switches, besides the two above.

2006-02-01 14:42:00 -- ERROR: I guess another mrtg is running. A lockfile (c:/mrtg/mrtg/bin/192.168.6.1.cfg_l)
aged 8 seconds is hanging around and I can't remove
it because another process is still using it. at c:/mrtg/mrtg/bin/mrtg line 1419.

DOS windows come atcha every time the CRON kicks off. Figure the errors above keep the files locked longer than necessary so mrtg can't do it's thing.

Statistics: Posted by technicalx — Thu Feb 02, 2006 1:25 pm


]]>
2006-02-02T12:44:41+13:00 2006-02-02T12:44:41+13:00 http://steveshipway.org/forum/viewtopic.php?t=801&p=5941#p5941 <![CDATA[RE:]]> 2006-02-01 01:16:59 -- Use of uninitialized value in pattern match (m//) at c:/mrtg/mrtg/bin\..\lib\mrtg2/MRTG_lib.pm line 491

in a couple hours; c:\mrtg\mrtg.log 1meg +

Modified;
c:\mrtg\mrtg\lib\mrtg2\MRTG_lib.pm
-- from
( defined $$cfg{'nospacechar'} && $post{$first} =~ /(.*)\Q$$cfg{nospacechar}\E$/ ) ? $1 : "
-- to
to ( defined $$cfg{'nospacechar'} && $post{$first} =~ \\(.*)\Q$$cfg{nospacechar}\E$/ ) ? $1 : "

Been monitoring about 20 min. or so mrtg.log still 0kb.

Any thoughts, what is going on?

Thanks,
DDemirchi

Statistics: Posted by ddemirchi — Thu Feb 02, 2006 12:44 pm


]]>
2006-02-02T09:15:17+13:00 2006-02-02T09:15:17+13:00 http://steveshipway.org/forum/viewtopic.php?t=801&p=5939#p5939 <![CDATA[Error: WorkDir not specified in mrtg config]]>
Has anybody seen this message?
This is from mrtg.log c:\mrtg\mrtg.log

2006-02-01 01:16:59 -- Use of uninitialized value in pattern match (m//) at c:/mrtg/mrtg/bin\..\lib\mrtg2/MRTG_lib.pm line 491.
2006-02-01 01:16:59 -- ERROR: "WorkDir" not specified in mrtg config file

-----------------
Resolved some of the error by changing:
- workdir: c:\mrtg/wwwroot to
- workdir: c://mrtg//wwwroot under shellscript.sh

Now, I am only receiving the following error;
c:\mrtg\mrtg.log ; repeating everything when script update the devices
Error: "WorkDir" not specified in mrtg config file

System Information:
Dell 280 with 1g mem
tried on windows; 2K, XP and 2003 standard server
without IIS
rest, generic stuff;

Any suggestions how to resolve the error message?

Thanks,

DDemirchi

Statistics: Posted by ddemirchi — Thu Feb 02, 2006 9:15 am


]]>