Current time: 04-25-2024, 11:41 AM Hello There, Guest! (LoginRegister)


Post Reply 
Trouble with ispcp-rqst-mngr
Author Message
ewestlake Offline
Junior Member
*

Posts: 24
Joined: Aug 2011
Reputation: 0
Post: #11
RE: Trouble with ispcp-rqst-mngr
I have added these items. It is still not working. Where would this log?

I really need to get this fixed. I can connect through PHP but this one tool is not working. Please let me know what is up here. How can I fix this issue?
09-27-2011 11:22 AM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #12
RE: Trouble with ispcp-rqst-mngr
Logfile in /var/log/ispcp/*

or on screen if you run ispcp-rqst-mngr manually...

maybe set DEBUG = 1 in /etc/ispcp/ispcp.conf (bottom of file...)

/J
09-27-2011 06:31 PM
Visit this user's website Find all posts by this user Quote this message in a reply
ewestlake Offline
Junior Member
*

Posts: 24
Joined: Aug 2011
Reputation: 0
Post: #13
RE: Trouble with ispcp-rqst-mngr
(09-27-2011 06:31 PM)joximu Wrote:  Logfile in /var/log/ispcp/*

or on screen if you run ispcp-rqst-mngr manually...

maybe set DEBUG = 1 in /etc/ispcp/ispcp.conf (bottom of file...)

/J

DEBUG is on. The Log File tells me nothing. I have posted the logs many times here. I need help. I cannot figure out WHY the ispcp-rqst-mngr file is not connecting to the database while PHP IS!?...

I have been fighting with this for a week. please help...
09-27-2011 11:34 PM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #14
RE: Trouble with ispcp-rqst-mngr
did you add the line
push_el(\@main::el, 'setup_main_vars()', "DBI:mysql:$main::db_name:$main::db_host $main::db_user $main::db_pwd");
where I told?

then there should be at least an additional line in the log telling the credentials ispcp is using.

Depending on the result of this test further actions may be developped...

/J
09-27-2011 11:37 PM
Visit this user's website Find all posts by this user Quote this message in a reply
ewestlake Offline
Junior Member
*

Posts: 24
Joined: Aug 2011
Reputation: 0
Post: #15
RE: Trouble with ispcp-rqst-mngr
(09-27-2011 11:37 PM)joximu Wrote:  did you add the line
push_el(\@main::el, 'setup_main_vars()', "DBI:mysql:$main::db_name:$main::db_host $main::db_user $main::db_pwd");
where I told?

then there should be at least an additional line in the log telling the credentials ispcp is using.

Depending on the result of this test further actions may be developped...

/J

I thought I did. What line number should I place this in?
okay I have it fixed. and got the log to work now.

[DEBUG] push_el() sub_name: mngr_start_up(), msg: Starting...
[DEBUG] push_el() sub_name: lock_system(), msg: Starting...
[DEBUG] push_el() sub_name: lock_system(), msg: Ending...
[DEBUG] push_el() sub_name: del_file(), msg: Starting...
[DEBUG] push_el() sub_name: del_file(), msg: Ending...
[DEBUG] push_el() sub_name: mngr_start_up(), msg: Ending...
[DEBUG] push_el() sub_name: mngr_engine(), msg: Starting...
[DEBUG] push_el() sub_name: mngr_engine_process(), msg: Starting...
[DEBUG] push_el() sub_name: mngr_engine_process(), msg: processing type dmn.
[DEBUG] push_el() sub_name: doHashSQL(), msg: Starting...
[DEBUG] push_el() sub_name: doHashSQL(), msg: [ERROR] Unable to connect SQL server !
[DEBUG] pop_el() sub_name: doHashSQL(), msg: [ERROR] Unable to connect SQL server !
[DEBUG] pop_el() sub_name: doHashSQL(), msg: Starting...
[DEBUG] pop_el() sub_name: mngr_engine_process(), msg: processing type dmn.
[DEBUG] pop_el() sub_name: mngr_engine_process(), msg: Starting...
[DEBUG] pop_el() sub_name: mngr_engine(), msg: Starting...
[DEBUG] pop_el() sub_name: mngr_start_up(), msg: Ending...
[DEBUG] pop_el() sub_name: del_file(), msg: Ending...
[DEBUG] pop_el() sub_name: del_file(), msg: Starting...
[DEBUG] pop_el() sub_name: lock_system(), msg: Ending...
[DEBUG] pop_el() sub_name: lock_system(), msg: Starting...
[DEBUG] pop_el() sub_name: mngr_start_up(), msg: Starting...
[DEBUG] pop_el() sub_name: get_conf(), msg: Ending...
[DEBUG] pop_el() sub_name: setup_main_vars(), msg: Ending...
[DEBUG] pop_el() sub_name: setup_main_vars(), msg: DBI:mysql:ispcp:127.0.0.1 ispcp mypasswordhere...
[DEBUG] pop_el() sub_name: decrypt_db_password(), msg: Ending...
[DEBUG] pop_el() sub_name: decrypt_db_password(), msg: Starting...
[DEBUG] pop_el() sub_name: setup_main_vars(), msg: Starting...
[DEBUG] pop_el() sub_name: setup_main_vars(), msg: DBI:mysql::
[DEBUG] pop_el() sub_name: get_file(), msg: Ending...
[DEBUG] pop_el() sub_name: get_file(), msg: Starting...
[DEBUG] pop_el() sub_name: get_conf(), msg: Starting...
[DEBUG] pop_el() Empty 'EL' Stack !
[DEBUG] push_el() sub_name: mngr_shut_down(), msg: Starting...
[DEBUG] push_el() sub_name: mngr_shut_down(), msg: Ending...
(This post was last modified: 09-28-2011 12:57 AM by ewestlake.)
09-28-2011 12:53 AM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #16
RE: Trouble with ispcp-rqst-mngr
ok, at least this seems to be correct.

Now please check if you can connect to mysql via mysql client.

In server console/shell:

mysql -h 127.0.0.1 -u ispcp -pmypasswordhere -D ispcp

tell us the result.

/J
09-28-2011 09:26 AM
Visit this user's website Find all posts by this user Quote this message in a reply
ewestlake Offline
Junior Member
*

Posts: 24
Joined: Aug 2011
Reputation: 0
Post: #17
RE: Trouble with ispcp-rqst-mngr
I can log in through the console. Though for security reasons I do the following command.
mysql -h 127.0.0.1 -u ispcp -p -D ispcp
This makes the password not be logged on the system Smile

But that works. What is my next step?
09-29-2011 09:46 PM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #18
RE: Trouble with ispcp-rqst-mngr
Hm - too bad...

I assume you have installed the dbi lib for perl "libdbi-perl"... and then... I have no more ideas at the moment.

Obviously perl cannot connect using the correct credentials...

Do you have other security software installed which prevents certain programs to connect to certain ports?

Maybe you can enable mysql logging to see if there is a problem or a more helpful explanation...

/J
09-30-2011 06:24 PM
Visit this user's website Find all posts by this user Quote this message in a reply
ewestlake Offline
Junior Member
*

Posts: 24
Joined: Aug 2011
Reputation: 0
Post: #19
RE: Trouble with ispcp-rqst-mngr
I have not removed anything. The system used to work. Now it does not. I will look for the libdbi-perl though.

No security software is there. How would I enable mysql logging?
10-05-2011 12:21 AM
Find all posts by this user Quote this message in a reply
ewestlake Offline
Junior Member
*

Posts: 24
Joined: Aug 2011
Reputation: 0
Post: #20
RE: Trouble with ispcp-rqst-mngr
Nothing on this at all? This is really getting me angry now. I need to get this fixed!
10-08-2011 12:32 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)