Category Archives: How to Fix

FTP prompt in Linux — 553 could not create file (absolutely useful)

Linux FTP tip –553 Could not create file (absolutely useful)

Prompt 553 Could not create file, set the owner and permission of this directory, or report this error, then check carefully on the Internet, the problem is solved as follows:

Command:

Ftp> Put back_log. TXT/home/user001 /

553 Could not create file

ftp> Put back_log. TXT/home/user001/back_log. TXT

This command can be printed out using the echo command.

Error message

 

The current directory is /home

Ftp> ! ls -l



-RWXR-XR-x 1 root root 146 Aug 16 03:30 HOSTS

Rw – r – r – 1 root root 46 Aug 16 02:09 host. TXT

Rw – r – r – 1 root root 51 Aug 15 07:14 logins. TXT



Ftp> put host.txt

Local: host. TXT remote: host. TXT

227 ‘Entering into Passive Mode (127,0,0,1,62,184)

150 Ok to send data.

226 the File receive OK.

46 Bytes Sent in 0.014 seconds (3.2 Kbytes/s)

Ftp> put hosts

Local: hosts remote hosts

227 ‘Entering into Passive Mode (127,0,0,1,174,59)

150 Ok to send data.

226 the File receive OK.

146 Bytes Sent in 0.046 seconds (3.1 Kbytes/s)

Ftp> put /home/hosts

Local:/home/hosts remote:/home/hosts

227 ‘Entering into Passive Mode (127,0,0,1,232,15)

553 Could not create File.

Ftp>

Problem: ftp> Put the/home/hosts and ftp> Put hosts (the current directory is /home

) The parameters to be executed should be the same. Why can’t the former be uploaded?

 

When we come across this kind of problem, we should first analyze the reason

 

Consider whether selinux is a reason to try disabling SELinux

2. Maybe FTP folder does not have write permission, confirm the directory permission

3. Is there write_enable=YES in the configuration file

 

Solutions to error 25090 in office 2003

When you try to install, repair or uninstall Office, you may receive the following
Error message: Error 25090 Office Setup a Problem with the Office Source Engine, System Error: -2147023836 (Error 25090). Office installer has encountered problems related to Office Source Engine, system error: -2147023836)
Reason 1
The Office Source Engine (ose.exe) cannot be started because it has been stopped or disabled.
solution 1
Log in with administrative privileges.
right click “my computer”.
select manage.
click services and applications.
select service.
go to “Office Source Engine” and select enable the service.
Solution 2
 

modify the registry:
click start, click run, type regedit, find HKEY_LOCAL_MACHINE(abbreviated as HKLM), open the plus sign, then open SOFTWARE-> Microsoft-> Office-> 11.0 – & gt; Devilery, see the value of CDCache, change it to 0, OK! There is something wrong with WORD in my computer these days. Say what is missing iJ561401.CAB file. Each time it opens, a box appears.
I searched the Internet, finally found a set of WORD CAB files in one of the good website!
http://test.zlol.com.cn/%E5%BA%94%E7%94%A8%E8%BD%AF%E4%BB%B6/Office2003/OFFICE11/

in general

specific installation method:
1. Make sure you know which file you are missing before downloading. 2. Create a new folder and remember the location of the folder. 3. Find and download the files you need from this website, and put them into the new folder

4. When prompted to install office2003, enter the path to the saved file. Sometimes, for example, after you type in the path of “IJ561401.CAB “, a similar one pops up, telling you that another CAB file is missing, such as “ZA561401”, “YI541401”, “ZU61403”,

, you can do the same thing. You can put another folder in the same folder (at least that’s what I do, haha)

and if that works, WORD will open automatically at the end.

in the experiment, you open WORD again, directly appeared!! In addition, these CAB files on the Internet are all compressed files, I do not know whether I should decompress or not, at least I am decompressed in the same folder, no problem.

in WORD finally no longer out of the wind at the same time I would like to thank these find documents selfless dedication to the vast number of Internet users great people! There is a saying that “the power of Internet users is infinite”. It is precisely because of these selfless people who share their knowledge, power and resources. People can solve their own problems. Thanks again!

take the trouble to uninstall office, and then install again, it must be solved

Go start error: Panic: runtime error: invalid memory address or nil pointer reference

For more details, see blog post:
a pit about Golang variable scope


fix:
remove the colon from DB, err := gorm.open:

the original understanding was that golang would define the new variable err, DB was the global variable originally defined. But the reality is that for a variable defined with :=, if the new variable DB is not in scope with the same name as the defined variable (in this case, the global variable DB), then Golang defines the new variable DB to cover up the global variable DB, which is the real cause of the problem.

Solution to 1030 got error 28 from storage engine in MySQL

Problem Performance:

Solutions:

Mysql 1030 error does not have enough space, so clean up the disk space and restore normal use.

Mysql database had “Got error 28 from Storage Engine” error, so the problem was solved in this way.
1.

XML/HTML code

    disk temporary space is not enough. Solution: empty the/TMP directory, or change the tmpdir parameter in my.cnf to point to the directory with enough space

2,

XML/HTML code

    mysql> ERROR 1030 (HY000): Got ERROR 28 from storage engine
    the reason for this problem: there is not enough temporary space to execute this SQL statement solution: simply point tmpdir to a directory with a large hard disk space

Of course, both statements are the same. So there’s almost certainly no space left. I looked at the other disks and sure enough.

depressed, the backup file was deleted first normal.

svn process exited with error code: 1

Error appears when SVN is used in IDEA to submit the code: SVN Process exited with error code: 1. The following Settings can be used to solve the problem:

 
Check the first one, leave the second one unchecked, clear the cache again, and enter the account number and password again when submitting later.
 
 
If this error occurs:
Can’t use Subversion command line client: svn Probably the path to Subversion executable is wrong
 
Refer to this address at https://blog.csdn.net/fuqiang3270/article/details/68945645
 

Microsoft SQL server, additional database error: error 916 solution

Error Message: Error message: Title: Microsoft SQL Server Management Studio Express — — could not retrieve data for this request. (Microsoft) is essentially) Express. SmoEnum) about help information, please click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server& LinkId=20476 — Other information: An exception occurred while executing a Transact-SQL statement or batch. (Microsoft. Essentially. Express. ConnectionInfo) — — — — — — server subject “Jack – PC/Jack” can’t “model” to access to database under the current security context. (Microsoft SQL Server, an error: 916) for help information, please click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server& ProdVer = 09.00.4035 & amp; EvtSrc=MSSQLServer& EvtID=916& LinkId=20476 — button: OK –.
A quick web search revealed the solution: It’s actually quite simple: just run Management Sdudio with administrator privileges.

On error goto (resume)

Iamlaosong article
Error capture is often used to prevent unexpected program interruptions. There are three types of capture:
On Error GoTo 0
means to disable any Error handlers that have been started in the current process. The test results show that -1 actually works, which has the same effect as 0. After executing this statement, if the error is encountered again, the system will interrupt the program execution and pop up an error prompt.

On Error Resume Next
indicates that when a runtime Error occurs, the control goes to the statement that follows the Error and continues to run here. That is, no error prompt, continue to run. Use this form when accessing objects instead of using On Error GoTo.

On Error GoTo line
starts the Error handler, and the routine starts with the line specified in the necessary line parameter. The line parameter can be any line label or line number. If a runtime error occurs, the control jumps to line, activating the error handler. Using this kind of statement is to write your own error handlers, especially for predictable errors. The specified line must be in a procedure, the same as the On Error statement; Otherwise, a compile time error will occur. After you go to line, you can do error handling. In addition to the Exit Sub, the error handler can finally execute:

Resume: Execute at the wrong place. Try again. Resume Next: Similar to On Error Resume Next, ignore the current Error statement and execute the Next statement Resume < Label & gt; Go to the label and deal with it.

Err.Clear is used to Clear the Err object after handling errors; for example, Clear is used when using delay Error handling for On Error Resume Next. The Clear method is automatically called whenever the following statement is executed:
Resume statement of any type Exit Sub, Exit Function, Exit Property any On Error statement.

You can see the effect of the error capture statement with the following routine (assuming no more than 4 worksheets) :

Sub tt()
    For i = 0 To 5
       On Error GoTo err1
       a = 5
       b = a/i
       MsgBox b
       On Error GoTo err2
       c = i
       Sheets(c).Select
    Next i
    Exit Sub
err1:
    MsgBox err.Number & err.Description
    err.Clear
    MsgBox err.Number & err.Description
    Resume Next
err2:
    MsgBox err.Number & err.Description
    c = 1
    Resume
End Sub

Sub tt()
    For i = 0 To 5
       On Error GoTo err1
       a = 5
       b = a/i
       MsgBox b
       On Error GoTo err2
       c = i
       Sheets(c).Select
    Next i
    On Error GoTo 0
    Sheets(i).Select
    Exit Sub
err1:
    MsgBox err.Number & err.Description
    err.Clear
    MsgBox err.Number & err.Description
    Resume Next
err2:
    MsgBox err.Number & err.Description
    c = 1
    Resume
End Sub

Excel pivot table data source not valid

The perspective is needed because the work requires it, and it turns out that no matter how you create it, it always says “data source invalid”
Checked Baidu experience, after saying is two reasons: 1. Title bar has space 2. Title bar may be merged cells
But it is of no damn use
In the deletion of no sequence is still invalid after finally found the reason, the original is the reason for the file name, the file name can not have [], tragedy, thank you here this netizen, in order to forget, or write an article to commemorate it
The original link:
https://zhidao.baidu.com/question/367555675.html
 

Solve gitbook rangeerror: maximum call stack size exceeded

Problem description
Gitbook serve preview: error RangeError: Maximum call stack size exceeded

The solution
https://github.com/GitbookIO/plugin-lunr/blob/master/README.md#limitations

lunr
This plugin provides a backend for the search plugin.
This plugin is a default plugin.
Disable this plugin
This is a default plugin and it can be disabled using a book.json configuration:

{
    "plugins": ["-lunr"]
}

Limitations
Lunr can’t index a huge book, by default the index size is limited at ~100ko.
You can change this limit by settings the configuration maxIndexSize:

{
    "pluginsConfig": {
        "lunr": {
            "maxIndexSize": 200000
        }
    }
}

Json is created in the root directory of the GitBook project, and the lunr plug-in is disabled

$ vim book.json

$ ls
_book/     Chapter10/  Chapter3/  Chapter6/  Chapter9/
book.json  Chapter11/  Chapter4/  Chapter7/  README.md
Chapter1/  Chapter2/   Chapter5/  Chapter8/  SUMMARY.md

$ cat book.json
{
    "plugins": ["-lunr"]
}

Preview again to see if there are any errors

At this point, there is no problem with using gitbook serve, but using gitbook build --gitbook=2.6.7 still gives an error.
Use gitbook Build –gitbook=2.6.7 Still gives an error

When using gitbook build only, the error will not be reported, while when making gitbook version, the error will be reported, indicating that lunr plug-in is not disabled when making the version.
Therefore, this approach does not solve this reduced version of gitbook build case.

Compilation error: * * [all local] error 2

Nrpe compiles error

Using Makefile.PL
Can't locate ExtUtils/MakeMaker.pm in @INC (@INC contains: /tools/anloqnagios/nagios-plugins-release-2.2.1/perlmods/Test-Simple-0.98/blib/lib /tools/anloqnagios/nagios-plugins-release-2.2.1/perlmods/Test-Simple-0.98/blib/arch /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at Makefile.PL line 6.
BEGIN failed--compilation aborted at Makefile.PL line 6.
make[3]: Entering directory `/tools/anloqnagios/nagios-plugins-release-2.2.1/perlmods/Test-Simple-0.98'
make[3]: *** No targets specified and no makefile found.  Stop.
make[3]: Leaving directory `/tools/anloqnagios/nagios-plugins-release-2.2.1/perlmods/Test-Simple-0.98'
Can't run make. Please
        rm -rf /tools/anloqnagios/nagios-plugins-release-2.2.1/perlmods/Test-Simple-0.98
to remake from this point) at ../tools/build_perl_modules line 235.
make[2]: *** [all-local] Error 2
make[2]: Leaving directory `/tools/anloqnagios/nagios-plugins-release-2.2.1/perlmods'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tools/anloqnagios/nagios-plugins-release-2.2.1'
make: *** [all] Error 2

This is the lack of Perl modules resulting in the installation

yum -y install perl-ExtUtils-MakeMaker

And then make&amp again; & make install