Hi Everyone,
I have installed SmartCenter on a Solaris 10 Server but it is not recognizing any Checkpoint commands such as cpstart, cpstop, cpinfo, etc. I do not have a lot of experience with Unix so any help would be appreciated.
CPUG: The Check Point User Group | |
Resources for the Check Point Community, by the Check Point Community.
| |
First, I hope you're all well and staying safe. | |
|
Hi Everyone,
I have installed SmartCenter on a Solaris 10 Server but it is not recognizing any Checkpoint commands such as cpstart, cpstop, cpinfo, etc. I do not have a lot of experience with Unix so any help would be appreciated.
Not sure what shell you're using, but try running:
. /opt/CPshrd-R62/tmp/.CPprofile.sh
That should set your environment right. That should also be run when you login as root. Check what root has in .profile. Also make sure that you are running "sudo su -" (the last - is important, to ensure you get the full environment).
I tried to run the command but received an error stating the file does not exist. I then CD'd over to /opt/CPshrd-R62/tmp/ to see if the .CPprofile.sh did exist, but it does not. The default shell is pkfsh but I usually use bash. I have already tried removing the CP packages and reinstalling them but am having the same problem. Is it advisable to modify the root profile to add the path or correct variables and if so how do I do it as I do not have a lot of experience with Unix?
Perhaps dumb question, but after actual installation of smartcenter did you go through initial configuration using cpconfig command? If not, do that, then logout/login.
Yes, I had initially tried that but the problem is that it does not recognize any of the CP commands.
Were you logged in as root when you did the original install?
Yes, I had sudo 'd over to root via sudo su -. Anyhow, I copied the .profile for root over from the primary CP Server which has resolved the issue. Thank you to everyone for all of your advice.
Bookmarks