Google  
   
     
  Main  
 
Browsing this Thread:   1 Anonymous Users



« 1 2 3 (4)


Re: HOWTO Install Doc Update
Just popping in
Joined:
2006/9/13 3:29
From Malaysia
Group:
Registered Users
Posts: 18
Offline
can i have ur MSN account? By the way the *.cfg file is only at /usr/local/bartlby/etc/bartlby.cfg

[ bartlby-ui]# locate bartlby.cfg
/usr/local/bartlby/etc/bartlby.cfg
/usr/local/src/bartlby-1.2.2/bartlby-agent/bartlby.cfg.in
/usr/local/src/bartlby-1.2.2/bartlby-core/bartlby.cfg
/usr/local/src/bartlby-1.2.2/bartlby-core/bartlby.cfg.in

as you can see what i mean....now i'm restarting the server

by the way how to check my apache is running chroot-jail

after restarting i check the webpage and found all is ok except the CRITICAL thing...

i check the bartlby-startup and it show this

[ ~]# /usr/local/bartlby/etc/bartlby.startup status
PID file: [exists ]
Cannot find SHM segment, remove the pid file and starup bartlby again
>>>>>>>> Found a pid file and a shm segment
>>>>>>>> but the processs doesnt look to run
>>>>>>>> Remove pidfile and './bartlby.startup remove'

i thing it's already started...

whoops....my mistake....all is ok...thanks to you =D. See the picture...

Attach file:



jpg  one_1_success.JPG (72.03 KB)
25_45195ad556d92.jpg 1028X742 px

jpg  two_2_success.JPG (61.27 KB)
25_45195ae207de4.jpg 1028X742 px

Posted on: 2006/9/26 18:26

Edited by Anak Emak on 2006/9/26 18:42:19
Edited by Anak Emak on 2006/9/26 18:52:56
Create PDF from Post Print


Re: HOWTO Install Doc Update
Just popping in
Joined:
2006/9/13 3:29
From Malaysia
Group:
Registered Users
Posts: 18
Offline
so in order for me to monitor other server with different os, i need to install the agent to each server rite? Is there any possibilities that i can just monitor them using snmp...

Posted on: 2006/9/26 18:55
Create PDF from Post Print


Re: HOWTO Install Doc Update
Root
Joined:
1970/1/1 1:00
From Vienna, Austria
Group:
Webmasters
Registered Users
Posts: 83
Offline
my msn is:



yeah thats right ;)

currently linux is tested
windows is in somewhat like "alpha" ;) because i am not the best w32 coder ;) and dont have any windows servers

at my company we monitor our few windows servers with an agent on a linux doing snmp stuff ;)




also please note that if you use diffrent ARCH like i386 and amd64 you have to compile the bartlby-agent on the given arch

Posted on: 2006/9/26 19:33
Create PDF from Post Print


Re: HOWTO Install Doc Update
Just popping in
Joined:
2006/9/13 3:29
From Malaysia
Group:
Registered Users
Posts: 18
Offline
a problem occur....

[ etc]# bartlby.startup stop
stopping bartlby
PIDFILE /usr/local/bartlby/var/bartlby.pid does not exists
[ etc]# bartlby.startup start
starting bartlby
/usr/local/bartlby/var/log/bartlby.2006.10.01: Permission denied

any solution...well still using the old version....haven't start installing the new release...

Posted on: 2006/10/1 14:31
Create PDF from Post Print


Re: HOWTO Install Doc Update
Root
Joined:
1970/1/1 1:00
From Vienna, Austria
Group:
Webmasters
Registered Users
Posts: 83
Offline
how have you started bartlby?
via init.d or just with bartlby.startup?




you have to "chown" the logfile to the user wich you specified in "bartlby.cfg"


or you set the variable "user" in bartlby.cfg to "root"

Posted on: 2006/10/1 14:56
Create PDF from Post Print


Re: HOWTO Install Doc Update
Just popping in
Joined:
2006/9/13 3:29
From Malaysia
Group:
Registered Users
Posts: 18
Offline
[ etc]# ll
total 16
-rwxrwxrwx 1 bartlby root 906 Oct 1 20:36 bartlby.cfg
-rwxrwxrwx 1 bartlby root 3211 Sep 13 10:26 bartlby.startup
[ etc]#

is it correct

here's wt inside log folder

[ log]# ll
total 116
-rw-rw-rw- 1 bartlby bartlby 1488 Sep 13 16:00 bartlby.2006.09.13
-rw-rw-rw- 1 bartlby bartlby 5273 Sep 26 23:44 bartlby.2006.09.26
-rw-rw-r-- 1 bartlby bartlby 21228 Sep 27 23:49 bartlby.2006.09.27
-rw-rw-rw- 1 bartlby bartlby 8761 Sep 28 09:45 bartlby.2006.09.28
-rw-r--r-- 1 apache apache 77 Sep 30 18:21 bartlby.2006.09.30
-rw-r--r-- 1 apache apache 77 Oct 1 03:00 bartlby.2006.10.01
-rwxrwxrwx 1 bartlby root 47496 Sep 13 10:26 config.log

Posted on: 2006/10/1 19:50
Create PDF from Post Print


Re: HOWTO Install Doc Update
Root
Joined:
1970/1/1 1:00
From Vienna, Austria
Group:
Webmasters
Registered Users
Posts: 83
Offline
ohhh i see a few logfiles are owned by the apache user

this happens if after 00:00 the first log message is written by the apache user then the logfile is created and therefore owned by apache user



a solution would be, changing the "user" variable in bartlby.cfg to "apache" and after that do some chown


chown -R apache.apache /usr/local/bartlby/


or if you dont' mind about permissions you just can set "user" to "root" ;)

Posted on: 2006/10/1 20:02
Create PDF from Post Print


Re: HOWTO Install Doc Update
Root
Joined:
1970/1/1 1:00
From Vienna, Austria
Group:
Webmasters
Registered Users
Posts: 83
Offline
and as a note ;) this bug should be fixed/worked around in current release

the ui-now chmods the logfile to a+rw if it creates the file

Posted on: 2006/10/1 20:14
Create PDF from Post Print



« 1 2 3 (4)




 
     
Login
Username:

Password:


Lost Password?

Register now!
Search
Help!



SourceForge.net Logo

Support This Project