WAS not processing request hence web are not available - apache

I'm new to supporting WAS (Websphere Application Server), currently I'm having issue with my WAS, my WAS was installed under AIX under 2 servers/nodes.
While investigating it, I found in our application log that there are some activity which is "Performing Cache Maintenance":
===================================
2017-01-14 01:31:52,619: [Cache Maintenance] com.ibm.srm.util.db.ServerCache refreshed 2017-01-14 01:31:53,314: [Cache Maintenance] Memory: available=[6884mb] used=[9500mb] %used avail=[58%] max=[16384mb] %used max=[58%] total=[16384mb] free=[6884mb] used by doMaintenance=[-251,201,3 92bytes] Time=[22,818ms] 2017-01-14 01:51:53,325: -------- Performing Cache Maintenance -------- 2017-01-14 01:51:53,325: null : QN=319 Select * from perform.cache_timestamps where row_class_name not like '%Cache' and row_class_name not like '%(SRM 6.0)' 2017-01-14 01:51:53,333: Returning 19 data records, QN=319,2 columns, Time: 8ms conn/query time: 5ms
2017-01-14 01:51:53,333: [Cache Maintenance] Memory: available=[5492mb] used=[10892mb] %used avail=[66%] max=[16384mb] %used max=[66%] total=[16384mb] free=[5492mb] used by doMaintenance=[532kb] Time=[8ms]
===================================
After this activity triggered, I found that mpmstats value for 'bsy' are keep increasing until reach MaxClient maximum value which is '4000':
===================================
[Sat Jan 14 01:38:58 2017] [notice] mpmstats: rdy 166 bsy 234 rd 0 wr 234 ka 0 log 0 dns 0 cls 0 [Sat Jan 14 01:38:58 2017] [notice] mpmstats: bsy: 234 in mod_was_ap22_http.c [Sat Jan 14 01:48:58 2017] [notice] mpmstats: rdy 195 bsy 505 rd 0 wr 505 ka 0 log 0 dns 0 cls 0 [Sat Jan 14 01:48:58 2017] [notice] mpmstats: bsy: 505 in mod_was_ap22_http.c [Sat Jan 14 01:58:58 2017] [notice] mpmstats: rdy 180 bsy 720 rd 0 wr 720 ka 0 log 0 dns 0 cls 0 [Sat Jan 14 01:58:58 2017] [notice] mpmstats: bsy: 720 in mod_was_ap22_http.c [Sat Jan 14 02:08:59 2017] [notice] mpmstats: rdy 105 bsy 895 rd 1 wr 894 ka 0 log 0 dns 0 cls 0 [Sat Jan 14 02:08:59 2017] [notice] mpmstats: bsy: 894 in mod_was_ap22_http.c [Sat Jan 14 02:18:59 2017] [notice] mpmstats: rdy 112 bsy 1088 rd 1 wr 1087 ka 0 log 0 dns 0 cls 0 [Sat Jan 14 02:18:59 2017] [notice] mpmstats: bsy: 1087 in mod_was_ap22_http.c
[Sat Jan 14 02:28:59 2017] [notice] mpmstats: rdy 158 bsy 1242 rd 1 wr 1241 ka 0 log 0 dns 0 cls 0
----
[Sat Jan 14 04:55:34 2017] [notice] mpmstats: rdy 0 bsy 4000 rd 0 wr 4000 ka 0 log 0 dns 0 cls 0 [Sat Jan 14 04:55:34 2017] [notice] mpmstats: bsy: 4000 in mod_was_ap22_http.c [Sat Jan 14 04:57:04 2017] [notice] mpmstats: reached MaxClients (4000/4000) [Sat Jan 14 04:57:04 2017] [notice] mpmstats: rdy 0 bsy 4000 rd 0 wr 4000 ka 0 log 0 dns 0 cls 0 [Sat Jan 14 04:57:04 2017] [notice] mpmstats: bsy: 4000 in mod_was_ap22_http.c [Sat Jan 14 04:58:34 2017] [notice] mpmstats: reached MaxClients (4000/4000) [Sat Jan 14 04:58:34 2017] [notice] mpmstats: rdy 0 bsy 4000 rd 0 wr 4000 ka 0 log 0 dns 0 cls 0
[Sat Jan 14 04:58:34 2017] [notice] mpmstats: bsy: 4000 in mod_was_ap22_http.c
===================================
It seem WAS are not processing the client request until it reached the Maximum value.
The questions are:
Is there any log that I can check about why WAS are not processing the Client request until it reached to the max value?
Does the "Cache Maintenance" activity hold WAS from processing the Client request? Because as mentioned from our developer this activity should not lead to this issue.
What is the procedure that I can take to identify/resolve this issue?
Appreciate if can help me for this thing as this issue already occurred for a long time but still not resolve.

Related

how to wite the date fuctionality for below output

I want the output like this for whole year:
Jan 01 - Jan 14 - 2021
Jan 15 - Jan 28 - 2021
Jan 29 - Feb 11 - 2021
Feb 12 - Feb 25 - 2021
Feb 26 - Mar 11 - 2021
Mar 12 - Mar 25 - 2021
Mar 26 - Apr 08 - 2021
Apr 09 - Apr 22 - 2021
Apr 22 - May 06 - 2021
May 07 - May 20 - 2021
May 21 - Jun 03 - 2021
Jun 04 - Jun 17 - 2021
Jun 18 - Jul 01 - 2021
Jul 02 - Jul 15 - 2021
Jul 16 - Jul 29 - 2021
Jul 30 - Aug 12 - 2021
Aug 13 - Aug 26 - 2021
Aug 27 - Sep 09 - 2021
Sep 10 - Sep 23 - 2021
Sep 24 - Oct 07 - 2021
Oct 08 - Oct 21 - 2021
Oct 22 - Nov 04 - 2021
Nov 05 - Nov 18 - 2021
Dec 19 - Dec 02 - 2021
Dec 03 - Dec 16 - 2021
Dec 17 - Dec 30 - 2021
One option uses generate_series():
select d.dt dt_start, d.dt + '13 days'::interval dt_end
from generate_series(
date_trunc('year', current_date),
date_trunc('year', current_date) + '1 year'::interval - '13 days'::interval,
'14 days'::interval
) d(dt)
order by dt_start
SELECT to_char(d, 'Mon DD - ')
|| to_char(d + INTERVAL '13 days', 'Mon DD - YYYY')
FROM generate_series(
TIMESTAMP '2021-01-01',
TIMESTAMP '2021-12-17',
INTERVAL '14 days'
) AS d;
?column?
------------------------
Jan 01 - Jan 14 - 2021
Jan 15 - Jan 28 - 2021
Jan 29 - Feb 11 - 2021
Feb 12 - Feb 25 - 2021
Feb 26 - Mar 11 - 2021
Mar 12 - Mar 25 - 2021
Mar 26 - Apr 08 - 2021
Apr 09 - Apr 22 - 2021
Apr 23 - May 06 - 2021
May 07 - May 20 - 2021
May 21 - Jun 03 - 2021
Jun 04 - Jun 17 - 2021
Jun 18 - Jul 01 - 2021
Jul 02 - Jul 15 - 2021
Jul 16 - Jul 29 - 2021
Jul 30 - Aug 12 - 2021
Aug 13 - Aug 26 - 2021
Aug 27 - Sep 09 - 2021
Sep 10 - Sep 23 - 2021
Sep 24 - Oct 07 - 2021
Oct 08 - Oct 21 - 2021
Oct 22 - Nov 04 - 2021
Nov 05 - Nov 18 - 2021
Nov 19 - Dec 02 - 2021
Dec 03 - Dec 16 - 2021
Dec 17 - Dec 30 - 2021
(26 rows)

Syslog-ng truncates lines when writing to output log

OS: SLes 11 sp4
syslog-ng: syslog-ng-2.0.9-27.34.39.2
Hi,
syslog-ng is configured to read from a application log file and then send it to another file in /var/log (tcpdump is not installed, I cant install it on a blackbox so this is how I test my config)
I have the following in my syslog-ng configuration file:
source ESRS {
file("/opt/esrsve/gateway/xGate.log");
};
destination esrsfile{ file("/var/log/max.log" );};
log { source(ESRS);
destination(esrsfile);
};
The problem I am seeing is that when syslog writes to the outputfile (esrsfile) it truncatedthe lines.
ex: Source File :
[ 0, 6, 1, 1007] 08-29-2016 13:56:28.703 IMPORTANT INFO EDDEMC: Data Item::PMStatus Current Value::Offline
And the destination file looiks like this:
...
...
Aug 29 14:00:02 hostname C
Aug 29 14:00:02 hostname u
Aug 29 14:00:02 hostname r
Aug 29 14:00:02 hostname r
Aug 29 14:00:02 hostname e
Aug 29 14:00:02 hostname n
Aug 29 14:00:02 hostname t
Aug 29 14:00:02 hostname
Aug 29 14:00:02 hostname V
Aug 29 14:00:02 hostname a
Aug 29 14:00:02 hostname l
Aug 29 14:00:02 hostname u
Aug 29 14:00:02 hostname e
Aug 29 14:00:02 hostname :
Aug 29 14:00:02 hostname :
Aug 29 14:00:02 hostname O
Aug 29 14:00:02 hostname f
Aug 29 14:00:02 hostname f
Aug 29 14:00:02 hostname l
Aug 29 14:00:02 hostname i
Aug 29 14:00:02 hostname n
Aug 29 14:00:02 hostname e
...
...
What is wrong here please?
When you look closely, the lines are not truncated, but one log entry spreads over multiple lines, character by character. It happens usually, when the log writer flushes after writing every single character.
Make sure the writer buffers lines and sends them as one single message.

Trigger.io on iOS 7 hangs at launch image

I just updated my trigger.io app to use the latest stable platform version (v2.0.1) so that it would hopefully work well on iOS 7. Unfortunately now it hangs on the launch image. The error I get on the iPhone console is below. Any ideas on how to get this working?
Oct 1 19:52:42 Strax mobile_installation_proxy[235] <Warning>: LaunchServices: Please include the kCFBundleIdentifierKey in the options dictionary when installing an app.
Oct 1 19:52:42 Strax mobile_installation_proxy[235] <Warning>: LaunchServices: installing app for existing placeholder (null)
Oct 1 19:52:42 Strax installd[62] <Notice>: 0x25d000 handle_install_for_ls: Install of "/var/mobile/Media/PublicStaging/device-ios.app" requested by mobile_installation_proxy
Oct 1 19:52:42 Strax installd[62] <Notice>: 0x25d000 MobileInstallationInstall_Server: Installing app com.redacted.redacted
Oct 1 19:52:43 Strax securityd[79] <Error>: OCSPResponse: now > latestNextUpdate
Oct 1 19:52:43 Strax SpringBoard[33] <Warning>: Killing com.redacted.redacted for termination assertion
Oct 1 19:52:43 Strax installd[62] <Notice>: 0x25d000 install_application: Performing developer delta patch
Oct 1 19:52:43 Strax com.apple.launchd[1] (UIKitApplication:com.redacted.redacted[0x9168][331]) <Notice>: (UIKitApplication:com.redacted.redacted[0x9168]) Exited: Killed: 9
Oct 1 19:52:43 Strax backboardd[28] <Warning>: Application 'UIKitApplication:com.redacted.redacted[0x9168]' exited abnormally with signal 9: Killed: 9
Oct 1 19:52:43 Strax installd[62] <Notice>: 0x25d000 MobileInstallationInstall_Server: Staging: 0.05s; Waiting: 0.00s; Installation: 0.53s; LS Sync: 0.00s; Overall: 0.58s
Oct 1 19:52:43 Strax lsd[75] <Warning>: LaunchServices: Updating identifier store
Oct 1 19:52:43 Strax SpringBoard[33] <Error>: libMobileGestalt MobileGestalt.c:835: nike-ipod is static and will never generate a notification
Oct 1 19:52:43 Strax SpringBoard[33] <Error>: libMobileGestalt MobileGestalt.c:835: still-camera is static and will never generate a notification
Oct 1 19:52:43 Strax SpringBoard[33] <Error>: libMobileGestalt MobileGestalt.c:835: magnetometer is static and will never generate a notification
Oct 1 19:52:43 Strax SpringBoard[33] <Error>: libMobileGestalt MobileGestalt.c:835: any-telephony is static and will never generate a notification
Oct 1 19:52:43 Strax SpringBoard[33] <Error>: libMobileGestalt MobileGestalt.c:835: stand-alone-contacts is static and will never generate a notification
Oct 1 19:52:51 Strax MobileStorageMounter[350] <Error>: 0x3d85e18c digest_disk_image: Could not open /var/run/mobile_image_mounter/3zeNth.dmg: No such file or directory
Oct 1 19:52:51 Strax MobileStorageMounter[350] <Error>: 0x3d85e18c reload_mount_map: /Developer - could not create digest
Oct 1 19:52:51 Strax mobile_storage_proxy[349] <Error>: 0x3d85e18c handle_lookup_image: Entry 2 of 4 did not have a digest
Oct 1 19:52:51 Strax MobileStorageMounter[350] <Error>: 0x3d85e18c handle_mount_disk_image: A disk image of type Developer is already mounted
Oct 1 19:52:51 Strax mobile_storage_proxy[349] <Error>: MobileStorageMount:355 Could not extract mount path from response message
Oct 1 19:52:51 Strax mobile_storage_proxy[349] <Error>: 0x3d85e18c handle_mount_image: Could not mount the disk image
Oct 1 19:52:51 Strax mobile_storage_proxy[349] <Error>: 0x3d85e18c main: Could not mount the image
Oct 1 19:52:51 Strax com.apple.debugserver-300.2[351] <Warning>: debugserver-300.2 for armv7.
Oct 1 19:52:51 Strax com.apple.debugserver-300.2[351] <Warning>: Connecting to com.apple.debugserver service...
Oct 1 19:52:51 Strax com.apple.debugserver-300.2[351] <Warning>: Got a connection, waiting for process information for launching or attaching.
Oct 1 19:52:54 Strax assistantd[352] <Notice>: connection 4 total: 1, connected: 0, added new subflow [cid=1, state=Waiting, ifindex=7]
Oct 1 19:52:54 Strax awdd[353] <Error>: CoreLocation: CLClient is deprecated. Will be obsolete soon.
Oct 1 19:52:54 Strax assistantd[352] <Notice>: connection 4 total: 1, connected: 1, new connected subflow [cid=1, state=Connected, ifindex=7, preferred, mp_capable]
Oct 1 19:52:54 Strax assistantd[352] <Notice>: connection 4 total: 2, connected: 1, added new subflow [cid=2, state=Waiting, ifindex=2]
Oct 1 19:52:54 Strax securityd[79] <Error>: OCSPResponse: now > latestNextUpdate
Oct 1 19:52:54 Strax securityd[79] <Error>: OCSPResponse: now > latestNextUpdate
Oct 1 19:52:55 Strax securityd[79] <Error>: OCSPResponse: now + maxAge > latestNextUpdate, using latestNextUpdate
Oct 1 19:52:55 Strax com.apple.debugserver-300.2[351] <Warning>: About to launch process for bundle ID: com.redacted.redacted
Oct 1 19:52:55 Strax securityd[79] <Error>: OCSPResponse: now > latestNextUpdate
Oct 1 19:52:55 Strax kernel[0] <Debug>: launchd[354] Container: /private/var/mobile/Applications/1150A554-1046-4DB4-BA37-AC55DA01DED5 (sandbox)
Oct 1 19:52:55 Strax com.apple.debugserver-300.2[351] <Warning>: In completion handler, got pid for bundle id, pid: 354.
Oct 1 19:52:55 Strax com.apple.debugserver-300.2[351] <Warning>: Got a connection, launched process /Developer/usr/bin/debugserver.
Oct 1 19:53:03 Strax Forge[354] <Warning>: [INFO] New app version, removing any reload update files.
Oct 1 19:53:03 Strax kernel[0] <Debug>: 004804.545582 wlan.A[652] AppleBCMWLANNetManager::checkRealTimeTraffic(): now 4804.545565708 num entries 4
Oct 1 19:53:03 Strax kernel[0] <Debug>: 004804.545628 wlan.A[653] AppleBCMWLANCore::dumpWmeCounters(): per TIDs tx counters: 16180 12261 0 0 0 6379 234 0, per TIDs rx counters: 50102 0 0 0 0 0 76 0
Oct 1 19:53:03 Strax kernel[0] <Debug>: 004804.545668 wlan.A[654] AppleBCMWLANCore::dumpWmeCounters(): AWDL: Tx 0 0 0 0 0 0 0 0, Rx: 0 0 0 0 0 0 0 0
Oct 1 19:53:03 Strax Forge[354] <Warning>: [INFO] Checking for reload update
Oct 1 19:53:04 Strax Forge[354] <Warning>: [INFO] creating link from /var/mobile/Applications/1150A554-1046-4DB4-BA37-AC55DA01DED5/Library/Application Support/Forge/assets-D653E065-1D29-4DCD-9D75-1E5A5B798680/forge to ../../../../device-ios.app/assets/forge
Oct 1 19:53:04 Strax Forge[354] <Warning>: [INFO] creating link from /var/mobile/Applications/1150A554-1046-4DB4-BA37-AC55DA01DED5/Library/Application Support/Forge/assets-D653E065-1D29-4DCD-9D75-1E5A5B798680/src to ../../../../device-ios.app/assets/src
Oct 1 19:53:04 Strax Forge[354] <Warning>: [INFO] Loading default page in webview.
Oct 1 19:53:04 Strax Forge[354] <Warning>: [INFO] No reload update available.
Oct 1 19:53:04 Strax Forge[354] <Warning>: [INFO] Loading local url in webview: file:///var/mobile/Applications/1150A554-1046-4DB4-BA37-AC55DA01DED5/Library/Application%20Support/Forge/assets-D653E065-1D29-4DCD-9D75-1E5A5B798680/src/index.html
Oct 1 19:53:05 Strax Forge[354] <Warning>: [INFO] Registering for parse push notifications, subscribing to default channel.
Oct 1 19:53:05 Strax Forge[354] <Warning>: [DEBUG] Returning to javascript: {
event = "internal.connectionStateChange";
params = {
connected = 1;
wifi = 1;
};
}
Oct 1 19:53:11 Strax lockdownd[51] <Notice>: 002c1000 _select_socket: receive secure message timeout!
Oct 1 19:53:20 Strax cplogd[341] <Warning>: Exiting.

Cacti 0.8.8a / CentOS 6.4 / ERROR: opening '/usr/share/cacti/rra/*.rrd': No such file or directory

I've just installed Cacti 0.8.8a from EPEL repo of CentOS 6.4. Everything is fine except the graphs do not show up. I checked the log of httpd then I see:
ERROR: opening '/usr/share/cacti/rra/localhost_mem_buffers_3.rrd': No such file or directory
ERROR: opening '/usr/share/cacti/rra/localhost_proc_7.rrd': No such file or directory
ERROR: opening '/usr/share/cacti/rra/localhost_users_6.rrd': No such file or directory
ERROR: opening '/usr/share/cacti/rra/localhost_load_1min_5.rrd': No such file or directory
Seems like rrdtool did not generate those files.
This is in /usr/share/cacti
ls -ls /usr/share/cacti
total 872
8 -rw-r--r-- 1 root root 5945 Jun 28 2012 about.php
8 -rw-r--r-- 1 root root 5348 Jun 28 2012 auth_changepassword.php
16 -rw-r--r-- 1 root root 14288 Jun 28 2012 auth_login.php
24 -rw-r--r-- 1 root root 21658 Jun 28 2012 cdef.php
0 lrwxrwxrwx 1 root root 18 Jul 25 13:42 cli -> /var/lib/cacti/cli
28 -rwxr-xr-x 1 root root 26620 Jun 28 2012 cmd.php
8 -rw-r--r-- 1 root root 6974 Jun 28 2012 color.php
28 -rw-r--r-- 1 root root 25068 Jun 28 2012 data_input.php
36 -rw-r--r-- 1 root root 35505 Jun 28 2012 data_queries.php
60 -rw-r--r-- 1 root root 60117 Jun 28 2012 data_sources.php
36 -rw-r--r-- 1 root root 32920 Jun 28 2012 data_templates.php
8 -rw-r--r-- 1 root root 6107 Jun 28 2012 gprint_presets.php
4 -rw-r--r-- 1 root root 3657 Jun 28 2012 graph_image.php
16 -rw-r--r-- 1 root root 13469 Jun 28 2012 graph.php
12 -rw-r--r-- 1 root root 9208 Jun 28 2012 graph_settings.php
20 -rw-r--r-- 1 root root 17426 Jun 28 2012 graphs_items.php
40 -rw-r--r-- 1 root root 40166 Jun 28 2012 graphs_new.php
60 -rw-r--r-- 1 root root 60571 Jun 28 2012 graphs.php
12 -rw-r--r-- 1 root root 10006 Jun 28 2012 graph_templates_inputs.php
20 -rw-r--r-- 1 root root 18542 Jun 28 2012 graph_templates_items.php
28 -rw-r--r-- 1 root root 26703 Jun 28 2012 graph_templates.php
40 -rw-r--r-- 1 root root 40313 Jun 28 2012 graph_view.php
8 -rw-r--r-- 1 root root 6022 Jun 28 2012 graph_xport.php
60 -rw-r--r-- 1 root root 60031 Jun 28 2012 host.php
20 -rw-r--r-- 1 root root 20031 Jun 28 2012 host_templates.php
4 drwxr-xr-x 2 root root 4096 Jul 25 13:42 images
4 drwxr-xr-x 4 cacti root 4096 Jul 25 13:50 include
4 -rw-r--r-- 1 root root 2313 Jun 28 2012 index.php
4 drwxr-xr-x 2 root root 4096 Jul 25 13:42 install
4 drwxr-xr-x 3 root root 4096 Jul 25 13:42 lib
0 lrwxrwxrwx 1 root root 15 Jul 25 13:42 log -> /var/log/cacti/
4 -rw-r--r-- 1 root root 2838 Jun 28 2012 logout.php
4 drwxr-xr-x 2 root root 4096 Jul 25 13:42 plugins
28 -rw-r--r-- 1 root root 27362 Jun 28 2012 plugins.php
8 -rw-r--r-- 1 root root 4310 Jun 28 2012 poller_commands.php
4 -rw-r--r-- 1 root root 2243 Jun 28 2012 poller_export.php
20 -rwxr-xr-x 1 root root 18056 Jun 28 2012 poller.php
4 drwxr-xr-x 5 root root 4096 Jul 25 13:42 resource
**0 lrwxrwxrwx 1 cacti cacti 18 Jul 25 13:42 rra -> /var/lib/cacti/rra**
8 -rw-r--r-- 1 root root 7394 Jun 28 2012 rra.php
0 lrwxrwxrwx 1 root root 22 Jul 25 13:42 scripts -> /var/lib/cacti/scripts
12 -rw-r--r-- 1 root root 10820 Jun 28 2012 script_server.php
8 -rw-r--r-- 1 root root 5761 Jun 28 2012 settings.php
4 -rw-r--r-- 1 root root 1407 Jun 3 2012 snmpv3_priv_proto_none.patch
8 -rw-r--r-- 1 root root 6345 Jun 28 2012 templates_export.php
8 -rw-r--r-- 1 root root 5835 Jun 28 2012 templates_import.php
20 -rw-r--r-- 1 root root 19529 Jun 28 2012 tree.php
44 -rw-r--r-- 1 root root 44997 Jun 28 2012 user_admin.php
68 -rw-r--r-- 1 root root 65635 Jun 28 2012 utilities.php
I also changed the owner of rra folder to cacti user like this:
ls -ls /var/lib/cacti/
total 12
4 drwxr-xr-x 2 root root 4096 Jul 25 13:42 cli
0 lrwxrwxrwx 1 root root 24 Jul 25 13:42 include -> /usr/share/cacti/include
0 lrwxrwxrwx 1 cacti root 20 Jul 25 13:42 lib -> /usr/share/cacti/lib
**4 drwxr-xr-x 2 cacti cacti 4096 Jun 28 2012 rra**
4 drwxr-xr-x 2 root root 4096 Jul 25 13:42 scripts
What should I do next?
Thanks a lot!
What worked for me was to go into System Utilities (bottom of console) and click on Rebuild Poller Cache.
The most common case of a missing RRD file in Cacti is a data source problem.
This probably means that the Cacti poller could not retrieve data from the host.
Check the status of the device in the device list, if it's "Unknown" and if you didn't fiddle around with the availability detection, it means that Cacti is unable to get an SNMP reply from the host. This could have different reasons:
Check SNMP connectivity between the Cacti host and the polled host (in your case, since both sides are the Cacti host, make sure snmpd is running and listening on the same port Cacti is trying to reach it (default 161).
Check the community string on both ends
if DNS is used make sure resolving is possible and successful on the Cacti host (less relevant for localhost, but still a good idea imho).
Check the datasource using debug mode to get some extra info (Devices ›› Localhost ›› Data Source List ›› Localhost - Logged in Users ›› Turn On Data Source Debug Mode) and also try to poll the host using snmpget or snmpwalk:
snmpget -cCOMMUNITY -vVERSION HOSTNAME OID
I usually use snmpwalk which uses the same syntax:
snmpwalk -cpublic -v2c localhost 1.3.6.1.2.1
1.3.6.1.2.1 is for MIB-2
Further debugging help: Great guide by gandalf from the Cacti forums
Cacti forums, where you can try and post your question there.
Good luck!
Check your permissions. I had the same issue when I stood up a cacti instance on Debian. Everything was displaying correctly except for the graphs, and I had the same "No such file or directory" errors. Changing the ownership of the rra directory to cacti:www-data resolved the issue for me.
Good luck.

axis2c_http_server can't find axis2.xml

I am trying to use Axis2/c on OS X but when I launch axis2c_http_server, I get the following errors:
[Fri Mar 16 12:26:19 2012] [info] Starting Axis2 HTTP server....
[Fri Mar 16 12:26:19 2012] [info] Apache Axis2/C version in use : 1.6.0
[Fri Mar 16 12:26:19 2012] [info] Server port : 9090
[Fri Mar 16 12:26:19 2012] [info] Repo location : ../
[Fri Mar 16 12:26:19 2012] [info] Read Timeout : 60000 ms
[Fri Mar 16 12:26:19 2012] [error] dep_engine.c(324) Axis2 Configuration file name not found
[Fri Mar 16 12:26:19 2012] [error] conf_init.c(56) Creating deployment engine failed for repository ../
[Fri Mar 16 12:26:19 2012] [error] http_receiver.c(126) unable to create private configuration contextfor repo path ../
[Fri Mar 16 12:26:19 2012] [error] http_server_main.c(215) Server creation failed: Error code: 18 :: Configuration file cannot be found
It seems the server cannot locate the file axis2.xml.
I have put axis2.xml in the repo's root. I have correctly set the environment variable $AXIS2C_HOME because the server write the logs in the right folder.
Here is my repo's structure:
antoine#Antoines-MacBook-Air:repo $ pwd
/Users/antoine/Documents/axis2c_test/repo
antoine#Antoines-MacBook-Air:repo $ ll -R
total 16
-rw-r--r--# 1 antoine staff 5.8K Mar 16 10:06 axis2.xml
drwxr-xr-x 53 antoine staff 1.8K Mar 16 10:06 lib
drwxr-xr-x 4 antoine staff 136B Mar 16 12:26 logs
drwxr-xr-x 4 antoine staff 136B Mar 16 11:14 services
./lib:
total 25816
-rwxr-xr-x 1 antoine staff 246K Mar 16 10:06 libaxis2_axiom.0.6.0.dylib
-rwxr-xr-x 1 antoine staff 246K Mar 16 10:06 libaxis2_axiom.0.dylib
-rw-r--r-- 1 antoine staff 1.3M Mar 16 10:06 libaxis2_axiom.a
-rwxr-xr-x 1 antoine staff 246K Mar 16 10:06 libaxis2_axiom.dylib
-rwxr-xr-x 1 antoine staff 1.0K Mar 16 10:06 libaxis2_axiom.la
-rwxr-xr-x 1 antoine staff 576K Mar 16 10:06 libaxis2_engine.0.6.0.dylib
-rwxr-xr-x 1 antoine staff 576K Mar 16 10:06 libaxis2_engine.0.dylib
-rw-r--r-- 1 antoine staff 2.6M Mar 16 10:06 libaxis2_engine.a
-rwxr-xr-x 1 antoine staff 576K Mar 16 10:06 libaxis2_engine.dylib
-rwxr-xr-x 1 antoine staff 1.1K Mar 16 10:06 libaxis2_engine.la
-rwxr-xr-x 1 antoine staff 120K Mar 16 10:06 libaxis2_http_common.0.6.0.dylib
-rwxr-xr-x 1 antoine staff 120K Mar 16 10:06 libaxis2_http_common.0.dylib
-rw-r--r-- 1 antoine staff 484K Mar 16 10:06 libaxis2_http_common.a
-rwxr-xr-x 1 antoine staff 120K Mar 16 10:06 libaxis2_http_common.dylib
-rwxr-xr-x 1 antoine staff 1.1K Mar 16 10:06 libaxis2_http_common.la
-rwxr-xr-x 1 antoine staff 20K Mar 16 10:06 libaxis2_http_receiver.0.6.0.dylib
-rwxr-xr-x 1 antoine staff 20K Mar 16 10:06 libaxis2_http_receiver.0.dylib
-rw-r--r-- 1 antoine staff 57K Mar 16 10:06 libaxis2_http_receiver.a
-rwxr-xr-x 1 antoine staff 20K Mar 16 10:06 libaxis2_http_receiver.dylib
-rwxr-xr-x 1 antoine staff 1.2K Mar 16 10:06 libaxis2_http_receiver.la
-rwxr-xr-x 1 antoine staff 112K Mar 16 10:06 libaxis2_http_sender.0.6.0.dylib
-rwxr-xr-x 1 antoine staff 112K Mar 16 10:06 libaxis2_http_sender.0.dylib
-rw-r--r-- 1 antoine staff 355K Mar 16 10:06 libaxis2_http_sender.a
-rwxr-xr-x 1 antoine staff 112K Mar 16 10:06 libaxis2_http_sender.dylib
-rwxr-xr-x 1 antoine staff 1.2K Mar 16 10:06 libaxis2_http_sender.la
-rwxr-xr-x 1 antoine staff 49K Mar 16 10:06 libaxis2_parser.0.6.0.dylib
-rwxr-xr-x 1 antoine staff 49K Mar 16 10:06 libaxis2_parser.0.dylib
-rw-r--r-- 1 antoine staff 139K Mar 16 10:06 libaxis2_parser.a
-rwxr-xr-x 1 antoine staff 49K Mar 16 10:06 libaxis2_parser.dylib
-rwxr-xr-x 1 antoine staff 982B Mar 16 10:06 libaxis2_parser.la
-rwxr-xr-x 1 antoine staff 57K Mar 16 10:06 libaxis2_xpath.0.6.0.dylib
-rwxr-xr-x 1 antoine staff 57K Mar 16 10:06 libaxis2_xpath.0.dylib
-rw-r--r-- 1 antoine staff 190K Mar 16 10:06 libaxis2_xpath.a
-rwxr-xr-x 1 antoine staff 57K Mar 16 10:06 libaxis2_xpath.dylib
-rwxr-xr-x 1 antoine staff 902B Mar 16 10:06 libaxis2_xpath.la
-rwxr-xr-x 1 antoine staff 193K Mar 16 10:06 libaxutil.0.6.0.dylib
-rwxr-xr-x 1 antoine staff 193K Mar 16 10:06 libaxutil.0.dylib
-rw-r--r-- 1 antoine staff 982K Mar 16 10:06 libaxutil.a
-rwxr-xr-x 1 antoine staff 193K Mar 16 10:06 libaxutil.dylib
-rwxr-xr-x 1 antoine staff 867B Mar 16 10:06 libaxutil.la
-rwxr-xr-x 1 antoine staff 63K Mar 16 10:06 libguththila.0.6.0.dylib
-rwxr-xr-x 1 antoine staff 63K Mar 16 10:06 libguththila.0.dylib
-rw-r--r-- 1 antoine staff 191K Mar 16 10:06 libguththila.a
-rwxr-xr-x 1 antoine staff 63K Mar 16 10:06 libguththila.dylib
-rwxr-xr-x 1 antoine staff 923B Mar 16 10:06 libguththila.la
-rwxr-xr-x 1 antoine staff 229K Mar 16 10:06 libneethi.0.6.0.dylib
-rwxr-xr-x 1 antoine staff 229K Mar 16 10:06 libneethi.0.dylib
-rw-r--r-- 1 antoine staff 1.4M Mar 16 10:06 libneethi.a
-rwxr-xr-x 1 antoine staff 229K Mar 16 10:06 libneethi.dylib
-rwxr-xr-x 1 antoine staff 1.0K Mar 16 10:06 libneethi.la
drwxr-xr-x 3 antoine staff 102B Mar 16 10:06 pkgconfig
./lib/pkgconfig:
total 8
-rw-r--r-- 1 antoine staff 256B Mar 16 10:06 axis2c.pc
./logs:
total 24
-rw-r--r-- 1 antoine staff 12K Mar 16 12:26 axis2.log
./services:
total 32
-rwxr-xr-x 1 antoine staff 10K Mar 16 12:26 libhello.dylib
-rw-r--r-- 1 antoine staff 209B Mar 16 10:06 services.xml
Does someone see what I am doing wrong?
I am using the client side consumer only, but maybe the solution I have can help you.
In order to run the server you need to set AXIS2C_HOME environment variable to point to the AXIS2C installation.
For the client you don't need to, you just specifiy the location of the axis2.xml file when creating a new instance of axis2c_stub_t type (aka set the client_home parameter.)