Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Dumgard

Pages: [1]
1
Installation / Re: Reinstall Centos 7 Server / CWPpro not activating
« on: April 01, 2019, 08:32:34 PM »
Code: [Select]
● httpd.service - Web server Apache
   Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
   Active: active (running) since Mon 2019-04-01 19:32:15 UTC; 59min ago
  Process: 18621 ExecStop=/usr/local/apache/bin/apachectl graceful-stop (code=exited, status=0/SUCCESS)
  Process: 26144 ExecReload=/usr/local/apache/bin/apachectl graceful (code=exited, status=0/SUCCESS)
  Process: 18628 ExecStart=/usr/local/apache/bin/apachectl start (code=exited, status=0/SUCCESS)
 Main PID: 18631 (httpd)
   CGroup: /system.slice/httpd.service
           ├─18631 /usr/local/apache/bin/httpd -k start
           ├─26158 /usr/local/apache/bin/httpd -k start
           ├─26159 /usr/local/apache/bin/httpd -k start
           └─26160 /usr/local/apache/bin/httpd -k start

Apr 01 19:32:15 excalibur.novalocal systemd[1]: Started Web server Apache.
Apr 01 19:34:13 excalibur.novalocal systemd[1]: Reloading Web server Apache.
Apr 01 19:34:13 excalibur.novalocal apachectl[23155]: AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using excalibur.novalocal. Set the 'ServerName' directive globally to suppress this message
Apr 01 19:34:13 excalibur.novalocal systemd[1]: Reloaded Web server Apache.
Apr 01 19:35:41 excalibur.novalocal systemd[1]: Reloading Web server Apache.
Apr 01 19:35:41 excalibur.novalocal apachectl[23975]: AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using excalibur.novalocal. Set the 'ServerName' directive globally to suppress this message
Apr 01 19:35:41 excalibur.novalocal systemd[1]: Reloaded Web server Apache.
Apr 01 19:35:53 excalibur.novalocal systemd[1]: Reloading Web server Apache.
Apr 01 19:35:53 excalibur.novalocal apachectl[26144]: AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using excalibur.novalocal. Set the 'ServerName' directive globally to suppress this message
Apr 01 19:35:53 excalibur.novalocal systemd[1]: Reloaded Web server Apache.

2
Installation / Reinstall Centos 7 Server / CWPpro not activating
« on: April 01, 2019, 08:30:42 PM »
Same static IP address.  Tried running the update script as well.  100% Fresh install.

Code: [Select]
[root@excalibur centos]# sh /scripts/update_cwp


====================================================
============= CentOS Web Panel Cron ================
====================================================


###########################
Firewall Flush Daily Blocks
###########################


######################
Update Server Packages
######################
sed: can't read /opt/alt/php-fpm*/usr/php/php.ini: No such file or directory

3
Information / Multiple Volumes
« on: November 01, 2018, 05:29:10 PM »
Hello,

I tried looking and searching but I did not yet find this topic discussed, nor am I quite sure where this falls under --- an information/feature question, a feature request, a centos question, etc.

I am looking to add multiple volumes to my server and CWP installation.  Currently, the server is running on an 80GB disk.  I would like the ability if possible to mount and add additional volumes to CWP users for their folder paths.

How can this be done?  I attempted to create and attach an additional 100GB volume, I partitioned and formatted it, and then I was able to mount it to the home folder path at /home/USER/public_html/

It appeared to mount properly, and a new directory lost+found appeared, as well as index.html disappearing.  I attempted to make a new index.html, but when I would browse to the domain, it just showed a 100% blank directory.

After unmounting the volume, Apache appeared to go back to the default apache page as normal.

Not sure if it's just me not quite understanding how to mount and integrate it, or if CWP does not support this ability.

Thank you very much in advance.

4
It was the NAT settings in Left-Menu –> CWP-Settings –> Edit Settings

Afterward, I rebuilt Apache Virtual Hosts and restarted Apache.

5
Apache / Re: Domain in Browser doesn't display from user directory
« on: October 29, 2018, 07:12:49 PM »
I just did another complete reinstall of CentOS 7.  I followed https://www.webhostface.com/kb/knowledgebase/centos-web-panel-installation/  which is pretty simple, just updating and then installing the version for centos 7 on the 100% clean install.

After that, I run update_cwp script and it shows my pro status.  I make a new user for my domain (the same domain that the server references --- I use server.domain.com for the domain, and then domain.com for my site.) and then log into FTP with that username and password.  I then create a directory, and move the old index.html into the new directory.  Same problem as above.  The website www.domain.com shows the old index.html default page, when it should be a 404... and the new directory pulls up a 404 as if it does not exist.

6
Apache / Re: Domain in Browser doesn't display from user directory
« on: October 29, 2018, 04:16:49 PM »
Went through the stickied post about this issue again, but still no solution.

My apache error log is here https://pastebin.com/Zs5v9FFv.

7
Apache / Domain in Browser doesn't display from user directory
« on: October 29, 2018, 02:43:59 PM »
I installed CWP, went pro, added mod security.  Went to add a directory and populate it, so I did so and verified that the files were changed to be owned and grouped to the proper user account, and had permissions set correctly.  I even did the User Accounts -> Fix Permissions.

No matter what I do, the actual in browser domain.com shows the default apache page.  It also does not detect file changes, renames, addition of directories or anything else.  This is after using winscp, and the built in cwp file manager.  Even tried to add on extplorer, and it won't recognize the new directory that addon created.  It's as if the domain is somehow locked into the apache directory instead of the user's home/public_html directory where it should be.

Here is the Apache vhosts.conf
Code: [Select]
# vhost_start example.com
<VirtualHost myip:80>
ServerName example.com
ServerAlias www.example.com
ServerAdmin webmaster@example.com
DocumentRoot /home/example/public_html
UseCanonicalName Off
ScriptAlias /cgi-bin/ /home/example/public_html/cgi-bin/

# Custom settings are loaded below this line (if any exist)
# Include "/usr/local/apache/conf/userdata/example/example.com/*.conf"

<IfModule mod_userdir.c>
UserDir disabled
UserDir enabled example
</IfModule>

<IfModule mod_suexec.c>
SuexecUserGroup example example
</IfModule>

<IfModule mod_suphp.c>
suPHP_UserGroup example example
suPHP_ConfigPath /home/example
</IfModule>

<Directory "/home/example/public_html">
AllowOverride All
</Directory>

</VirtualHost>
# vhost_end example.com

It appears to be pointing properly to /home/xotikz/public_html but nothing on the browser has it appearing that way.  I edited the base index.html file in the public_html folder, then I even changed it's name to add a _ so that it would go away and instead display a 404 or something.  No change.  I'm obviously missing something, but not sure where else I'd go look at settings other than the vhosts.

I also tried rebuilding vhosts multiple times, as well as played around with the SSL.

Added:  Not sure if this is an associated issue, but having an issue trying to generate an AutoSSL:

'DNS of your domain doesn't point to this server or you have htaccess restrictions',

Can not make a certificate for main domain or subdomain.  I stopped and disabled named locally since I use a third party DNS service.

Pages: [1]