Server error

Status
Not open for further replies.

roshansimon

Free User
Joined
Jan 19, 2020
Messages
58
Reaction score
3
It's been over a year that the office was closed.. I'm going in now to upgrade the 3cx, and getting "Server error" when I log in to the 3cx Management console on the server itself .

When I go to Services on the local 3cx machine , only the following services are running : 3cx Event Notification Manager, 3cx SIP/RTP Tunneling Proxy, 3cx Media Server, 3cx Ngix Server. I've tried to enable the others, but I get the error "Error 1068, The dependency service or group failed to start." Also tried to restart the 3cx computer.

TThis is the server info. Let me know if you need any additional info. Please assist.

  • 3CX Version, Profession :16.0.493
  • Server OS, Windows 10 Pro
  • Is the 3CX Server Hosted and where? It is a local server
  • Trunk Provider or Gateway Make/Model : Ring Office
  • Has the Firewall Checker passed: Failed. It used to pass in the past. But the location was closed for a year.
  • Are custom Phone Templates being used: NO
  • Network setup: Pfsense router/firewall behind ISP router . ISP router is in bridged mode, with 2 static Public IPs: PFSense and 3CX. Catalyst switch with VLANs behind the Pfsense. Phones and computers connected to the switch.
 
Last edited:
In Services when I run the 3cx Database server I get the following error: "The 3CX PhoneSystem Database Server service on Local Computer started and then stopped. Some services stop automatically if they are not in use by other services or programs."
 
I would backup the 3CX server using the command line - https://www.3cx.com/docs/backup-restore-command-line/ - Maybe run it a couple of times - move the backups outside of 3CX folders. Backup with FQDN and license key

When you have a backup,

Uninstall 3CX
Reboot the server
Install 3CX selecting restore from backup.
 
  • Like
Reactions: roshansimon
Hi @roshansimon,

Reboot the machine first. Get sudo access, then run:

Code:
service 3* status

You should be able to see all 3CX related services. Check nginx while you're at it. Start the services:

Code:
service 3* start
service nginx start
service postgresql start

If after rebooting and restarting services, you're unable to get it running - I suggest following @Saqqara's very good advice above.
 
Hi @roshansimon,

Reboot the machine first. Get sudo access, then run:

Code:
service 3* status

You should be able to see all 3CX related services. Check nginx while you're at it. Start the services:

Code:
service 3* start
service nginx start
service postgresql start

If after rebooting and restarting services, you're unable to get it running - I suggest following @Saqqara's very good advice above.
Thanks @Saqqara and @VasilisV_3CX. Question..
Isn't sudo a Linux command? How do do I get sudo access on Windows?
 
If you look in the event logs, you should see which services are not starting when you try to manually start them
 
Thanks @Saqqara .The log is constantly giving this error. It's been 15 minutes that I have been waiting creating a partial backup (as per your instruction). It has still not ended.

It's the same error throughout the log.

2022/01/21 04:55:33.190|5992|0001|Excpt|TCX.Configuration.Exceptions.PhoneSystemException: ConfigServer is not connected
at GenericUtilsNet.ApplicationConfiguration.get_PhoneSystemRoot()
at BackupCmd.Program.Main(String[] args)
 
Thanks @Saqqara .The log is constantly giving this error. It's been 15 minutes that I have been waiting creating a partial backup (as per your instruction). It has still not ended.

It's the same error throughout the log.

2022/01/21 04:55:33.190|5992|0001|Excpt|TCX.Configuration.Exceptions.PhoneSystemException: ConfigServer is not connected
at GenericUtilsNet.ApplicationConfiguration.get_PhoneSystemRoot()
at BackupCmd.Program.Main(String[] args)
Finally I get this error, before the process stops.

2022/01/21 04:57:24.333|5992|0001|Excpt|System.NullReferenceException: Object reference not set to an instance of an object.
at _3cxBackupRestoreImpl.BackupRepositorySettings.Read(IPhoneSystem phoneSystem)
at BackupCmd.Program.Main(String[] args)
 
Hi @roshansimon,

Given the error: ConfigServer is not connected, can you try to run this command?

Code:
net start 3CXCfgServ01

Then run the service start commands I pasted above to ensure everything is working, then try the backup again?
 
Hi @roshansimon,

Given the error: ConfigServer is not connected, can you try to run this command?

Code:
net start 3CXCfgServ01

Then run the service start commands I pasted above to ensure everything is working, then try the backup again?
Does not start. I get this error.
The 3CX PhoneSystem 01 Configuration Server service is starting........
The 3CX PhoneSystem 01 Configuration Server service could not be started.

The service did not report an error.

More help is available by typing NET HELPMSG 3534.
 
Right, the only dependency for The 3CX PhoneSystem 01 Configuration Server is the Database Server. If that can't start, you need to look into the dependency tree and ensure that all prerequisite services are running.

Try starting that with:

Code:
net start "3CX PhoneSystem Database Server"
 
Right, the only dependency for The 3CX PhoneSystem 01 Configuration Server is the Database Server. If that can't start, you need to look into the dependency tree and ensure that all prerequisite services are running.

Try starting that with:

Code:
net start "3CX PhoneSystem Database Server"

I get the same error when starting Database Server.
The 3CX PhoneSystem Database Server service is starting.
The 3CX PhoneSystem Database Server service could not be started.

The service did not report an error.

More help is available by typing NET HELPMSG 3534.


The only services that I'm able to start are: 3cx Event Notification Manager, 3cx SIP/RTP Tunneling Proxy, 3cx Media Server, 3cx Ngix Server
 
To confirm, you've already tried to reboot the machine?

How important would this backup be for you at this point?
 
To confirm, you've already tried to reboot the machine?

How important would this backup be for you at this point?
Yes... That's right. I've rebooted the machine a few times now.
Backup is important.
 
Great thank you for confirming.

If you check the backup folder location are there any backups there from before you stopped the machine?

C:\ProgramData\3CX\Instance1\Data\Backups
 
That's a pretty old backup... If there is nothing else that can be done, I guess I will start with this backup. Thanks.
 
Hi @roshansimon,

If the backup is a year old, and the office closed a year ago and the PBX hasn't been used, nothing will have changed. If it's older, then you may need to modify it some but better than starting from scratch. If you run into any trouble, feel free to let me know.
 
Hi @roshansimon,

If the backup is a year old, and the office closed a year ago and the PBX hasn't been used, nothing will have changed. If it's older, then you may need to modify it some but better than starting from scratch. If you run into any trouble, feel free to let me know.
Thank you for your help... It feels great when there is continuous help from the group.
Will message in the forum if I run into other problems.
 
  • Like
Reactions: VasilisV_3CX
Status
Not open for further replies.

Forum statistics

Threads
111,974
Messages
590,083
Members
164,901
Latest member
Silent_Guru