Solved 3cx not starting in Google cloud

Status
Not open for further replies.

EdoF

Free User
Joined
Jul 22, 2020
Messages
4
Reaction score
3
3cx running in Google cloud, not heavily used and upto date, v18.

Yesterday I started getting messages that my ip is blacklisted, to many failed login attempts, which is very strange.
Admin user and pass are very very secure.
Today I tried a few things, first restart through SSH connected directly from Google cloud, after a good 5 mintues, it was not possible logging in.
Then I tried a hard restart of the vm through the google console.
The restart completes but 3cx service do not seem to start, error message when I log in is: Server error.
Back to SSH, tried command:
sudo 3CXStopServices && 3CXStartServices
Only to be returned error message:
-bash: 3CXStartServices: command not found
Any idea how I can restart services and be not blacklisted?

Any help would be appreciated, thanks.
 
The reason you got:
Code:
-bash: 3CXStartServices: command not found

Is probably because you did not use sudo for the second command, try:
Code:
sudo 3CXStopServices && sudo 3CXStartServices

Regarding the blacklisting, I'd recommend adding your IP to the whitelist. Just connect from a different public IP, go to "Security >> IP Blacklist >> Add" and add an entry for your main Public IP then set "Action" to "Allow" and click on "OK"
 
  • Like
Reactions: jed
All hail ChrisC! :)
Thanks that worked, pity that the first google hit for '3cx ssh restart services is the command line without the second sudo.
Either way, it worked, and will add my common IP's to the white list.
 
  • Like
Reactions: jed and ChrisC_3CX
Excellent! Happy to see this got sorted!:)

Please feel free to start a new thread should you need anything else.
 
Status
Not open for further replies.

Forum statistics

Threads
111,974
Messages
590,081
Members
164,899
Latest member
mazet