当nginx启动时,它会创建0大小的日志文件"access.log".但是没有写入日志.error.log工作正常.
nginx.conf:
http {
access_log /usr/local/webserver/nginx/logs/access.log combined;
....
}
Run Code Online (Sandbox Code Playgroud)
日志文件是:
-rw-r--r-- 1 root root 0 Mar 4 00:54 access.log
-rw-r--r-- 1 root root 3903 Mar 4 00:54 error.log
Run Code Online (Sandbox Code Playgroud)
我完全糊涂了.@ _ @
这是一个许可问题吗?
但是,在nginx.conf的后面部分,在server {}部分,access_log有效!为什么http {}部分不起作用?
我的代码:
SELECT * INTO #t FROM CTABLE WHERE CID = @cid --get data, put into a temp table
ALTER TABLE #t
DROP COLUMN CID -- remove primary key column CID
INSERT INTO CTABLE SELECT * FROM #t -- insert record to table
DROP TABLE #t -- drop temp table
Run Code Online (Sandbox Code Playgroud)
错误是:
Msg 8101,
An explicit value for the identity column in table 'CTABLE' can only
be specified when a column list is used and IDENTITY_INSERT is ON.
Run Code Online (Sandbox Code Playgroud)
我确实做了
SET IDENTITY_INSERT CTABLE …Run Code Online (Sandbox Code Playgroud) 此错误" 不是可识别的存档类型 "在一台Windows XP计算机上发生,但从未在另一台计算机上发生.太奇怪了!
我的python是2.5,我在Windows中错过了什么?
amazon-ec2 ×1
easy-install ×1
gzip ×1
linux ×1
logfile ×1
nginx ×1
python ×1
sql ×1
sql-server ×1
windows-xp ×1