Francis Yap Posted March 27, 2014 Share Posted March 27, 2014 What is this error? [root@~]# /etc/init.d/pcmonitor status pcmonitord (pid 23215) is running... [root@myomni ~]# /etc/init.d/pcmonitor status Message from syslogd@at Mar 27 06:19:39 ... * glibc detected *** /usr/sbin/pcmonitord: double free or corruption (fasttop): 0x00000000023c4a40 *** pcmonitord is stopped [root@~]# /etc/init.d/pcmonitor status pcmonitord is stopped [root@myomni ~]# uname -r 2.6.32-358.0.1.el6.x86_64 [root@myomni ~]# Link to comment Share on other sites More sharing options...
Staff Mark Posted March 27, 2014 Staff Share Posted March 27, 2014 Hi, Is this error persistent (you get it every time when start pcmonitor)? By any change, do you have core dump enabled on your machine? If yes, can you, please, check if a coredump was created. Thanks! Mark Link to comment Share on other sites More sharing options...
Francis Yap Posted March 27, 2014 Author Share Posted March 27, 2014 no "crash" directory found in /var not every time the error show but the service stop after few sec I start I found this message in /var/log/message Mar 27 06:16:21 xxxxx pcmonitor: Could not get existing notifications: SOAP 1.1 fault: SOAP-ENV:Server[no subcode]#012"System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> MM.Monitor.WebService.InvalidAccountException: Invalid username and/or password (295).#015#012 at MM.Monitor.WebService.ServerLite.GetCurrentNotificationsForComputer(String username, String password, String computerIdentifier)#015#012 --- End of inner exception stack trace ---"#012Detail: [no detail] Mar 27 06:16:23 xxxxx pcmonitor: Last error getting group policy SOAP 1.1 fault: SOAP-ENV:Server[no subcode]#012"System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> MM.Monitor.WebService.InvalidAccountException: Invalid username and/or password (295).#015#012 at MM.Monitor.WebService.ServerLite.GetGroupPolicyXml(String username, String password, String name)#015#012 --- End of inner exception stack trace ---"#012Detail: [no detail] Mar 27 06:16:25 xxxxx pcmonitor: Received request Stop monitoring service 'Invalid username and/or password (295).' Mar 27 06:18:00 xxxxx pcmonitor: Could not get server info SOAP 1.1 fault: SOAP-ENV:Server[no subcode]#012"System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> MM.Monitor.WebService.InvalidAccountException: Invalid username and/or password (295).#015#012 at MM.Monitor.WebService.ServerLite.GetServerInfoForAccount(String username, String password)#015#012 --- End of inner exception stack trace ---"#012Detail: [no detail] Link to comment Share on other sites More sharing options...
Administrators Paul Posted March 27, 2014 Administrators Share Posted March 27, 2014 Invalid username and/or password (295). Check your account details, maybe you made a typo. Link to comment Share on other sites More sharing options...
Francis Yap Posted March 28, 2014 Author Share Posted March 28, 2014 I copy the /etc/pcmonitor/sample.config.xml to /etc/pcmonitor/config.xml and edited only 2 field (red) username and password and it's correct username and password [root@xxxx ~]# cat /etc/pcmonitor/config.xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <config xmlns="http://www.pulseway.com/linuxconfig"> <!--Account Information--> <!--Username: <Real User Name>--> <!--Password: <Real Password>--> <!--UseCustomServer: Enable this option only if you have a dedicated Enterprise Server assigned to your account--> <!--CustomServerAddress: If you have used UseCustomServer="true" you must specify the server address of the Enterprise Server--> <Account Username="username" Password="password" UseCustomServer="false" CustomServerAddress="" /> <!--Computer Information--> <!--Name: the name you want this computer to be listed as (Default: Linux computer name)--> <!--Group: the name of the group you want this computer to be listed in (Default: "Default")--> <ComputerInformation Name="" Group="" /> <!--Allowed Commands--> <!--What commands are allowed on this computer--> <!--Possible nodes are Restart ,ShutDown, PowerOff, Suspend, Hibernate--> <!--For each node the following argument must be present: Allowed (Values: true or false)--> <AllowedCommands> <Restart Allowed="true" /> <ShutDown Allowed="true" /> <PowerOff Allowed="true" /> <Suspend Allowed="true" /> <Hibernate Allowed="true" /> </AllowedCommands> <!--Notifications--> <Notifications> <!--Send a notification when the computer is offline--> <!--Enabled: true or false--> <WhenOffline Enabled="false" /> <!--Send a notification when the computer comes online--> <!--Enabled: true or false--> <OnOnline Enabled="false" /> <!--Send a notification when the computer shuts down--> <!--Enabled: true or false--> <OnShutdown Enabled="false" /> <!--Send a notification when the computer's available memory is bellow a certain percentage--> <!--Percentage: the percentage (between 10 and 90)--> <!--Enabled: true or false--> <MemoryLow Percentage="10" Enabled="false" /> <!--Send a notification when the computer's cpu usage is greater than a percentage for n minutes--> <!--Percentage: the percentage (between 10 and 90)--> <!--Minutes: n -the number of minutes (between 1 and 120)--> <!--Enabled: true or false--> <HighCpuUsage Percentage="90" Minutes="1" Enabled="false" /> <!--Send a notification when the computer's cpu usage is less than a percentage for n minutes--> <!--Percentage: the percentage (between 10 and 90)--> <!--Minutes: n -the number of minutes (between 1 and 120)--> <!--Enabled: true or false--> <LowCpuUsage Percentage="10" Minutes="1" Enabled="false" /> <!--Send a notification when a port is closed for n minutes--> <!--Minutes: n -the number of minutes (between 1 and 120)--> <!--Enabled: true or false--> <PortClosed Minutes="1" Enabled="false" /> <!--Send a notification when the space is low on a hdd. You can add multiple hdds by adding multiple <Hdd .../> nodes--> <!--Percentage: the percentage (between 10 and 90)--> <!--Path: the mount path--> <!--Enabled: true or false--> <LowHDDSpace Enabled="false"> <Hdd Percentage="20" Path="/" Enabled="true" /> </LowHDDSpace> <!--Send a notification when the public IP has changed--> <!--Enabled: true or false--> <IpChange Enabled="true"/> <!--Ping Responses - allows the monitoring of network speed to various addresses--> <!--You can add multiple PingResponse nodes--> <!--Enabled: true or false. You can disable all ping response notifications notifications--> <PingResponses Enabled="false"> <!--Address: the ip or hostname you want pinged--> <!--Position: the order in which these rules are evaluated--> <!--Miliseconds: the value that defines a slow ping response--> <!--Minutes: for how many minutes should the condition stay activated before a notification is sent--> <!--PriorityOnSlowResponse: the priority for the slow response notification--> <!--PriorityOnNoResponse: the priority for the no response notification--> <!--Possible values for PriorityOnSlowResponse and PriorityOnNoResponse: 0=Critical, 1=Elevated, 2=Normal, 3=Low --> <PingResponse PriorityOnSlowResponse="1" PriorityOnNoResponse="0" Minutes="5" Miliseconds="50" Alias="Printer" Address="10.10.10.2" Position="1"/> </PingResponses> </Notifications> <!--Network--> <!--Network related configs--> <Network> <!--Ping--> <!--Monitor ping response time to a specific server--> <!--Server: the IP or hostname of the server--> <!--Enabled: true or false--> <Ping Server="" Enabled="false" /> <!--Monitored Ports--> <!--You can monitor if a port is closed or opened--> <!--You can monitor multiple ports by adding multiple <Port.../> tags--> <MonitoredPorts> <!--Type - port's type (TCP or UDP)--> <!--Number- port's number--> <!--Name- port's name --> <!--Name- port's address (only applicable if port type is TCP)--> <Port Type="TCP" Number="80" Name="80" Address="www.google.com"/> </MonitoredPorts> <!--Network Interfaces--> <!--The network interfaces you want to monitor--> <!--You can specify multiple interfaces , by adding multiple <Interface../> tags--> <NetworkInterfaces> <!--Name - the name of the interface--> <Interface Name="eth0" /> </NetworkInterfaces> <!--Wake on WAN settings--> <!--Port- the port on which the packet will be send--> <!--Enabled: true or false--> <WoWAN Port="9" Enabled="false"/> </Network> <!--Specify if this computer is in maintenance mode or not--> <!--Possible values: true or false--> <MaintenanceMode>false</MaintenanceMode> <!--Specify if you use a proxy.--> <!--Enabled: true or false--> <!--Host: the IP or hostname of the proxy server--> <!--Port: the port for the proxy server (not mandatory default 8080)--> <!--User: the user for the proxy server (not mandatory)--> <!--Password: the password for the proxy server(not mandatory--> <Proxy Enabled="false" Host="proxy.host" Port="8080" User="proxy.user" Password="proxy.password"/> </config> [root@xxx ~]# Link to comment Share on other sites More sharing options...
Staff Calin Posted March 28, 2014 Staff Share Posted March 28, 2014 Hello, You have to replace the username and password in this line <Account Username="username" Password="password" UseCustomServer="false" CustomServerAddress="" /> with you're real account information. Link to comment Share on other sites More sharing options...
Francis Yap Posted March 29, 2014 Author Share Posted March 29, 2014 Hello, You have to replace the username and password in this line <Account Username="username" Password="password" UseCustomServer="false" CustomServerAddress="" /> with you're real account information. Thanks, it's working now, Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now