服务器问题集锦,包括 Linux(Ubuntu, Centos,Debian等)和Windows Server服务器
我只是想知道,如果有人在这里有关于如何添加另一个Asterisk服务器在Asternic呼叫中心Stats Pro的指南,我已经设置和安装Asternic CC pro到独立的服务器与我们的freepbx服务器和它的好,但我不知道关于如何添加第二个Asterisk服务器来生成报告。 目前还不清楚我必须添加星号服务器的IP地址。 因为我已经在asternic cc的config.php上有一个设置。 我很抱歉,如果我不在正确的部分。 任何人都可以给我一个指导如何做到这一点。 提前致谢。
我有一个32克内存的服务器和它的状态,是(免费-m): total used free shared buffers cached Mem: 32071 31488 583 0 244 19329 -/+ buffers/cache: 11914 20157 Swap: 17399 287 17112 caching的大小是增长(每个重新启动应用程序和清除caching之间) 5个小时后,我发布我的问题的内存状态是: total used free shared buffers cached Mem: 32071 31850 221 0 194 20124 -/+ buffers/cache: 11530 20541 Swap: 17399 299 17100 我的java选项是: -Xms12g -Xmx12g -XX:MaxNewSize=6g -XX:NewSize=6g -XX:+UseParallelOldGC -XX:+UseParallelGC -XX:+UseTLAB -XX:MaxTenuringThreshold=15 -XX:+DisableExplicitGC […]
在我的rsyslog.conf中,我正在过滤消息,就好像消息包含ManagerName日志到/nco_data/rsyslog/nco_messages.log。 当我用户logging器,它工作正常。 但是,如果我从远程计算机发送数据,rsyslog不会将数据logging到相应的日志文件。 我也重新启动rsyslog,但是没有运气。 系统 – [redhat-release-server-6Server-6.5.0.1.el6.x86_64] 以下是我的/etc/rsyslog.conf文件 # rsyslog v5 configuration file # For more information see /usr/share/doc/rsyslog-*/rsyslog_conf.html # If you experience problems, see http://www.rsyslog.com/doc/troubleshoot.html #### MODULES #### $ModLoad imuxsock # provides support for local system logging (eg via logger command) $ModLoad imklog # provides kernel logging support (previously done by rklogd) #$ModLoad immark […]
我有一个Windows服务器2012 R2,我有多个ASP.NET MVC网站上运行,他们工作没有问题,直到几天前,现在他们都返回HTTP 400错误,请注意,我访问它们全部使用IP地址和端口,我已经检查了Windows防火墙,绑定设置,打开端口,找不到问题,有什么我已经错过了? 我感谢您的帮助 更新2017-11-14:我已经尝试使用主机名,它的工作,但使用IP和端口仍然没有
ddos攻击后,我改变了我的服务器到一个更好的,我phurcased也第一次IP故障切换。 所以,在ovh经理一切都是正确的,但我使用virtualmin,我从来没有这样做过的工作。 在Webmin>networking>networking接口 我eth0与在两个名称服务器ns1.mydomain.com和ns2.mydomain.com上共享的实际服务器IP 我也eth1哪一个是不可编辑或点击与红色的信息告诉“下” 我使用centos 7,服务器目前有5个站点的活动。 如何在webmin上激活sedond IP故障转移?
我有btrfs图像文件设置为后端LXD(2.18),但我想缩小它的大小。 我做了什么: 挂载映像到循环设备losetup /dev/loop1 /home/btrfs.img 挂载设备到/ mnt目录mount /dev/loop1 /mnt/brtfs 使用btrfs filesystem resize -100G /mnt/btrfs大小的btrfs分区btrfs filesystem resize -100G /mnt/btrfs 之后, df正确显示/mnt/btrfs分区大小: root@host:/mnt/btrfs# df -k . Filesystem 1K-blocks Used Available Use% Mounted on /dev/loop1 1614807040 1563273068 48426164 97% /mnt/btrfs 但文件仍然具有相同的大小 root@host:/home# ls -al total 1848321632 drwx—— 2 root root 4096 Nov 11 10:19 . drwxr-xr-x 4 root […]
我有一个gerrit安装在我的服务器上,http作为身份validation方法,nginx作为服务器。 我已经创build了一个完美的pipe理员帐户。 我正在尝试用命令build立另一个帐户 ssh -p 29418 admin@host gerrit create-account –group "'someGroup'" –email [email protected] –http-password "'somePassword'" user 和一切看起来很好,但现在我无法login到这个帐户。 我可以在gerrit站点的nginx错误日志中find这个错误: user "user" was not found in "/etc/nginx/.htpasswd" 我应该把这个新用户的密码放在什么地方吗?
我知道如何使用htts为网站创buildnginxconfiguration,以便redirect到https域: server { listen 80 default_server; listen [::]:80 default_server; server_name my_domain.com www.my_domain.com; return 301 https://$server_name$request_uri; } server { listen 443 ssl; listen [::]:443 ssl; server_name localhost www.my_domain.com; return 301 https://my_domain.com$request_uri; } server { listen 443 ssl default_server; listen [::]:443 ssl default_server; server_name my_domain.com; # ……………. 现在我除了已经有的“my_domain.com”之外,还设置了域名“登台”。 也就是说,“staging.my_domain.com”我应该如何更改“staging.my_domain.com”上面的configuration? 我无法弄清楚。 我应该完全删除第一部分,因为不能有www.staging.my_domain.com 如果没有,那么我的configuration应该怎么样?
我在Ubuntu中使用mod_mono模块中的Apache2作为本地ASP.NET服务器。 到目前为止,Apache只能在我的simple.aspx文件位于标准的/var/www/html目录时才能提供服务。 当我把文件放在它自己的目录/var/www/mysite并使用sudo a2ensite mysite启用它自己的configuration/etc/apache2/sites-available/mysite.conf : 1 <VirtualHost *:80> 2 DocumentRoot /var/www/mysite 3 <Directory /var/www/net> 4 require all granted 5 </Directory> 6 ServerName simple 7 </VirtualHost> 浏览到http://localhost/simple或http://localhost/mysite/simple.aspx时,出现http 404资源未find错误。 当试图在全局的/etc/apache2/apache2.confconfiguration文件中列出/var/www/mysite目录时,我会得到相同的结果: 170 <Directory /var/www/mysite/> 171 Options Indexes FollowSymLinks 172 AllowOverride None 173 Require all granted 174 </Directory> 不,我没有忘记在更改configuration后重新启动Apache。 我有以下权限 drwxr-xr-x 2 root root 4096 Nov 11 18:50 […]
我有一个像这样使用macros的虚拟主机configuration: <Macro vhost_begin $host> <VirtualHost *:80> Use vhost_root $host </Macro> <Macro vhost_end> </VirtualHost> </Macro> <Macro vhost_root $host> ServerName $host ServerAlias www.$host DocumentRoot /srv/http/$host/docroot # … more other common config … </Macro> 然后,我使用这样的站点可用的configuration中的macros: vhost_begin example.com # … other virtualhost-specific config here if needed vhost_end 它会让事情变得很糟糕,因为如果一个简单的虚拟主机不需要任何特殊的configuration,那么它只是两行,但是如果需要的话,它不会限制可能性(就像我将整个虚拟主机定义从开始结束于一个macros)。 它工作(看起来像),但启动Apache后,它会在daemon.log中引发以下和类似的警告。 AH02795: bad cumulated nesting (+1) in macro "vhost_begin" AH02793: bad […]