命令:scp  -P1234  /data/aa   root@192.0.0..0:/data 文件结构:/data/aa/yearmonth=2015-09 报错:not a regular file 报错原因:这是一个文件夹,而不是文件,因此要加参数-r 正确命令:scp -r -P1234  /data/aa   root@192.0.0..0:/data…
sqlplus以管理员方式接入数据库,启动时出现报错,如下: > sqlplus "/as sysdba" SQL> startup ...... ORA-01157: cannot identify/lock data file 8 - see DBWR trace file ORA-01110: data file 8: '/tmp/test.dbf' 查看数据库日志文件alert_$ORACLE_SID.log,存在对应报错信息: Errors in file ...…
场景:在写两台ubuntu之间需要交互式登录操作shell脚本.就是在ubantu A上,做点什么事,然后远程到ubuntu B上进行操作,shell脚本存放在ubuntu A上. 我遇到这个报错:not a regular file,我在ubantu A上查了老半天,没有问题,是ubantu B上出了问题记录下. 报错如下:not a regular file   解决方法: 1.在ubuntu B上创建的目录,赋予777权限,不用-r参数,否则会报权限错误. chmod 777 /local…
直接上报错代码: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> </head> <body> <a href="javascript:void" onclick="test()">点我</a&g…
webpack 打包压缩 ES6文件报错UglifyJs + Unexpected token punc (();  或者 Unexpected token: operator (>) 解决方案就是将babel配置转义到 .babelrc 文件中.具体做法是在根目录新建 .babel,输入 { "presets": ["es2015"] } 在webpack加载babel-loader的时候会自动加载.babelrc配置的.…
在解压.a文件的时候,报错:s a fat file (use libtool(1) or lipo(1) and ar(1) on it),原因是该.a文件包含了多个cpu架构,比如armv7,armv7s等. 解决方法:首先使用如下命令解压出需要的架构(其中somelib.a代表需要解压的.a文件) lipo somelib.a -thin armv7 -output somelib_armv7.a lipo somelib.a -thin armv7s -output somelib_ar…
今晚要写搜索引擎作业,搭scrapy环境,遇到了下面问题: windows下安装pywin32报错:close failed in file object destructor:sys.excepthook is missing lost sys.stderr 解决方法: 1.右键管理员身份运行cmd命令提示符: 2. 切换到C:\Python27\Scripts文件夹下,命令为:cd C:\Python27\Scripts 3. 运行python pywin32_postinstall.py…
<?php /* 最近做一个ajax validate表单验证提交的代码,在ajax提交的时候 JS请求报错:Unexpected token T in JSON at position 0 描述: 这是一个请求,参数的地方报这要的错,请问是为什么? 百思不得其解啊 解决方案1: 去看下json的格式要求,JSON.parse()方法对json串要求很严格 解决方案2: http://www.bejson.com/ 用这个网址测试试试json格式是不是有误,换行,单引号什么的会导致报错,格式要求…
python3+selenium使用浏览器IE的时候,老是报错: Unexpected error launching Internet Explorer. Protected Mode settings are not the same for all zones 这个错误,更改IE的internet选项->安全,将Internet/本地Internet/受信任的站定/受限制的站点中的启用"保护模式"全部去掉勾,或者全部勾上,即可.…
Sqoop 抽数报错: java.io.FileNotFoundException: File does not exist 一.错误详情 2019-10-17 20:04:49,080 INFO [IPC Server handler 20 on 45158] org.apache.hadoop.mapred.TaskAttemptListenerImpl: Diagnostics report from attempt_1567429685851_474405_m_000001_0: Err…