I just setup an instance of Apache on Windows with SSL and it starts by running "httpd.exe", but I can't get it to start as a service. It was running fine before adding the SSL certificate/key pair.
This is the error, I get as a Service:
Quote:
[Wed Aug 15 11:22:09 2007] [info] mod_unique_id: using ip addr 10.254.1.135 [Wed Aug 15 11:22:10 2007] [info] Init: Seeding PRNG with 144 bytes of entropy [Wed Aug 15 11:22:10 2007] [info] Loading certificate & private key of SSL-aware server [Wed Aug 15 11:22:10 2007] [error] (OS 5)Access is denied. : Init: Can't open server certificate file C:/Apache2/conf/ssl/NBCDDSARP10.dev.npe.tic.cert
This is what happens when I run it via "httpd.exe"
Quote:
[Wed Aug 15 11:27:08 2007] [info] Init: Seeding PRNG with 144 bytes of entropy [Wed Aug 15 11:27:08 2007] [info] Loading certificate & private key of SSL-aware server [Wed Aug 15 11:27:08 2007] [info] Init: Generating temporary RSA private keys (512/1024 bits) [Wed Aug 15 11:27:08 2007] [info] Init: Generating temporary DH parameters (512/1024 bits) [Wed Aug 15 11:27:08 2007] [info] Init: Initializing (virtual) servers for SSL [Wed Aug 15 11:27:08 2007] [info] Configuring server for SSL protocol [Wed Aug 15 11:27:08 2007] [info] Server: Apache/2.2.4, Interface: mod_ssl/2.2.4, Library: OpenSSL/0.9.8e
when i start named.conf i got error with all my site like that
zone localhost/IN: loaded serial 42 zone 0.0.127.in-addr.arpa/IN: loaded serial 1997022700 zone 0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa/IN: loaded serial /var/named/example.com.db:14: NS record '192.168.1.1' appears to be an address /var/named/example.com.db:15: NS record '192.168.1.1' appears to be an address zone host.example.com/IN: loading master file /var/named/host.example.com.db: file not found _default/host.example.com/IN: file not found zone example.com/IN: loaded serial 2007052100 zone example2.com/IN: loaded serial 2007042801 zone example3.com/IN: loaded serial 2007042801 zone example.com/IN: loaded serial 2007052100 zone example2.com/IN: loaded serial 2007042801 zone example3.com/IN: loaded serial 2007042801 zone example.com/IN: loaded serial 2007052100 zone example2.com/IN: loaded serial 2007042801 zone example3.com/IN: loaded serial 2007042801 zone example.com/IN: loaded serial 2007052100 zone example2.com/IN: loaded serial 2007042801 zone example3.com/IN: loaded serial 2007042801 zone example.com/IN: loaded serial 2007052100 zone example2.com/IN: loaded serial 2007042801 zone example3.com/IN: loaded serial 2007042801 zone example.com/IN: loaded serial 2007052100 zone example2.com/IN: loaded serial 2007042801 zone example3.com/IN: loaded serial 2007042801 zone example.com/IN: loaded serial 2007052100 zone example2.com/IN: loaded serial 2007042801 zone example3.com/IN: loaded serial 2007042801 zone example.com/IN: loaded serial 2007052100 zone example2.com/IN: loaded serial 2007042801 zone example3.com/IN: loaded serial 2007042801 zone example.com/IN: loaded serial 2007052100 zone example2.com/IN: loaded serial 2007042801 zone example3.com/IN: loaded serial 2007042801 zone example.com/IN: loaded serial 2007052100 zone example2.com/IN: loaded serial 2007042801 zone example3.com/IN: loaded serial 2007042801 zone example.com/IN: loaded serial 2007052100 zone example2.com/IN: loaded serial 2007042801 zone example3.com/IN: loaded serial 2007042801 zone example.com/IN: loaded serial 2007052100 zone example2.com/IN: loaded serial 2007042801 zone example3.com/IN: loaded serial 2007042801 zone example.com/IN: loaded serial 2007052100 zone example2.com/IN: loaded serial 2007042801 zone example3.com/IN: loaded serial 2007042801 zone example.com/IN: loaded serial 2007052100 zone example2.com/IN: loaded serial 2007042801 zone example3.com/IN: loaded serial 2007042801 zone example.com/IN: loaded serial 2007052100 zone example2.com/IN: loaded serial 2007042801 zone example3.com/IN: loaded serial 2007042801 zone example.com/IN: loaded serial 2007052100 zone example2.com/IN: loaded serial 2007042801 zone example3.com/IN: loaded serial 2007042801 zone example.com/IN: loaded serial 2007052100 zone example2.com/IN: loaded serial 2007042801 zone example3.com/IN: loaded serial 2007042801 zone example.com/IN: loaded serial 2007052100 zone example2.com/IN: loaded serial 2007042801 zone example3.com/IN: loaded serial 2007042801 zone example.com/IN: loaded serial 2007052100 zone example2.com/IN: loaded serial 2007042801 zone example3.com/IN: loaded serial 2007042801 zone example.com/IN: loaded serial 2007052100 zone example2.com/IN: loaded serial 2007042801 zone example3.com/IN: loaded serial 2007042801 zone example.com/IN: loaded serial 2007052100 zone example2.com/IN: loaded serial 2007042801 zone example3.com/IN: loaded serial 2007042801 zone example.com/IN: loaded serial 2007052100 zone example2.com/IN: loaded serial 2007042801 zone example3.com/IN: loaded serial 2007042801 [FAILED]
I have been using Apache 2.2.23 VC9 ssl 0.98 on my windows 7 32 bit PC. I decided to remove the 2.2.23 release and install 2.4.3 VC9 version yesterday. After installation, I was able to run Apache by running httpd.exe from command line. I can also install Apache service using "httpd -k install" with no problem. However, when I tried to start Apache service using "httpd -k start", it didn't work for me. Starting Apache from apachemonitor also failed. I checked error.log and found the following output:
Starting the Apache2.4 service [Mon Feb 18 19:00:33.498207 2013] [mpm_winnt:crit] [pid 7564:tid 376] (OS 1053)The service did not respond to the start or control request in a timely fashion. : AH00378: Apache2.4: Failed to start the service process.
I just signed up with Rsync Palace for remote backups 2 days ago. Otto and Darin at Rsync Palace gladly helped me out and actually ended up setting me up for free. It's really an inexpensive price to pay for a little additional piece of mind to have a remote backup.
I have a VPS with cPanel that has NAS on a private network. The way they set it up was for Cpanel cron job to create backups of my VPS and place the backups in a /backup folder off root; Daily, Weekly and Monthly.
Then they have Rsync via cron set up to take those backups to the remote Rsync Palace server daily.
I still want to maintain backups on my NAS in the datacenter. (cPanel will only backup remotely or locally, but not both.)
In addition to Rsync securely transferring my data to Rsync Palace for offsite backups... How can I set up Rsync to ftp the same /backup data across the private network to the NAS? (Only ftp is available via the NAS.)
I use bqbackup.com in addition to ServInt's backup. The ServInt backup is inaccessible to me and can be restored only by their NoC.
Is there a way for me to download the backup files from bqbackup.com to my PC? I am using Win XP Pro. I backup the entire VPS, but I want to be downloading only the changes made each day after the initial download to my PC.
I am using rsync to database and i found out it corrupted my database. I should have used mysql dump before backing up the data..The problem with taking mysql dump each is that it takes a long time and resources as database is around 10 GB
if i want to take backups every 4 hour, whats the best way as mysql dump causes server load problem
I encountered a strange problem when installing apache 2.2 or 2.4 as a service and set the service to be automaticly started.On restart of windows, apache service crashes with an access violation.
I switched off the mail service for one of my domains in that sites control panel a few days ago because there were some malicious files on my server sending out spam. I stopped the service until I cleared all the files that weren't meant to be there and then tried to restart the mail service again but it won't start.
I get this message 'Information: Mail service settings were successfully changed for the selected domains.' but the service stays off. I had the same problem on another site on the same server and carried out the same process but the mail service for that website started fine.
I installed Cloudflare for Plesk during this time and thought that might be causing an issue but after disabling this I still can't start the mail service for the domain.
Is there a section of the main (super admin) control panel that manages the mail services for each domain I am unaware of?
Installed Apache Server 2.4.3 (no PHP, etc.) and it was working beautifully for a week or so. Yesterday, I restarted my laptop (nothing changed... no updates that install automatically, etc.) and now Apache won't start. Here are some things I've found out on my quest on figuring out what's wrong:
1. Apache Error Log: [Sat Jan 05 14:18:36.745977 2013] [mpm_winnt:notice] [pid 4116:tid 372] AH00455: Apache/2.4.3 (Win64) configured -- resuming normal operations [Sat Jan 05 14:18:36.745977 2013] [mpm_winnt:notice] [pid 4116:tid 372] AH00456: Server built: Aug 18 2012 14:13:48 [Sat Jan 05 14:18:36.745977 2013] [core:notice] [pid 4116:tid 372] AH00094: Command line: 'C:Apache24inhttpd.exe -d C:/Apache24' [Sat Jan 05 14:18:36.747979 2013] [mpm_winnt:notice] [pid 4116:tid 372] AH00418: Parent: Created child process 3436 [Sat Jan 05 14:18:37.335418 2013] [mpm_winnt:crit] [pid 4116:tid 372] AH00419: master_main: create child process failed. Exiting.
2. Nothing else is using port 80 (or 443, for that matter).
3. Apache will start and stay running if I run httpd.exe from the DOS prompt or double-click it from within Windows just fine.
4. Will not run when launched from within the Services or Apache Service Monitor app.
5. Windows Event Error displays the following error: Faulting application name: httpd.exe, version: 2.4.3.0, time stamp: 0x502f863e Faulting module name: MSVCR100.dll, version: 10.0.40219.325, time stamp: 0x4df2bcac Exception code: 0xc0000417 Fault offset: 0x0000000000070468 Faulting process id: 0x13d8 Faulting application start time: 0x01cdeb8eefaec475 Faulting application path: C:Apache24inhttpd.exe Faulting module path: C:WindowsSYSTEM32MSVCR100.dll Report Id: 2deab70b-5782-11e2-be94-00247e17b5d9 Faulting package full name: Faulting package-relative application ID:
6. I've tried fixing/reinstalling the C+ redistribution files about 3 times now, to no avail (thinking the error in the event file was caused by a bad/corrupt MSVCR100.DLL).
7. The exception code in the event error is: 0xc0000417 = STATUS_INVALID_CRUNTIME_PARAMETER = An invalid parameter was passed to a C runtime function. (But again, reloading the files didn't solve anything).
8. I have tried removing Apache completely, reloading with default settings, etc. and still having the same issue.
9. Out of desperation, I even tried a registry cleaner (CCClean) and CHKDSK on the drive. Both of those didn't fix anything.
This is it... not sure what else to do/try. Again, everything was fine one moment, and it all stopped working after rebooting my system. I've wasted hours into this issue, and have come up empty handed. I'm beyond frustrated at the moment.
EDIT: The download I used for the server is located here: [URL]...
Backing up a server is obviously very important. Lets say I do a daily rSync backup and eventually my server HDD crashes, I know it isn't just a 'one click' job to restore my backup but what is it necessary to do in order to carry out a complete and effective restore back to how it was?
A step-by-step 'tutorial' on restoring an rSync backup would be helpful not just to me but to many 'would-be' server administrators.
I have a VPS with remote backup that I dod every night with rsync.
Now, for further SEO testing, Im looking into a reseller account.
Some reseller plan do offer access via SSH. Im not familiar with this ssh access for a reseller. Would I still be able to program a cpanel backup and then rsync all my cpanel backup ?
Currently I am using rsync to backup directory and mysqldump sql file on both external and internal backup drive
Now the directory has around 100,000 files that hardly change. Only thing that happens in that directory is either the old files are deleted or new files are added. All of them image
Due to some reason when i rsync using any of the two commands below, it transfer each and every file again rather then transferring the new or updated files.
Here is what i am currently using
rsync -avH /old/path /destination/path (this is for internal backup drive)
I upgraded today from 11 to 12, however since the upgrade I am now unable to start the PSA Service, it comes up with the below error.
Starting psa... Starting sw-engine-fpm: Thu Jun 19 13:22:29 2014 (7885): Fatal Error Unable to allocate shared memory segment of 104857600 bytes: mmap: Cannot allocate memory (12)
I have checked resources and everything should be fine, I cant see a reason why it cant allocate the memory, as there is plenty free for it to take from.
I have tried a Bootstrapper repair for 12 however this has not found any issues other than its not able to stop the PSA Service (As its not running)
Everything else is up and running its just the Parallels backend which im guessing is what the PSA Service is!
First, the datacenter lost power so the server shut off. I assume there is some DB corruption and why the SQL Service won't start.
Code: failed Trying to start service mariadb... Job for mariadb.service failed. See 'systemctl status mariadb.service' and 'journalctl -xn' for details.
WARNING! Some problems are found during start(see log file: /var/log/plesk/psa_service.log)
Continue...
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111) ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111) ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111) ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111) ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111) ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111) Unable to connect to Plesk Database: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)
I ran the systemctl status mariadb.service command and this is below.
Fehler: f2bmng failed: Job for fail2ban.service failed. See 'systemctl status fail2ban.service' and 'journalctl -xn' for details. ERROR:f2bmng:Failed to start fail2ban service
-- Unit fail2ban.service has failed. -- -- The result is failed.
Aug 20 14:22:13 noreply.flusiserver.de systemd[1]: Unit fail2ban.service entered failed state. Aug 20 14:22:14 noreply.flusiserver.de agetty[14140]: /dev/hvc0: No such file or directoryClick to expand...
The backup program (cpbackup) that comes with WHM/Cpanel is not ideal for our current situation. We have lots of third party applications installed on our server along with many customized configuration files. We need a solution that will backup everything and allow for fairly simple restoration.
How viable is rsync for full server backups? Can it handle 100 GB of data?
More importantly, how would you restore the backup to a new server? If the new server already has an OS the restored files would break the system, right?
We want to backup the contents of our public_html dir to another server we sue for backups. What is the proper rsnyc command to use. I am currently in the source server and want to send it to a specific user account on the destination server.
What is the best way to get backup from linux server to windows same as rsync
i need to take offside backup from my linux server to windows server,before i used rsync to take backup,now i need to make backup in windows server with help of any software which work same as rsync or any software which must have good feature.
i just wana know is it safe to do remote daily backup for about 70,000 files?
file sizes is about 200kb and every day i have about 1000 new file, so rsync first should check old files becouse i am deleting about 30-50 of them daily and them backup new 1000 files , so how much it will take every time to compare that 70,000 files?
i have 2 option now:
1-using second hdd and raid 1 2-using rsync and backuping to my second server , so i can save about $70 each month.
I'm currently using (amongst other backup systems) rsync to an offsite space (am using BQBackup at the moment)
I'm just wondering - apart from backing up all of /home/, /var/lib/mysql/ and the important config files (httpd.conf, php.conf, etc etc) is there anything else that *needs* to be backed up?
Obviously in a worst case scenario, a new machine would be deployed with a fresh OS install (and a fresh WHM/cPanel install) so I wouldn't worry about backing up OS files or cPanel core files, although I'm wondering if there's anything apart from the /home/ directory and the MySQL databases which would be lost (and so need backing up) in the event of a crash?