服务器问题集锦,包括 Linux(Ubuntu, Centos,Debian等)和Windows Server服务器
我用apache2,php5和mysqlbuild立了一个新的vServer。 当我在浏览器中input我的服务器URL(例如example.org)时,它开始下载index.php,而不是parsing它。 但是当我请求一个文件(例如example.org/index.php)时,它会正确parsing它。 这是在我的php5.conf(片段): <FilesMatch "\.ph(p3?|tml)$"> SetHandler application/x-httpd-php </FilesMatch> 我也尝试用以下代替上面的行: AddType application/x-httpd-php .php .phtml .php3 .php4 .php5 .php AddType application/x-httpd-php-source .phps 但是这也没有帮助。 这是在我的httpd.conf中: AddHandler php5-script .php DirectoryIndex index.html index.php AddType text/html .php AddType application/x-httpd-php-source .phps AddType application/x-httpd-php .php 我认为这是我必须做的,以使其工作…希望你能帮助我! PS:我是一个“networking服务器pipe理员”新手。 任何更改后,我重新启动apache2和/或做一个强制重装…没有帮助:(
我已经在一台机器上安装了SQL Server 2008 Express,并试图从另一台机器(Win 7)连接到我的C#应用程序到服务器。 服务器机器在系统中有一个用户帐户。 SQL Server被configuration为使用Windows身份validation。 服务器机器上的防火墙具有入站规则,以接受TCP的端口1433和UDP的1434,并接受服务器的exe。 问题:我无法连接到服务器。 无论连接string我使用我得到的错误: System.Data.SqlClient.SqlException (0x80131904): Login failed for user 'SERVINGMACHINE\wally'. 要么 System.Data.SqlClient.SqlException (0x80131904): Login failed. The login is from an untrusted domain and cannot be used with Windows authentication. 我的连接string的一个例子: SqlConnection myConnection = new SqlConnection("Integrated security=true;" + @"user id=SERVERMACHINE\wally;" + //"password=testpasswd;" + @"server=10.127.40.1,1433\SQLEXPRESS;" + "Trusted_Connection=true;" + "database=nscm_db; […]
目前我有以下spec文件来创build一个RPM。 spec文件是由maven插件生成的一个RPM。 问题是:在BUILDROOT / SPECS / SOURCES / SRPMS结构中,是否会在rpm文件生成后findspec文件中提到的文件? %define _unpackaged_files_terminate_build 0 Name: rpm-1 Version: 1.0 Release: 1 Summary: rpm-1 License: 2009 my org Distribution: My App Vendor: my org URL: www.my.org Group: Application/Collectors Packager: my org Provides: project Requires: /bin/sh Requires: jre >= 1.5 Requires: BASE_PACKAGE PreReq: dependency Obsoletes: project autoprov: yes autoreq: yes […]
我已经安装了Pure-FTPd,并试图让虚拟用户使用它。 Unix用户可以,并且能够传输文件,但我创build的虚拟用户无法login。 我正在运行Linux Ubuntu Server 10.04 x64,这是我所做的: sudo apt-get install pure-ftpd changed to standalone in /etc/default/pure-ftpd-common /etc/pure-ftpd/conf/PassivePortRange: 5560 5580 /etc/pure-ftpd/conf/UnixAuthentication: yes sudo pure-pw useradd test -u ftpuser -d /users/testuser /etc/init.d/pure-ftpd restart 然后我连接到FTP服务器上的用户testing。 Status: Looking up adress for domain Status: Connecting to xxx.xxx.xxx.xxx:21… Status: Connection established, waiting for welcoming message… Answer: 220———- Welcome to Pure-FTPd [privsep] […]
所以,我们的软件可能会有某种程度的漏洞。 我们正在使用Mono,并在几个星期/几个月的时间内产生许多进程。 最终,我们不能在我们的客户机器上产卵。 通常需要20个小时才能停止。 closures并重新打开我们的应用程序修复它。 当产卵失败时,整个系统运行的总进程less于500个,并且在整个系统上less于1000个文件句柄。 ulimits文件被设置为高ISH水平,我相信过程限制是8K左右。 我们正在运行CentOS 6.2。 如果我们正在泄漏这些PID或句柄,标准的ps和lsof命令只是不显示它们(都不是/ proc),我需要一种方法来挖掘内核或其他东西,看看目前的值是什么限制testing。 一旦我们确认了这个问题,我就可以尝试破译造成这件事情的有趣任务了…但是那又来了一天。 据我们所知,这个应用程序在许多许多其他的Linux机器上工作,没有任何问题(其他客户没有向我们报告这个问题)。 任何想法,我怎么能findulimit设置的指标的价值? 我拼命地希望自己不必编写C程序,但是如果有必要的话,我还没有做过。
我有两个大import,搞砸了。 当我试图找出什么是错的,我删除了邮箱(对不起)。 我发现导入请求仍然存在,当我尝试删除它们时,我得到以下错误。 corp.dcsgroup.com.au/Corp Users/Administration/Test Acct isn't a mailbox user or mail-enabled user. + CategoryInfo : NotSpecified: (0:Int32) [Remove-MailboxImportRequest], ManagementObjectNotFoundException + FullyQualifiedErrorId : 70B4CA0,Microsoft.Exchange.Management.RecipientTasks.RemoveMailboxImportRequest 我有点担心,我已经把事情搞砸了。 任何人有任何想法如何解决这个问题?
我正在尝试使用模拟构build系统来构buildRPM。 但是,模拟环境中的shell似乎无法findruby命令。 我跑到一个构build错误: sh: ruby: command not found 我可以看到ruby安装在模拟环境中,因为它是spec文件的BuildRequires依赖项: DEBUG util.py:257: Getting requirements for thrift-0.8.0-1.el6.src DEBUG util.py:257: –> byacc-1.9.20070509-6.1.el6.x86_64 DEBUG util.py:257: –> boost-devel-1.41.0-11.el6_1.2.x86_64 DEBUG util.py:257: –> dos2unix-3.1-37.el6.x86_64 DEBUG util.py:257: –> flex-2.5.35-8.el6.x86_64 DEBUG util.py:257: –> libevent-devel-1.4.13-1.el6.x86_64 DEBUG util.py:257: –> libtool-2.2.6-15.5.el6.x86_64 DEBUG util.py:257: –> zlib-devel-1.2.3-27.el6.x86_64 DEBUG util.py:257: –> openssl-devel-1.0.0-20.el6_2.3.x86_64 DEBUG util.py:257: –> git-1.7.1-2.el6_0.1.x86_64 DEBUG util.py:257: –> erlang-R14B-04.1.el6.x86_64 […]
我有一个道路战士configurationVPN的问题。 我们的Windows主机工作正常。 我们的苹果机工作不太好。 StrongSwan的错误: ocsp状态是陈旧或不在caching中 找不到crl 证书状态不明 发行人cacert未find X.509证书被拒绝 在strongswan中显然有一个function来禁用撤销模块,我无法find可悲的地方。
我们有一个单服务器Exchange 2010安装程序。 在今天凌晨,服务器有一个蓝色的屏幕,并重新启动。 回来后,POP3 / IMAP4和传输服务抱怨,他们找不到mail.example.com正确的SSL证书。 POP3: Log Name: Application Source: MSExchangePOP3 Date: 2012/04/23 11:45:15 AM Event ID: 2007 Task Category: (1) Level: Error Keywords: Classic User: N/A Computer: exch01.domain.local Description: A certificate for the host name "mail.example.com" couldn't be found. SSL or TLS encryption can't be made to the POP3 service. IMAP4: Log Name: […]
我刚在我的服务器中遇到了很多内存使用情况。 所以,发现php-fpm是吃我的记忆的人。 现在,我怎么知道问题的确切位置? 如何看看哪个php脚本占用太多的内存? (即时通讯运行一个Ubuntu服务器)